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_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 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)
 
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

◆ VARY

struct VARY

Definition at line 143 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 140 of file sql_fbapi.c.

Function Documentation

◆ fb_affected_rows()

int fb_affected_rows ( rlm_sql_firebird_conn_t conn)

Definition at line 498 of file sql_fbapi.c.

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

◆ fb_close_cursor()

int fb_close_cursor ( rlm_sql_firebird_conn_t conn)

Definition at line 531 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 558 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 345 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 44 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 81 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 399 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 127 of file sql_fbapi.c.

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

◆ fb_free_statement()

void fb_free_statement ( rlm_sql_firebird_conn_t conn)

Definition at line 537 of file sql_fbapi.c.

+ Here is the caller graph for this function:

◆ fb_init_socket()

int fb_init_socket ( rlm_sql_firebird_conn_t conn)

Definition at line 322 of file sql_fbapi.c.

+ Here is the call graph for this function:
+ 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 419 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 544 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 62 of file sql_fbapi.c.

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

◆ fb_set_tpb()

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 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 479 of file sql_fbapi.c.

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

◆ fb_store_row()

void fb_store_row ( rlm_sql_firebird_conn_t conn)

Definition at line 149 of file sql_fbapi.c.

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