GNUnet  0.11.x
Data Fields
GNUNET_MYSQL_Context Struct Reference

Mysql context. More...

Collaboration diagram for GNUNET_MYSQL_Context:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
const char * section
 Our section. More...
 
MYSQL * dbf
 Handle to the mysql database. More...
 
struct GNUNET_MYSQL_StatementHandleshead
 Head of list of our prepared statements. More...
 
struct GNUNET_MYSQL_StatementHandlestail
 Tail of list of our prepared statements. More...
 
char * cnffile
 Filename of "my.cnf" (msyql configuration). More...
 

Detailed Description

Mysql context.

Definition at line 75 of file mysql.c.

Field Documentation

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_MYSQL_Context::cfg

Our configuration.

Definition at line 80 of file mysql.c.

Referenced by GNUNET_MYSQL_context_create(), and iopen().

◆ section

const char* GNUNET_MYSQL_Context::section

Our section.

Definition at line 85 of file mysql.c.

Referenced by GNUNET_MYSQL_context_create(), and iopen().

◆ dbf

MYSQL* GNUNET_MYSQL_Context::dbf

Handle to the mysql database.

Definition at line 90 of file mysql.c.

Referenced by GNUNET_MYSQL_statement_run(), GNUNET_MYSQL_statements_invalidate(), iopen(), and prepare_statement().

◆ shead

struct GNUNET_MYSQL_StatementHandle* GNUNET_MYSQL_Context::shead

Head of list of our prepared statements.

Definition at line 95 of file mysql.c.

Referenced by GNUNET_MYSQL_context_destroy(), GNUNET_MYSQL_statement_prepare(), and GNUNET_MYSQL_statements_invalidate().

◆ stail

struct GNUNET_MYSQL_StatementHandle* GNUNET_MYSQL_Context::stail

Tail of list of our prepared statements.

Definition at line 100 of file mysql.c.

Referenced by GNUNET_MYSQL_context_destroy(), and GNUNET_MYSQL_statement_prepare().

◆ cnffile

char* GNUNET_MYSQL_Context::cnffile

Filename of "my.cnf" (msyql configuration).

Definition at line 105 of file mysql.c.

Referenced by get_my_cnf_path(), GNUNET_MYSQL_context_create(), and iopen().


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