db_berkeley.h File Reference

#include "../../db/db_con.h"
#include "../../db/db_res.h"
#include "../../db/db_key.h"
#include "../../db/db_op.h"
#include "../../db/db_val.h"

Include dependency graph for db_berkeley.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int _bdb_delete_cursor (db_con_t *_h, db_key_t *_k, db_op_t *_op, db_val_t *_v, int _n)
void bdb_check_reload (db_con_t *_con)
void bdb_close (db_con_t *_h)
int bdb_delete (db_con_t *_h, db_key_t *_k, db_op_t *_o, db_val_t *_v, int _n)
int bdb_free_query (db_con_t *_h, db_res_t *_r)
db_con_tbdb_init (const str *_sqlurl)
int bdb_insert (db_con_t *_h, db_key_t *_k, db_val_t *_v, int _n)
int bdb_query (db_con_t *_h, db_key_t *_k, db_op_t *_op, db_val_t *_v, db_key_t *_c, int _n, int _nc, db_key_t _o, db_res_t **_r)
int bdb_raw_query (db_con_t *_h, char *_s, db_res_t **_r)
int bdb_reload (char *_n)
int bdb_update (db_con_t *_h, db_key_t *_k, db_op_t *_o, db_val_t *_v, db_key_t *_uk, db_val_t *_uv, int _n, int _un)
int bdb_use_table (db_con_t *_h, const str *_t)


Function Documentation

int _bdb_delete_cursor ( db_con_t _h,
db_key_t _k,
db_op_t _op,
db_val_t _v,
int  _n 
)

void bdb_check_reload ( db_con_t _con  ) 

void bdb_close ( db_con_t _h  ) 

Definition at line 219 of file db_berkeley.c.

References BDB_CON_RESULT, db_free_result(), and pkg_free.

Referenced by bdb_bind_api().

int bdb_delete ( db_con_t _h,
db_key_t _k,
db_op_t _o,
db_val_t _v,
int  _n 
)

int bdb_free_query ( db_con_t _h,
db_res_t _r 
)

Definition at line 334 of file db_berkeley.c.

References BDB_CON_RESULT, db_free_result(), and NULL.

Referenced by bdb_bind_api().

db_con_t* bdb_init ( const str _sqlurl  ) 

int bdb_insert ( db_con_t _h,
db_key_t _k,
db_val_t _v,
int  _n 
)

int bdb_query ( db_con_t _h,
db_key_t _k,
db_op_t _op,
db_val_t _v,
db_key_t _c,
int  _n,
int  _nc,
db_key_t  _o,
db_res_t **  _r 
)

int bdb_raw_query ( db_con_t _h,
char *  _s,
db_res_t **  _r 
)

Definition at line 626 of file db_berkeley.c.

References LM_CRIT.

int bdb_reload ( char *  _n  ) 

Definition at line 229 of file db_berkeley.c.

References bdblib_close(), bdblib_reopen(), LM_DBG, and LM_ERR.

Referenced by bdb_check_reload(), and mi_bdb_reload().

int bdb_update ( db_con_t _h,
db_key_t _k,
db_op_t _o,
db_val_t _v,
db_key_t _uk,
db_val_t _uv,
int  _n,
int  _un 
)

int bdb_use_table ( db_con_t _h,
const str _t 
)

Definition at line 151 of file db_berkeley.c.

References db_use_table().

Referenced by bdb_bind_api().


Generated on Mon May 21 18:00:38 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6