53 unsigned int param_length,
55 unsigned int scratch_length)
58 (void) scratch_length;
62 if (1 != param_length)
64 param_values[0] = NULL;
101 void *param_values[],
104 unsigned int param_length,
106 unsigned int scratch_length)
109 (void) scratch_length;
111 if (1 != param_length)
113 param_values[0] = (
void *)
data;
114 param_lengths[0] = data_len;
115 param_formats[0] = 1;
147 static uint8_t bt = 1;
148 static uint8_t bf = 0;
173 void *param_values[],
176 unsigned int param_length,
178 unsigned int scratch_length)
180 const uint16_t *u_hbo =
data;
184 (void) scratch_length;
186 if (1 != param_length)
190 *u_nbo = htons (*u_hbo);
191 param_values[0] = (
void *) u_nbo;
192 param_lengths[0] =
sizeof(uint16_t);
193 param_formats[0] = 1;
230 void *param_values[],
233 unsigned int param_length,
235 unsigned int scratch_length)
237 const uint32_t *u_hbo =
data;
241 (void) scratch_length;
243 if (1 != param_length)
247 *u_nbo = htonl (*u_hbo);
248 param_values[0] = (
void *) u_nbo;
249 param_lengths[0] =
sizeof(uint32_t);
250 param_formats[0] = 1;
287 void *param_values[],
290 unsigned int param_length,
292 unsigned int scratch_length)
294 const uint64_t *u_hbo =
data;
298 (void) scratch_length;
300 if (1 != param_length)
305 param_values[0] = (
void *) u_nbo;
306 param_lengths[0] =
sizeof(uint64_t);
307 param_formats[0] = 1;
344 void *param_values[],
347 unsigned int param_length,
349 unsigned int scratch_length)
351 const int16_t *u_hbo =
data;
355 (void) scratch_length;
357 if (1 != param_length)
362 param_values[0] = (
void *) u_nbo;
363 param_lengths[0] =
sizeof(int16_t);
364 param_formats[0] = 1;
401 void *param_values[],
404 unsigned int param_length,
406 unsigned int scratch_length)
408 const int64_t *u_hbo =
data;
412 (void) scratch_length;
414 if (1 != param_length)
419 param_values[0] = (
void *) u_nbo;
420 param_lengths[0] =
sizeof(int64_t);
421 param_formats[0] = 1;
458 void *param_values[],
461 unsigned int param_length,
463 unsigned int scratch_length)
470 if (1 != param_length)
475 param_values[0] = (
void *) buf;
476 param_lengths[0] = buf_size;
477 param_formats[0] = 1;
514 void *param_values[],
517 unsigned int param_length,
519 unsigned int scratch_length)
526 if (1 != param_length)
531 param_values[0] = (
void *) buf;
532 param_lengths[0] = buf_size;
533 param_formats[0] = 1;
569 void *param_values[],
572 unsigned int param_length,
574 unsigned int scratch_length)
581 if (1 != param_length)
589 param_values[0] = (
void *) u_nbo;
590 param_lengths[0] =
sizeof(uint64_t);
591 param_formats[0] = 1;
628 void *param_values[],
631 unsigned int param_length,
633 unsigned int scratch_length)
640 if (1 != param_length)
648 param_values[0] = (
void *) u_nbo;
649 param_lengths[0] =
sizeof(uint64_t);
650 param_formats[0] = 1;
766 void *param_values[],
769 unsigned int param_length,
771 unsigned int scratch_length)
774 size_t num = data_len;
778 size_t *string_lengths = NULL;
779 void *elements = NULL;
784 (void) (param_length);
785 (void) (scratch_length);
791 same_sized = (0 !=
meta->same_size);
792 memset (is_null, 0,
sizeof (is_null));
794#define RETURN_UNLESS(cond) \
798 GNUNET_break ((cond)); \
807 size_t x =
sizeof(uint32_t);
820 if (
meta->continuous)
822 x = num *
meta->same_size;
833 for (
unsigned int i = 0; i < num; i++)
835 const void **ptr = (
const void **)
data;
839 total_size +=
meta->same_size;
857 if (
meta->continuous)
859 const char *ptr =
data;
861 for (
unsigned int i = 0; i < num; i++)
863 size_t len = strlen (ptr);
866 string_lengths[i] = len;
872 const char **
str = (
const char **)
data;
874 for (
unsigned int i = 0; i < num; i++)
878 size_t len = strlen (
str[i]);
881 string_lengths[i] = len;
886 string_lengths[i] = 0;
891 sizes = string_lengths;
896 for (
unsigned int i = 0; i < num; i++)
898 const char **ptr = (
const char **)
data;
913 for (
unsigned int i = 0; i < num; i++)
916 total_size += sizes[i];
928 char *in = (
char *)
data;
929 char *out = elements;
935 .oid = htonl (
meta->oid),
945 for (
unsigned int i = 0; i < num; i++)
947 size_t sz = same_sized ?
meta->same_size : sizes[i];
948 uint32_t hsz = is_null[i] ? htonl (-1) : htonl (sz);
953 out +=
sizeof(uint32_t);
960 *(
bool *) out = (*(
bool *) in);
967 *(uint16_t *) out = htons (*(uint16_t *) in);
976 v = htonl (*(uint32_t *) in);
1001 if (
meta->continuous)
1006 in += sz + nullbyte;
1010 ptr = ((
const char **)
data)[i];
1034 if (!
meta->continuous)
1048 if (!
meta->continuous)
1062 if (!
meta->continuous)
1075 val = val > INT64_MAX ? INT64_MAX : val;
1081 if (
meta->continuous)
1095 param_values[0] = elements;
1096 param_lengths[0] = total_size;
1097 param_formats[0] = 1;
1098 scratch[0] = elements;
1126 const void *elements,
1127 const size_t *sizes,
1158 const bool *elements,
1180 const uint16_t *elements,
1202 const uint32_t *elements,
1224 const uint64_t *elements,
1246 const void *elements,
1247 const size_t *sizes,
1269 const void *elements[
static num],
1270 const size_t *sizes,
1292 const void *elements,
1315 const void *elements[
static num],
1338 const char *elements,
1360 const char *elements[
static num],
1529 void *param_values[],
1530 int param_lengths[],
1531 int param_formats[],
1532 unsigned int param_length,
1534 unsigned int scratch_length)
1548 be = htonl ((uint32_t) public_key->
cipher);
1549 switch (public_key->
cipher)
1562 len = tlen +
sizeof (be);
1567 switch (public_key->
cipher)
1585 param_values[0] = (
void *) buf;
1586 param_lengths[0] = len;
1587 param_formats[0] = 1;
1629 void *param_values[],
1630 int param_lengths[],
1631 int param_formats[],
1632 unsigned int param_length,
1634 unsigned int scratch_length)
1648 be = htonl ((uint32_t) private_key->
cipher);
1649 switch (private_key->
cipher)
1662 len = tlen +
sizeof (be);
1667 switch (private_key->
cipher)
1685 param_values[0] = (
void *) buf;
1686 param_lengths[0] = len;
1687 param_formats[0] = 1;
1729 void *param_values[],
1730 int param_lengths[],
1731 int param_formats[],
1732 unsigned int param_length,
1734 unsigned int scratch_length)
1748 be[0] = htonl ((uint32_t) ubs->
cipher);
1749 be[1] = htonl (0x00);
1763 len = tlen +
sizeof (be);
1786 param_values[0] = (
void *) buf;
1787 param_lengths[0] = len;
1788 param_formats[0] = 1;
1830 void *param_values[],
1831 int param_lengths[],
1832 int param_formats[],
1833 unsigned int param_length,
1835 unsigned int scratch_length)
1849 be[0] = htonl ((uint32_t) bs->
cipher);
1850 be[1] = htonl (0x01);
1864 len = tlen +
sizeof (be);
1887 param_values[0] = (
void *) buf;
1888 param_lengths[0] = len;
1889 param_formats[0] = 1;
static mp_limb_t u[(((256)+GMP_NUMB_BITS - 1)/GMP_NUMB_BITS)]
static struct GNUNET_ARM_Handle * h
Connection with ARM.
static char * data
The data to insert into the dht.
static char * res
Currently read line or NULL on EOF.
static struct GNUNET_FS_MetaData * meta
Meta-data provided via command-line option.
static struct GNUNET_CRYPTO_EddsaPublicKey pub
static struct GNUNET_FS_DirectoryBuilder * db
commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
helper functions for Postgres DB interactions
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_fixed_size(const void *ptr, size_t ptr_size)
Generate query parameter for a buffer ptr of ptr_size bytes.
#define GNUNET_PQ_query_param_auto_from_type(x)
Generate fixed-size query parameter with size determined by variable type.
enum GNUNET_GenericReturnValue GNUNET_PQ_get_oid_by_name(struct GNUNET_PQ_Context *db, const char *name, Oid *oid)
Returns the oid for a given datatype by name.
Functions related to time.
size_t GNUNET_CRYPTO_rsa_public_key_encode(const struct GNUNET_CRYPTO_RsaPublicKey *key, void **buffer)
Encode the public key in a format suitable for storing it into a file.
uint64_t GNUNET_htonll(uint64_t n)
Convert unsigned 64-bit integer to network byte order.
size_t GNUNET_CRYPTO_rsa_signature_encode(const struct GNUNET_CRYPTO_RsaSignature *sig, void **buffer)
Encode the given signature in a format suitable for storing it into a file.
#define GNUNET_htobe16(x)
#define GNUNET_memcpy(dst, src, n)
Call memcpy() but check for n being 0 first.
size_t GNUNET_CRYPTO_rsa_private_key_encode(const struct GNUNET_CRYPTO_RsaPrivateKey *key, void **buffer)
Encode the private key in a format suitable for storing it into a file.
@ GNUNET_CRYPTO_BSA_CS
Clause Blind Schnorr signature.
@ GNUNET_CRYPTO_BSA_RSA
RSA blind signature.
#define GNUNET_assert(cond)
Use this for fatal errors that cannot be handled.
#define GNUNET_break(cond)
Use this for internal assertion violations that are not fatal (can be handled) but should not occur.
#define GNUNET_MAX_MALLOC_CHECKED
Maximum allocation with GNUNET_malloc macro.
#define GNUNET_new(type)
Allocate a struct or union of the given type.
#define GNUNET_malloc(size)
Wrapper around malloc.
#define GNUNET_new_array(n, type)
Allocate a size n array with structs or unions of the given type.
#define GNUNET_free(ptr)
Wrapper around free.
shared internal data structures of libgnunetpq
array_types
Internal types that are supported as array types.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_fixed_size(const void *ptr, size_t ptr_size)
Generate query parameter for a buffer ptr of ptr_size bytes.
static int qconv_fixed(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_ptrs_rel_time(unsigned int num, const struct GNUNET_TIME_Relative *elements[], struct GNUNET_PQ_Context *db)
Generate query parameter for an array of relative time stamps (pointers)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_uint64(const uint64_t *x)
Generate query parameter for an uint64_t in host byte order.
static int qconv_rel_time(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_abs_time(unsigned int num, const struct GNUNET_TIME_Absolute *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of absolute time stamps (continuous)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_null(void)
Generate query parameter to create a NULL value.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_ptrs_timestamp(unsigned int num, const struct GNUNET_TIME_Timestamp *elements[], struct GNUNET_PQ_Context *db)
Generate query parameter for an array of time stamps (pointers)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_blind_sign_pub(const struct GNUNET_CRYPTO_BlindSignPublicKey *pub)
Generate query parameter for a blind sign public key of variable size.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_ptrs_abs_time(unsigned int num, const struct GNUNET_TIME_Absolute *elements[], struct GNUNET_PQ_Context *db)
Generate query parameter for an array of absolute time stamps (pointers)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_uint32(unsigned int num, const uint32_t *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of uint32_t in host byte order.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_unblinded_sig(const struct GNUNET_CRYPTO_UnblindedSignature *sig)
Generate query parameter for an unblinded signature of variable size.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_ptrs_bytes(unsigned int num, const void *elements[static num], const size_t *sizes, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of buffers elements, with sizes sizes.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_absolute_time(const struct GNUNET_TIME_Absolute *x)
Generate query parameter for an absolute time value.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_relative_time(const struct GNUNET_TIME_Relative *x)
Generate query parameter for a relative time value.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_uint64(unsigned int num, const uint64_t *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of uint64 in host byte order.
#define RETURN_UNLESS(cond)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_int64(const int64_t *x)
Generate query parameter for an int64_t in host byte order.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_uint16(const uint16_t *x)
Generate query parameter for an uint16_t in host byte order.
static int qconv_unblinded_sig(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_rsa_public_key(const struct GNUNET_CRYPTO_RsaPublicKey *x)
Generate query parameter for an RSA public key.
static int qconv_blinded_sig(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static int qconv_null(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static int qconv_blind_sign_pub(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_bool(unsigned int num, const bool *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of bool in host byte order.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_absolute_time_nbo(const struct GNUNET_TIME_AbsoluteNBO *x)
Generate query parameter for an absolute time value.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_ptrs_string(unsigned int num, const char *elements[static num], struct GNUNET_PQ_Context *db)
Generate query parameter for an array of strings (pointers)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_bytes(unsigned int num, const void *elements, const size_t *sizes, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of buffers elements, each of corresponding size given in sizes.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_bool(bool b)
Pass a boolean into a query.
static void qconv_array_cls_cleanup(void *cls)
Callback to cleanup a qconv_array_cls to be used during GNUNET_PQ_cleanup_query_params_closures.
static int qconv_uint64(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static int qconv_blind_sign_priv(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static int qconv_uint32(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static int qconv_int16(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static int qconv_array(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters for arrays.
static int qconv_abs_time(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_blind_sign_priv(const struct GNUNET_CRYPTO_BlindSignPrivateKey *priv)
Generate query parameter for a blind sign private key of variable size.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_blinded_sig(const struct GNUNET_CRYPTO_BlindedSignature *b_sig)
Generate query parameter for a blinded signature of variable size.
static int qconv_rsa_signature(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_timestamp(unsigned int num, const struct GNUNET_TIME_Timestamp *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of time stamps (continuous)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_rel_time(unsigned int num, const struct GNUNET_TIME_Relative *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of relative time stamps (continuous)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_uint16(unsigned int num, const uint16_t *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of uint16_t in host byte order.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_uint32(const uint32_t *x)
Generate query parameter for an uint32_t in host byte order.
static int qconv_uint16(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_timestamp(const struct GNUNET_TIME_Timestamp *x)
Generate query parameter for a timestamp.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_int16(const int16_t *x)
Generate query parameter for an int16_t in host byte order.
static int qconv_rsa_public_key(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_timestamp_nbo(const struct GNUNET_TIME_TimestampNBO *x)
Generate query parameter for a timestamp in NBO.
static int qconv_int64(void *cls, const void *data, size_t data_len, void *param_values[], int param_lengths[], int param_formats[], unsigned int param_length, void *scratch[], unsigned int scratch_length)
Function called to convert input argument into SQL parameters.
static struct GNUNET_PQ_QueryParam query_param_array_generic(unsigned int num, bool continuous, const void *elements, const size_t *sizes, size_t same_size, enum array_types typ, Oid oid)
Function to generate a typ specific query parameter and corresponding closure.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_ptrs_bytes_same_size(unsigned int num, const void *elements[static num], size_t same_size, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of pointers to buffers elements, each of the same size size.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_string(unsigned int num, const char *elements, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of strings (continuous)
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_string(const char *ptr)
Generate query parameter for a string.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_array_bytes_same_size(unsigned int num, const void *elements, size_t same_size, struct GNUNET_PQ_Context *db)
Generate query parameter for an array of buffers elements, each of the same size size.
struct GNUNET_PQ_QueryParam GNUNET_PQ_query_param_rsa_signature(const struct GNUNET_CRYPTO_RsaSignature *x)
Generate query parameter for an RSA signature.
Type of private signing keys for blind signing.
struct GNUNET_CRYPTO_CsPrivateKey cs_private_key
If we use GNUNET_CRYPTO_BSA_CS in cipher.
struct GNUNET_CRYPTO_RsaPrivateKey * rsa_private_key
If we use GNUNET_CRYPTO_BSA_RSA in cipher.
enum GNUNET_CRYPTO_BlindSignatureAlgorithm cipher
Type of the public key.
union GNUNET_CRYPTO_BlindSignPrivateKey::@21 details
Details, depending on cipher.
Type of public signing keys for blind signatures.
union GNUNET_CRYPTO_BlindSignPublicKey::@20 details
Details, depending on cipher.
struct GNUNET_CRYPTO_CsPublicKey cs_public_key
If we use GNUNET_CRYPTO_BSA_CS in cipher.
enum GNUNET_CRYPTO_BlindSignatureAlgorithm cipher
Type of the public key.
struct GNUNET_CRYPTO_RsaPublicKey * rsa_public_key
If we use GNUNET_CRYPTO_BSA_RSA in cipher.
Type for blinded signatures.
struct GNUNET_CRYPTO_CsBlindSignature blinded_cs_answer
If we use GNUNET_CRYPTO_BSA_CS in cipher.
enum GNUNET_CRYPTO_BlindSignatureAlgorithm cipher
Type of the signature.
struct GNUNET_CRYPTO_RsaSignature * blinded_rsa_signature
If we use GNUNET_CRYPTO_BSA_RSA in cipher.
union GNUNET_CRYPTO_BlindedSignature::@19 details
Details, depending on cipher.
The public information of an RSA key pair.
Type of (unblinded) signatures.
union GNUNET_CRYPTO_UnblindedSignature::@18 details
Details, depending on cipher.
struct GNUNET_CRYPTO_RsaSignature * rsa_signature
If we use GNUNET_CRYPTO_BSA_RSA in cipher.
struct GNUNET_CRYPTO_CsSignature cs_signature
If we use GNUNET_CRYPTO_BSA_CS in cipher.
enum GNUNET_CRYPTO_BlindSignatureAlgorithm cipher
Type of the signature.
Handle to Postgres database.
Description of a DB query parameter.
GNUNET_PQ_QueryConverter conv
Function for how to handle this type of entry.
Time for absolute time used by GNUnet, in microseconds and in network byte order.
Time for absolute times used by GNUnet, in microseconds.
uint64_t abs_value_us
The actual value.
Time for relative time used by GNUnet, in microseconds.
uint64_t rel_value_us
The actual value.
Time for timestamps used by GNUnet, in seconds and in network byte order.
Time for timestamps used by GNUnet, in microseconds rounded to seconds.
struct GNUNET_TIME_Absolute abs_time
The actual value.
Closure for the array type handlers.
const size_t * sizes
If not null, contains the array of sizes (the size of the array is the .size field in the ambient GNU...
enum array_types typ
Type of the array elements.
size_t same_size
If size and c_sizes are NULL, this field defines the same size for each element in the array.
Oid oid
Oid of the array elements.
bool continuous
If true, the array parameter to the data pointer to the qconv_array is a continuous byte array of dat...