ul_mod.h File Reference

USRLOC - Usrloc module interface. More...

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

Include dependency graph for ul_mod.h:

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

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_tul_dbh
int ul_fetch_rows
int ul_hash_size
int use_domain
str user_agent_col
str user_col


Detailed Description

USRLOC - Usrloc module interface.

Definition in file ul_mod.h.


Define Documentation

#define CONTACT_CALLID   (1)

Definition at line 86 of file ul_mod.h.

Referenced by get_ucontact(), and mod_init().

#define CONTACT_ONLY   (0)

Definition at line 85 of file ul_mod.h.

Referenced by get_ucontact(), and mod_init().

#define DB_ONLY   3

#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

Definition at line 51 of file ul_mod.h.

Referenced by register_udomain().

#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


Variable Documentation

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 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().

retransmission detection interval in seconds

Definition at line 51 of file urecord.c.

Referenced by get_ucontact().

int db_mode

Database sync scheme: 0-no db, 1-write through, 2-write back, 3-only db

Definition at line 49 of file dbtext.c.

Database URL

Definition at line 61 of file permissions.c.

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 internal flags

Definition at line 106 of file ul_mod.c.

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().

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().

Timer interval in seconds

Definition at line 115 of file ul_mod.c.

number of rows to fetch from result

Definition at line 120 of file ul_mod.c.

Referenced by mod_init(), and preload_udomain().

Definition at line 121 of file ul_mod.c.

Referenced by mod_init(), and new_dlist().

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().


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