The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Macros | 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
 

Macros

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

Functions

int fb_affected_rows (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 const *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)
 
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)
 
int fb_sql_query (rlm_sql_firebird_conn_t *conn, char const *query)
 
sql_rcode_t fb_store_row (rlm_sql_firebird_conn_t *conn)
 

Data Structure Documentation

◆ VARY

struct VARY

Definition at line 127 of file sql_fbapi.c.

Data Fields
short vary_length
char vary_string[1]

Macro Definition Documentation

◆ IS_NULL

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

Definition at line 124 of file sql_fbapi.c.

Function Documentation

◆ fb_affected_rows()

int fb_affected_rows ( rlm_sql_firebird_conn_t conn)

Definition at line 413 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_commit()

int fb_commit ( rlm_sql_firebird_conn_t conn)

Definition at line 456 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_connect()

int fb_connect ( rlm_sql_firebird_conn_t conn,
rlm_sql_config_t const *  config 
)

Definition at line 271 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_dpb_add_str()

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

Definition at line 28 of file sql_fbapi.c.

+ Here is the caller graph for this function:

◆ fb_error()

int fb_error ( rlm_sql_firebird_conn_t conn)

Definition at line 63 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_fetch()

int fb_fetch ( rlm_sql_firebird_conn_t conn)

Definition at line 331 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_free_sqlda()

void fb_free_sqlda ( XSQLDA *  sqlda)

Definition at line 111 of file sql_fbapi.c.

+ Here is the call graph for this function:

◆ fb_free_statement()

void fb_free_statement ( rlm_sql_firebird_conn_t conn)

Definition at line 440 of file sql_fbapi.c.

+ Here is the caller graph for this function:

◆ fb_prepare()

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

Definition at line 349 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_rollback()

int fb_rollback ( rlm_sql_firebird_conn_t conn)

Definition at line 447 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_set_sqlda()

static void fb_set_sqlda ( XSQLDA *  sqlda)
static

Definition at line 44 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fb_sql_query()

int fb_sql_query ( rlm_sql_firebird_conn_t conn,
char const *  query 
)

Definition at line 396 of file sql_fbapi.c.

+ Here is the call graph for this function:

◆ fb_store_row()

sql_rcode_t fb_store_row ( rlm_sql_firebird_conn_t conn)

Definition at line 133 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: