flatstore.h File Reference

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

Include dependency graph for flatstore.h:

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

Go to the source code of this file.

Functions

void flat_db_close (db_con_t *h)
db_con_tflat_db_init (const str *_url)
int flat_db_insert (const db_con_t *h, const db_key_t *k, const db_val_t *v, const int n)
int flat_use_table (db_con_t *h, const str *t)


Function Documentation

void flat_db_close ( db_con_t h  ) 

Definition at line 127 of file flatstore.c.

References CON_TAIL, flat_release_connection(), LM_ERR, and pkg_free.

Referenced by db_flat_bind_api().

db_con_t* flat_db_init ( const str _url  ) 

Definition at line 57 of file flatstore.c.

References LM_ERR, parse_flat_url(), pkg_free, pkg_malloc, and _str::s.

Referenced by db_flat_bind_api().

int flat_db_insert ( const db_con_t h,
const db_key_t k,
const db_val_t v,
const int  n 
)

int flat_use_table ( db_con_t h,
const str t 
)

Definition at line 97 of file flatstore.c.

References CON_TABLE, CON_TAIL, flat_get_connection(), LM_ERR, flat_con::ref, s, and _str::s.

Referenced by db_flat_bind_api().


Generated on Wed May 23 06:01:03 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6