GNUnet 0.21.1
qconv_array_cls Struct Reference

Closure for the array type handlers. More...

Data Fields

const size_t * sizes
 If not null, contains the array of sizes (the size of the array is the .size field in the ambient GNUNET_PQ_QueryParam struct). More...
 
size_t same_size
 If size and c_sizes are NULL, this field defines the same size for each element in the array. More...
 
bool continuous
 If true, the array parameter to the data pointer to the qconv_array is a continuous byte array of data, either with same_size each or sizes provided bytes by sizes;. More...
 
enum array_types typ
 Type of the array elements. More...
 
Oid oid
 Oid of the array elements. More...
 

Detailed Description

Closure for the array type handlers.

May contain sizes information for the data, given (and handled) by the caller.

Definition at line 641 of file pq_query_helper.c.

Field Documentation

◆ sizes

const size_t* qconv_array_cls::sizes

If not null, contains the array of sizes (the size of the array is the .size field in the ambient GNUNET_PQ_QueryParam struct).

We do not free this memory.

If not null, this value has precedence over sizes, which MUST be NULL

Definition at line 649 of file pq_query_helper.c.

Referenced by qconv_array(), and query_param_array_generic().

◆ same_size

size_t qconv_array_cls::same_size

If size and c_sizes are NULL, this field defines the same size for each element in the array.

Definition at line 655 of file pq_query_helper.c.

Referenced by query_param_array_generic().

◆ continuous

bool qconv_array_cls::continuous

If true, the array parameter to the data pointer to the qconv_array is a continuous byte array of data, either with same_size each or sizes provided bytes by sizes;.

Definition at line 662 of file pq_query_helper.c.

Referenced by query_param_array_generic().

◆ typ

enum array_types qconv_array_cls::typ

Type of the array elements.

Definition at line 667 of file pq_query_helper.c.

Referenced by query_param_array_generic().

◆ oid

Oid qconv_array_cls::oid

Oid of the array elements.

Definition at line 672 of file pq_query_helper.c.


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