GNUnet  0.19.3
GNUNET_MY_QueryParam Struct Reference

Information we pass to GNUNET_MY_exec_prepared() to initialize the arguments of the prepared statement. More...

#include <gnunet_my_lib.h>

Collaboration diagram for GNUNET_MY_QueryParam:
[legend]

Data Fields

GNUNET_MY_QueryConverter conv
 Function to call for the type conversion. More...
 
GNUNET_MY_QueryCleanup cleaner
 Function to call for cleaning up the query. More...
 
void * conv_cls
 Closure for conv. More...
 
unsigned int num_params
 Number of arguments the conv converter expects to initialize. More...
 
const void * data
 Information to pass to conv. More...
 
unsigned long data_len
 Information to pass to conv. More...
 

Detailed Description

Information we pass to GNUNET_MY_exec_prepared() to initialize the arguments of the prepared statement.

Definition at line 92 of file gnunet_my_lib.h.

Field Documentation

◆ conv

GNUNET_MY_QueryConverter GNUNET_MY_QueryParam::conv

Function to call for the type conversion.

Definition at line 97 of file gnunet_my_lib.h.

Referenced by GNUNET_MY_cleanup_query(), and GNUNET_MY_exec_prepared().

◆ cleaner

GNUNET_MY_QueryCleanup GNUNET_MY_QueryParam::cleaner

Function to call for cleaning up the query.

Can be NULL.

Definition at line 102 of file gnunet_my_lib.h.

Referenced by GNUNET_MY_cleanup_query().

◆ conv_cls

void* GNUNET_MY_QueryParam::conv_cls

Closure for conv.

Definition at line 107 of file gnunet_my_lib.h.

Referenced by GNUNET_MY_cleanup_query().

◆ num_params

unsigned int GNUNET_MY_QueryParam::num_params

Number of arguments the conv converter expects to initialize.

Definition at line 112 of file gnunet_my_lib.h.

Referenced by GNUNET_MY_exec_prepared(), my_conv_fixed_size(), my_conv_rsa_public_key(), my_conv_rsa_signature(), my_conv_string(), my_conv_uint16(), my_conv_uint32(), and my_conv_uint64().

◆ data

◆ data_len

unsigned long GNUNET_MY_QueryParam::data_len

Information to pass to conv.

Size of data.

Definition at line 122 of file gnunet_my_lib.h.

Referenced by my_conv_fixed_size(), and my_conv_string().


The documentation for this struct was generated from the following file: