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


Go to the source code of this file.
Defines | |
| #define | CONTACT_CALLID (1) |
| #define | CONTACT_ONLY (0) |
| #define | DB_ONLY 3 |
| #define | NO_DB 0 |
| #define | UL_TABLE_VERSION 1004 |
| #define | WRITE_BACK 2 |
| #define | WRITE_THROUGH 1 |
Variables | |
| str | callid_col |
| str | cflags_col |
| str | contact_col |
| str | cseq_col |
| int | cseq_delay |
| int | db_mode |
| str | db_url |
| int | desc_time_order |
| str | domain_col |
| str | expires_col |
| str | flags_col |
| str | last_mod_col |
| int | matching_mode |
| str | methods_col |
| str | path_col |
| str | q_col |
| str | received_col |
| str | sock_col |
| int | timer_interval |
| db_func_t | ul_dbf |
| db_con_t * | ul_dbh |
| int | ul_fetch_rows |
| int | ul_hash_size |
| int | use_domain |
| str | user_agent_col |
| str | user_col |
Definition in file ul_mod.h.
| #define CONTACT_CALLID (1) |
| #define CONTACT_ONLY (0) |
| #define DB_ONLY 3 |
Definition at line 49 of file ul_mod.h.
Referenced by child_init(), delete_ucontact(), delete_urecord(), free_urecord(), get_all_ucontacts(), get_urecord(), insert_ucontact(), insert_urecord(), lock_udomain(), lock_ulslot(), release_urecord(), save_fixup(), synchronize_all_udomains(), unlock_udomain(), unlock_ulslot(), and update_ucontact().
| #define NO_DB 0 |
Definition at line 46 of file ul_mod.h.
Referenced by child_init(), mi_child_init(), mod_init(), register_udomain(), and timer_urecord().
| #define UL_TABLE_VERSION 1004 |
| #define WRITE_BACK 2 |
Definition at line 48 of file ul_mod.h.
Referenced by child_init(), st_delete_ucontact(), st_update_ucontact(), and timer_urecord().
| #define WRITE_THROUGH 1 |
Definition at line 47 of file ul_mod.h.
Referenced by child_init(), delete_ucontact(), insert_ucontact(), st_update_ucontact(), timer_urecord(), and update_ucontact().
Name of column containing callid string
Definition at line 104 of file ul_mod.c.
Referenced by db_delete_ucontact(), db_insert_ucontact(), db_load_urecord(), db_restore(), db_update(), db_update_ucontact(), get_subs_db(), get_wi_subs_db(), preload_udomain(), restore_db_subs(), rls_restore_db_subs(), and update_db_subs().
Name of column containing contact flags
Definition at line 107 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), get_all_db_ucontacts(), and preload_udomain().
Name of column containing contact addresses
Definition at line 101 of file ul_mod.c.
Referenced by db_delete_ucontact(), db_insert_ucontact(), db_load_urecord(), db_restore(), db_update(), db_update_ucontact(), get_all_db_ucontacts(), get_subs_db(), preload_udomain(), restore_db_subs(), rls_restore_db_subs(), and update_db_subs().
Name of column containing cseq values
Definition at line 105 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_restore(), db_update(), db_update_ucontact(), get_subs_db(), and preload_udomain().
| int cseq_delay |
retransmission detection interval in seconds
Definition at line 51 of file urecord.c.
Referenced by get_ucontact().
| int db_mode |
Database URL
Definition at line 61 of file permissions.c.
| int desc_time_order |
By default do not enable timestamp ordering
Definition at line 118 of file ul_mod.c.
Referenced by db_load_urecord(), mem_insert_ucontact(), and update_contact_pos().
Name of column containing domains
Definition at line 78 of file domain_mod.c.
Name of column containing expires values
Definition at line 102 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_restore(), db_timer_udomain(), db_update(), db_update_ucontact(), get_all_db_ucontacts(), get_p_notify_body(), get_subs_db(), get_wi_subs_db(), preload_udomain(), pres_htable_restore(), restore_db_subs(), rls_restore_db_subs(), and update_db_subs().
Name of column containing the last modified date
Definition at line 113 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), and preload_udomain().
| int matching_mode |
contact matching mode
Definition at line 49 of file urecord.c.
Referenced by get_ucontact(), and mod_init().
Name of column containing the supported methods
Definition at line 112 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), and preload_udomain().
Name of column containing the Path header
Definition at line 110 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), get_all_db_ucontacts(), and preload_udomain().
Name of column containing q values
Definition at line 103 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), and preload_udomain().
Name of column containing transport info of REGISTER
Definition at line 109 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), get_all_db_ucontacts(), and preload_udomain().
Name of column containing the received socket
Definition at line 111 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), get_all_db_ucontacts(), and preload_udomain().
| int timer_interval |
Definition at line 128 of file ul_mod.c.
Referenced by db_delete_ucontact(), db_delete_urecord(), db_insert_ucontact(), db_load_urecord(), db_timer_udomain(), db_update_ucontact(), get_all_db_ucontacts(), preload_udomain(), register_udomain(), and testdb_udomain().
Definition at line 127 of file ul_mod.c.
Referenced by db_delete_ucontact(), db_delete_urecord(), db_insert_ucontact(), db_timer_udomain(), db_update_ucontact(), get_all_db_ucontacts(), and get_urecord().
| int ul_fetch_rows |
number of rows to fetch from result
Definition at line 120 of file ul_mod.c.
Referenced by mod_init(), and preload_udomain().
| int ul_hash_size |
| int use_domain |
Use domain in is_user_in
Whether usrloc should use domain part of aor
Definition at line 64 of file alias_db.c.
Referenced by alias_db_lookup(), bind_usrloc(), check_user_blacklist(), db_delete_ucontact(), db_delete_urecord(), db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), diameter_is_user_in(), does_uri_exist(), get_ha1(), is_user_in(), load_user_carrier(), mi_fix_aor(), preload_udomain(), sd_lookup(), w_dbdelete_avps(), w_dbload_avps(), and w_dbstore_avps().
Name of column containing user agent string
Definition at line 108 of file ul_mod.c.
Referenced by db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), and preload_udomain().
Name of column containing usernames
Definition at line 99 of file ul_mod.c.
Referenced by db_delete_ucontact(), db_delete_urecord(), db_insert_ucontact(), db_load_urecord(), db_update_ucontact(), msg_presentity_clean(), preload_udomain(), pres_htable_restore(), query_xcap_update(), and testdb_udomain().
1.5.6