GNUnet  0.11.x
Data Fields
GNUNET_MYSQL_StatementHandle Struct Reference

Handle for a prepared statement. More...

Collaboration diagram for GNUNET_MYSQL_StatementHandle:
[legend]

Data Fields

struct GNUNET_MYSQL_StatementHandlenext
 Kept in a DLL. More...
 
struct GNUNET_MYSQL_StatementHandleprev
 Kept in a DLL. More...
 
struct GNUNET_MYSQL_Contextmc
 Mysql Context the statement handle belongs to. More...
 
char * query
 Original query string. More...
 
MYSQL_STMT * statement
 Handle to MySQL prepared statement. More...
 
int valid
 Is the MySQL prepared statement valid, or do we need to re-initialize it? More...
 

Detailed Description

Handle for a prepared statement.

Definition at line 112 of file mysql.c.

Field Documentation

◆ next

struct GNUNET_MYSQL_StatementHandle* GNUNET_MYSQL_StatementHandle::next

Kept in a DLL.

Definition at line 117 of file mysql.c.

Referenced by GNUNET_MYSQL_statements_invalidate().

◆ prev

struct GNUNET_MYSQL_StatementHandle* GNUNET_MYSQL_StatementHandle::prev

Kept in a DLL.

Definition at line 122 of file mysql.c.

◆ mc

struct GNUNET_MYSQL_Context* GNUNET_MYSQL_StatementHandle::mc

Mysql Context the statement handle belongs to.

Definition at line 127 of file mysql.c.

Referenced by GNUNET_MYSQL_statement_prepare(), and prepare_statement().

◆ query

char* GNUNET_MYSQL_StatementHandle::query

◆ statement

MYSQL_STMT* GNUNET_MYSQL_StatementHandle::statement

Handle to MySQL prepared statement.

Definition at line 137 of file mysql.c.

Referenced by GNUNET_MYSQL_statement_get_stmt(), GNUNET_MYSQL_statements_invalidate(), and prepare_statement().

◆ valid

int GNUNET_MYSQL_StatementHandle::valid

Is the MySQL prepared statement valid, or do we need to re-initialize it?

Definition at line 142 of file mysql.c.

Referenced by GNUNET_MYSQL_statements_invalidate(), and prepare_statement().


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