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


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) |
| 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 | |||
| ) |
Definition at line 150 of file uri_db/checks.c.
References check_username(), get_to, HDR_TO_F, LM_ERR, NULL, parse_headers(), parse_to_uri(), and sip_msg::to.
| int does_uri_exist | ( | struct sip_msg * | _msg, | |
| char * | _table, | |||
| char * | _s2 | |||
| ) |
Definition at line 186 of file uri_db/checks.c.
References DB_STR, db_table, db_func::free_result, sip_uri::host, LM_DBG, LM_ERR, NULL, parse_sip_msg_uri(), sip_msg::parsed_uri, db_func::query, RES_ROW_N, uridb_domain_col, uridb_uriuser_col, uridb_user_col, use_domain, db_func::use_table, use_uri_table, sip_uri::user, VAL_NULL, VAL_STR, VAL_TYPE, and vals.
| 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 | ) |
| 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().
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().
1.5.6