GNUnet  0.11.x
Data Fields
GNUNET_PQ_Context Struct Reference

Handle to Postgres database. More...

#include </home/handbook/gnunet/src/pq/pq.h>

Collaboration diagram for GNUNET_PQ_Context:
[legend]

Data Fields

PGconn * conn
 Actual connection. More...
 
struct GNUNET_PQ_ExecuteStatementes
 Statements to execute upon connection. More...
 
struct GNUNET_PQ_PreparedStatementps
 Prepared statements. More...
 
char * config_str
 Configuration to use to connect to the DB. More...
 

Detailed Description

Handle to Postgres database.

Definition at line 34 of file pq.h.

Field Documentation

◆ conn

PGconn* GNUNET_PQ_Context::conn

◆ es

struct GNUNET_PQ_ExecuteStatement* GNUNET_PQ_Context::es

Statements to execute upon connection.

Definition at line 44 of file pq.h.

Referenced by GNUNET_PQ_connect(), GNUNET_PQ_disconnect(), and GNUNET_PQ_reconnect().

◆ ps

struct GNUNET_PQ_PreparedStatement* GNUNET_PQ_Context::ps

Prepared statements.

Definition at line 49 of file pq.h.

Referenced by GNUNET_PQ_connect(), GNUNET_PQ_disconnect(), GNUNET_PQ_prepare_statements(), and GNUNET_PQ_reconnect().

◆ config_str

char* GNUNET_PQ_Context::config_str

Configuration to use to connect to the DB.

Definition at line 54 of file pq.h.

Referenced by GNUNET_PQ_connect(), and GNUNET_PQ_reconnect().


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