GNUnet 0.22.2
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 55 of file gnunet_sq_lib.h.

Field Documentation

◆ conv

◆ conv_cls

void* GNUNET_SQ_QueryParam::conv_cls

Closure for conv.

Definition at line 65 of file gnunet_sq_lib.h.

◆ data

const void* GNUNET_SQ_QueryParam::data

◆ size

size_t GNUNET_SQ_QueryParam::size

Size of data.

Definition at line 75 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 80 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: