cpl_db.h File Reference

#include "../../db/db.h"

Include dependency graph for cpl_db.h:

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

Go to the source code of this file.

Functions

int cpl_db_bind (const str *db_url, const str *db_table)
void cpl_db_close (void)
int cpl_db_init (const str *db_url, const str *db_table)
int get_user_script (str *username, str *domain, str *script, str *key)
int rmv_from_db (str *username, str *domain)
int write_to_db (str *username, str *domain, str *xml, str *bin)

Variables

str cpl_bin_col
str cpl_domain_col
str cpl_username_col
str cpl_xml_col


Function Documentation

int cpl_db_bind ( const str db_url,
const str db_table 
)

void cpl_db_close ( void   ) 

Definition at line 99 of file cpl_db.c.

References db_func::close.

Referenced by cpl_db_bind(), and cpl_db_init().

int cpl_db_init ( const str db_url,
const str db_table 
)

Definition at line 75 of file cpl_db.c.

References cpl_db_close(), db_func::init, _str::len, LM_CRIT, _str::s, and db_func::use_table.

Referenced by cpl_child_init(), cpl_db_bind(), and mi_child_init().

int get_user_script ( str username,
str domain,
str script,
str key 
)

int rmv_from_db ( str username,
str domain 
)

int write_to_db ( str username,
str domain,
str xml,
str bin 
)


Variable Documentation

Definition at line 42 of file cpl_db.c.

Referenced by cpl_invoke_script().

Definition at line 40 of file cpl_db.c.

Definition at line 39 of file cpl_db.c.

Definition at line 41 of file cpl_db.c.

Referenced by do_script_download().


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