GNUnet 0.22.2
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 640 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 648 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 654 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 661 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 666 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 671 of file pq_query_helper.c.


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