GNUnet  0.11.x
Data Fields
GNUNET_SQ_QueryParam Struct Reference

Description of a DB query parameter. More...

#include <gnunet_sq_lib.h>

Data Fields

GNUNET_SQ_QueryConverter conv
 Function for how to handle this type of entry. More...
 
void * conv_cls
 Closure for conv. 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...
 

Detailed Description

Description of a DB query parameter.

Definition at line 54 of file gnunet_sq_lib.h.

Field Documentation

◆ conv

GNUNET_SQ_QueryConverter GNUNET_SQ_QueryParam::conv

◆ conv_cls

void* GNUNET_SQ_QueryParam::conv_cls

Closure for conv.

Definition at line 64 of file gnunet_sq_lib.h.

◆ data

const void* GNUNET_SQ_QueryParam::data

Data or NULL.

Definition at line 69 of file gnunet_sq_lib.h.

◆ size

size_t GNUNET_SQ_QueryParam::size

Size of data.

Definition at line 74 of file gnunet_sq_lib.h.

Referenced by GNUNET_SQ_query_param_fixed_size().

◆ num_params

unsigned int GNUNET_SQ_QueryParam::num_params

Number of parameters eaten by this operation.

Definition at line 79 of file gnunet_sq_lib.h.

Referenced by GNUNET_SQ_bind(), GNUNET_SQ_query_param_string(), GNUNET_SQ_query_param_uint16(), GNUNET_SQ_query_param_uint32(), and GNUNET_SQ_query_param_uint64().


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