perlvdbfunc.h File Reference

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

Include dependency graph for perlvdbfunc.h:

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

Go to the source code of this file.

Functions

void perlvdb_db_close (db_con_t *h)
int perlvdb_db_delete (db_con_t *h, db_key_t *k, db_op_t *o, db_val_t *v, int n)
int perlvdb_db_free_result (db_con_t *_h, db_res_t *_r)
db_con_tperlvdb_db_init (const char *_url)
int perlvdb_db_insert (db_con_t *h, db_key_t *k, db_val_t *v, int n)
int perlvdb_db_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 perlvdb_db_replace (db_con_t *h, db_key_t *k, db_val_t *v, int n)
int perlvdb_db_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 perlvdb_use_table (db_con_t *h, const str *t)


Function Documentation

void perlvdb_db_close ( db_con_t h  ) 

Definition at line 165 of file perlvdbfunc.c.

References LM_ERR, and pkg_free.

int perlvdb_db_delete ( db_con_t h,
db_key_t k,
db_op_t o,
db_val_t v,
int  n 
)

int perlvdb_db_free_result ( db_con_t _h,
db_res_t _r 
)

db_con_t* perlvdb_db_init ( const char *  _url  ) 

Definition at line 108 of file perlvdbfunc.c.

References checkobj(), CON_TAIL, LM_ERR, newvdbobj(), NULL, parseurl(), PERL_VDB_BASECLASS, and pkg_malloc.

int perlvdb_db_insert ( db_con_t h,
db_key_t k,
db_val_t v,
int  n 
)

Definition at line 198 of file perlvdbfunc.c.

References PERL_VDB_INSERTMETHOD, and perlvdb_db_insertreplace().

int perlvdb_db_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 perlvdb_db_replace ( db_con_t h,
db_key_t k,
db_val_t v,
int  n 
)

Definition at line 205 of file perlvdbfunc.c.

References PERL_VDB_REPLACEMETHOD, and perlvdb_db_insertreplace().

int perlvdb_db_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 perlvdb_use_table ( db_con_t h,
const str t 
)


Generated on Thu May 24 02:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6