GNUnet  0.11.x
Data Fields
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 84 of file gnunet_my_lib.h.

Field Documentation

◆ conv

GNUNET_MY_QueryConverter GNUNET_MY_QueryParam::conv

◆ cleaner

GNUNET_MY_QueryCleanup GNUNET_MY_QueryParam::cleaner

Function to call for cleaning up the query.

Can be NULL.

Definition at line 94 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 99 of file gnunet_my_lib.h.

Referenced by GNUNET_MY_cleanup_query(), and GNUNET_MY_exec_prepared().

◆ num_params

unsigned int GNUNET_MY_QueryParam::num_params

Number of arguments the conv converter expects to initialize.

Definition at line 104 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

const void* GNUNET_MY_QueryParam::data

◆ data_len

unsigned long GNUNET_MY_QueryParam::data_len

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