shared internal data structures of libgnunetpq More...
Go to the source code of this file.
Data Structures | |
struct | GNUNET_PQ_Context |
Handle to Postgres database. More... | |
struct | pq_array_header |
the header for a postgresql array in binary format. More... | |
Enumerations | |
enum | array_types { array_of_bool , array_of_uint16 , array_of_uint32 , array_of_uint64 , array_of_byte , array_of_string , array_of_abs_time , array_of_rel_time , array_of_timestamp , array_of_MAX } |
Internal types that are supported as array types. More... | |
Functions | |
struct pq_array_header | __attribute__ ((packed)) |
void | GNUNET_PQ_event_reconnect_ (struct GNUNET_PQ_Context *db, int fd) |
Internal API. More... | |
Variables | |
uint32_t | ndim |
uint32_t | has_null |
uint32_t | oid |
uint32_t | dim |
uint32_t | lbound |
shared internal data structures of libgnunetpq
Definition in file pq.h.
enum array_types |
Internal types that are supported as array types.
Enumerator | |
---|---|
array_of_bool | |
array_of_uint16 | |
array_of_uint32 | |
array_of_uint64 | |
array_of_byte | |
array_of_string | |
array_of_abs_time | |
array_of_rel_time | |
array_of_timestamp | |
array_of_MAX |
Definition at line 141 of file pq.h.
struct pq_array_header __attribute__ | ( | (packed) | ) |
void GNUNET_PQ_event_reconnect_ | ( | struct GNUNET_PQ_Context * | db, |
int | fd | ||
) |
Internal API.
Reconnect should re-register notifications after a disconnect.
db | the DB handle |
fd | socket to listen on |
Definition at line 412 of file pq_event.c.
References db, GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_ERROR_TYPE_INFO, GNUNET_log, register_notify(), and scheduler_fd_cb().
Referenced by GNUNET_PQ_reconnect().