#include <cr_data.h>

Data Fields | |
| struct name_map_t * | carrier_map |
| size_t | carrier_num |
| struct carrier_data_t ** | carriers |
| int | default_carrier_id |
| struct name_map_t * | domain_map |
| size_t | domain_num |
| size_t | first_empty_carrier |
| gen_lock_t | lock |
| int | proc_cnt |
Definition at line 42 of file cr_data.h.
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 |
number of carriers
Definition at line 46 of file cr_data.h.
Referenced by add_carrier_data(), carrier_data_fixup(), carrier_name_2_id(), clear_route_data(), cr_do_route(), cr_load_next_domain(), dump_fifo(), get_carrier_data(), load_config(), load_route_data_db(), reload_route_data(), rule_fixup(), save_config(), and update_route_data().
struct carrier_data_t** carriers [read] |
array of carriers
Definition at line 45 of file cr_data.h.
Referenced by add_carrier_data(), carrier_data_fixup(), clear_route_data(), dump_fifo(), get_carrier_data(), load_config(), load_route_data_db(), reload_route_data(), rule_fixup(), save_config(), and update_route_data().
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 |
total number of different domains
Definition at line 48 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_route_data_db(), and update_route_data().
| size_t first_empty_carrier |
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().
1.5.6