uri_db/checks.h File Reference

#include "../../parser/msg_parser.h"

Include dependency graph for uri_db/checks.h:

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

Go to the source code of this file.

Functions

int check_from (struct sip_msg *_msg, char *_str1, char *_str2)
int check_to (struct sip_msg *_msg, char *_str1, char *_str2)
int does_uri_exist (struct sip_msg *_msg, char *_table, char *_s2)
int uridb_db_bind (const str *db_url)
void uridb_db_close (void)
int uridb_db_init (const str *db_url)
int uridb_db_ver (const str *db_url, str *name)


Function Documentation

int check_from ( struct sip_msg _msg,
char *  _str1,
char *  _str2 
)

Definition at line 168 of file uri_db/checks.c.

References check_username(), get_from, LM_ERR, NULL, parse_from_header(), and parse_from_uri().

int check_to ( struct sip_msg _msg,
char *  _str1,
char *  _str2 
)

int does_uri_exist ( struct sip_msg _msg,
char *  _table,
char *  _s2 
)

int uridb_db_bind ( const str db_url  ) 

Definition at line 257 of file uri_db/checks.c.

References db_bind_mod(), DB_CAP_QUERY, DB_CAPABILITY, and LM_ERR.

Referenced by mod_init().

void uridb_db_close ( void   ) 

Definition at line 273 of file uri_db/checks.c.

References db_func::close.

int uridb_db_init ( const str db_url  ) 

Definition at line 240 of file uri_db/checks.c.

References db_func::init, LM_CRIT, and LM_ERR.

Referenced by child_init().

int uridb_db_ver ( const str db_url,
str name 
)

Definition at line 282 of file uri_db/checks.c.

References db_func::close, db_table_version(), db_func::init, LM_CRIT, and LM_ERR.

Referenced by mod_init().


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