route_data_t Struct Reference

#include <cr_data.h>

Collaboration diagram for route_data_t:

Collaboration graph
[legend]

Data Fields

struct name_map_tcarrier_map
size_t carrier_num
struct carrier_data_t ** carriers
int default_carrier_id
struct name_map_tdomain_map
size_t domain_num
size_t first_empty_carrier
gen_lock_t lock
int proc_cnt

Detailed Description

contains all routing data.

Definition at line 42 of file cr_data.h.


Field Documentation

struct name_map_t* carrier_map [read]

holds the map between carrier names and numbers

Definition at line 43 of file cr_data.h.

Referenced by carrier_name_2_id(), clear_route_data(), cr_do_route(), cr_load_next_domain(), load_carrier_map(), load_config(), and load_route_data_db().

size_t carrier_num

struct carrier_data_t** carriers [read]

Definition at line 49 of file cr_data.h.

Referenced by carrier_data_fixup(), cr_do_route(), and cr_load_next_domain().

struct name_map_t* domain_map [read]

holds the map between domain names and numbers

Definition at line 44 of file cr_data.h.

Referenced by clear_route_data(), cr_do_route(), cr_load_next_domain(), domain_name_2_id(), get_domain_data_or_add(), load_config(), load_domain_map(), and update_route_data().

size_t domain_num

the index of the first empty entry in carriers

Definition at line 47 of file cr_data.h.

Referenced by add_carrier_data(), and load_config().

gen_lock_t lock

lock for ref counter updates

Definition at line 51 of file cr_data.h.

Referenced by get_data(), and release_data().

int proc_cnt

a ref counter for the shm data

Definition at line 50 of file cr_data.h.

Referenced by get_data(), release_data(), and reload_route_data().


The documentation for this struct was generated from the following file:

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