All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
sql_fbapi.c File Reference
#include "sql_fbapi.h"
#include <stdarg.h>
+ Include dependency graph for sql_fbapi.c:

Go to the source code of this file.

Data Structures

struct  vary_fb
 

Macros

#define IS_NULL(x)   (x->sqltype & 1) && (*x->sqlind < 0)
 

Typedefs

typedef struct vary_fb VARY
 

Functions

int fb_affected_rows (rlm_sql_firebird_conn_t *conn)
 
int fb_close_cursor (rlm_sql_firebird_conn_t *conn)
 
int fb_commit (rlm_sql_firebird_conn_t *conn)
 
int fb_connect (rlm_sql_firebird_conn_t *conn, rlm_sql_config_t *config)
 
static void fb_dpb_add_str (char **dpb, char name, char const *value)
 
int fb_error (rlm_sql_firebird_conn_t *conn)
 
int fb_fetch (rlm_sql_firebird_conn_t *conn)
 
void fb_free_sqlda (XSQLDA *sqlda)
 
void fb_free_statement (rlm_sql_firebird_conn_t *conn)
 
int fb_init_socket (rlm_sql_firebird_conn_t *conn)
 
static int fb_prepare (rlm_sql_firebird_conn_t *conn, char const *query)
 
int fb_rollback (rlm_sql_firebird_conn_t *conn)
 
static void fb_set_sqlda (XSQLDA *sqlda)
 
static void fb_set_tpb (rlm_sql_firebird_conn_t *conn, int count,...)
 
int fb_sql_query (rlm_sql_firebird_conn_t *conn, char const *query)
 
void fb_store_row (rlm_sql_firebird_conn_t *conn)
 

Data Structure Documentation

struct vary_fb

Definition at line 145 of file sql_fbapi.c.

Data Fields
short vary_length
char vary_string[1]

Macro Definition Documentation

#define IS_NULL (   x)    (x->sqltype & 1) && (*x->sqlind < 0)

Definition at line 142 of file sql_fbapi.c.

Typedef Documentation

typedef struct vary_fb VARY

Function Documentation

int fb_affected_rows ( rlm_sql_firebird_conn_t conn)

Definition at line 503 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int fb_close_cursor ( rlm_sql_firebird_conn_t conn)

Definition at line 534 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int fb_commit ( rlm_sql_firebird_conn_t conn)

Definition at line 563 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int fb_connect ( rlm_sql_firebird_conn_t conn,
rlm_sql_config_t config 
)

Definition at line 350 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fb_dpb_add_str ( char **  dpb,
char  name,
char const *  value 
)
static

Definition at line 46 of file sql_fbapi.c.

+ Here is the caller graph for this function:

int fb_error ( rlm_sql_firebird_conn_t conn)

Definition at line 83 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int fb_fetch ( rlm_sql_firebird_conn_t conn)

Definition at line 404 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void fb_free_sqlda ( XSQLDA *  sqlda)

Definition at line 129 of file sql_fbapi.c.

+ Here is the caller graph for this function:

void fb_free_statement ( rlm_sql_firebird_conn_t conn)

Definition at line 540 of file sql_fbapi.c.

+ Here is the caller graph for this function:

int fb_init_socket ( rlm_sql_firebird_conn_t conn)

Definition at line 326 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int fb_prepare ( rlm_sql_firebird_conn_t conn,
char const *  query 
)
static

Definition at line 424 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int fb_rollback ( rlm_sql_firebird_conn_t conn)

Definition at line 547 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void fb_set_sqlda ( XSQLDA *  sqlda)
static

Definition at line 64 of file sql_fbapi.c.

+ Here is the caller graph for this function:

static void fb_set_tpb ( rlm_sql_firebird_conn_t conn,
int  count,
  ... 
)
static

Definition at line 28 of file sql_fbapi.c.

+ Here is the caller graph for this function:

int fb_sql_query ( rlm_sql_firebird_conn_t conn,
char const *  query 
)

Definition at line 484 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void fb_store_row ( rlm_sql_firebird_conn_t conn)

Definition at line 151 of file sql_fbapi.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: