Description of a DB query parameter. More...
#include <gnunet_pq_lib.h>
Data Fields | |
GNUNET_PQ_QueryConverter | conv |
Function for how to handle this type of entry. More... | |
void * | conv_cls |
Closure for conv. More... | |
GNUNET_PQ_QueryConverter_Cleanup | conv_cls_cleanup |
Function to cleanup the closure conv_cls, may be NULL. More... | |
const void * | data |
Data or NULL. More... | |
size_t | size |
Size of data. More... | |
unsigned int | num_params |
Number of parameters eaten by this operation. More... | |
Description of a DB query parameter.
Definition at line 82 of file gnunet_pq_lib.h.
GNUNET_PQ_QueryConverter GNUNET_PQ_QueryParam::conv |
Function for how to handle this type of entry.
Definition at line 87 of file gnunet_pq_lib.h.
Referenced by GNUNET_PQ_exec_prepared().
void* GNUNET_PQ_QueryParam::conv_cls |
Closure for conv.
The function @conv_cls_cleanup can be set to cleanup the closure. The cleanup of the closure MUST be triggered manually by a call to GNUNET_PQ_query_params_cleanup.
Definition at line 95 of file gnunet_pq_lib.h.
Referenced by GNUNET_PQ_cleanup_query_params_closures(), and GNUNET_PQ_exec_prepared().
GNUNET_PQ_QueryConverter_Cleanup GNUNET_PQ_QueryParam::conv_cls_cleanup |
Function to cleanup the closure conv_cls, may be NULL.
The cleanup of the closure MUST be triggered manually by a call to GNUNET_PQ_query_params_cleanup.
Definition at line 102 of file gnunet_pq_lib.h.
Referenced by GNUNET_PQ_cleanup_query_params_closures().
const void* GNUNET_PQ_QueryParam::data |
Data or NULL.
Definition at line 107 of file gnunet_pq_lib.h.
Referenced by GNUNET_PQ_exec_prepared(), typescriptdomain.TypeScriptDomain::objects(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), and httpdomain.httpdomain.HTTPDomain::routes().
size_t GNUNET_PQ_QueryParam::size |
Size of data.
Definition at line 112 of file gnunet_pq_lib.h.
Referenced by GNUNET_PQ_exec_prepared(), GNUNET_PQ_query_param_fixed_size(), and query_param_array_generic().
unsigned int GNUNET_PQ_QueryParam::num_params |
Number of parameters eaten by this operation.
Definition at line 117 of file gnunet_pq_lib.h.
Referenced by GNUNET_PQ_cleanup_query_params_closures(), and GNUNET_PQ_exec_prepared().