Functions | |
| int | evsql_param_binary (struct evsql_query_params *params, size_t param, const char *ptr, size_t len) |
| Sets the value of the parameter at the given index. | |
| int | evsql_param_string (struct evsql_query_params *params, size_t param, const char *ptr) |
| int | evsql_param_uint16 (struct evsql_query_params *params, size_t param, uint16_t uval) |
| int | evsql_param_uint32 (struct evsql_query_params *params, size_t param, uint32_t uval) |
| int | evsql_param_null (struct evsql_query_params *params, size_t param) |
| Sets the given parameter to NULL. | |
| int | evsql_params_clear (struct evsql_query_params *params) |
| Clears all the parameter values (sets them to NULL). | |
These manipulate the value of the given parameter index.
| int evsql_param_binary | ( | struct evsql_query_params * | params, | |
| size_t | param, | |||
| const char * | ptr, | |||
| size_t | len | |||
| ) |
Sets the value of the parameter at the given index.
| params | the evsql_query_params struct | |
| param | the parameter index | |
| ptr | pointer to the binary data | |
| len | size of the binary data in bytes |
| int evsql_param_null | ( | struct evsql_query_params * | params, | |
| size_t | param | |||
| ) |
Sets the given parameter to NULL.
| params | the evsql_query_params struct | |
| param | the parameter index |
| int evsql_param_string | ( | struct evsql_query_params * | params, | |
| size_t | param, | |||
| const char * | ptr | |||
| ) |
| int evsql_param_uint16 | ( | struct evsql_query_params * | params, | |
| size_t | param, | |||
| uint16_t | uval | |||
| ) |
| int evsql_param_uint32 | ( | struct evsql_query_params * | params, | |
| size_t | param, | |||
| uint32_t | uval | |||
| ) |
| int evsql_params_clear | ( | struct evsql_query_params * | params | ) |
Clears all the parameter values (sets them to NULL).
| params | the evsql_query_params struct |
1.5.6