Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

globals.h File Reference

#include "types.h"
#include "ip_addr.h"
#include "str.h"
#include "poll_types.h"

Go to the source code of this file.

Defines

#define NO_DNS   0
#define DO_DNS   1
#define DO_REV_DNS   2

Variables

char * mods_dir
char * cfg_file
int config_check
char * stat_file
unsigned short port_no
time_t up_since
pid_t creator_pid
int uid
int gid
char * pid_file
char * pgid_file
int own_pgid
int server_id
socket_infobind_address
socket_infosendipv4
socket_infosendipv6
unsigned int maxbuffer
int children_no
int dont_fork
int dont_daemonize
int check_via
int phone2tel
int received_dns
int syn_branch
int child_rank
int sip_warning
int server_signature
char * user
char * group
char * sock_user
char * sock_group
int sock_uid
int sock_gid
int sock_mode
char * chroot_dir
char * working_dir
int tos
int pmtu_discovery
int cfg_errors
int cfg_warnings
unsigned int msg_no
unsigned long shm_mem_size
char * avp_db_url
int reply_to_via
int is_main
int fixup_complete
int memlog
int memdbg
int timerlog
int mhomed
int my_argc
char ** my_argv
str default_global_address
str default_global_port
int ser_kill_timeout
int disable_core_dump
int open_files_limit
int shm_force_alloc
int mlock_pages
int real_time
int rt_prio
int rt_policy
int rt_timer1_prio
int rt_timer2_prio
int rt_timer1_policy
int rt_timer2_policy


Define Documentation

#define DO_DNS   1
 

Definition at line 42 of file globals.h.

Referenced by yyparse().

#define DO_REV_DNS   2
 

Definition at line 43 of file globals.h.

Referenced by comp_ip(), and yyparse().

#define NO_DNS   0
 

Definition at line 41 of file globals.h.


Variable Documentation

char* avp_db_url
 

struct socket_info* bind_address
 

Definition at line 415 of file main.c.

Referenced by child_init_callid(), faked_env(), get_send_socket(), main_loop(), uac_init(), and udp_rcv_loop().

int cfg_errors
 

Definition at line 459 of file main.c.

Referenced by main(), and yyerror().

char* cfg_file
 

Definition at line 287 of file main.c.

Referenced by fix_cfg_file(), get_abs_pathname(), get_pathname(), and main().

int cfg_warnings
 

Definition at line 460 of file main.c.

Referenced by main(), and warn().

int check_via
 

Definition at line 324 of file main.c.

Referenced by main(), and yyparse().

int child_rank
 

Definition at line 449 of file main.c.

Referenced by main_loop().

int children_no
 

Definition at line 292 of file main.c.

Referenced by calc_proc_no(), main(), main_loop(), and yyparse().

char* chroot_dir
 

Definition at line 351 of file main.c.

Referenced by daemonize(), main(), and yyparse().

int config_check
 

Definition at line 322 of file main.c.

Referenced by main().

pid_t creator_pid
 

Definition at line 321 of file main.c.

Referenced by main().

str default_global_address
 

Definition at line 74 of file receive.c.

Referenced by yyparse().

str default_global_port
 

Definition at line 75 of file receive.c.

Referenced by yyparse().

int disable_core_dump
 

Definition at line 365 of file main.c.

Referenced by yyparse().

int dont_daemonize
 

Definition at line 319 of file main.c.

Referenced by main().

int dont_fork
 

Definition at line 318 of file main.c.

Referenced by calc_proc_no(), main(), and yyparse().

int fixup_complete
 

Definition at line 479 of file main.c.

Referenced by main().

int gid
 

Definition at line 355 of file main.c.

Referenced by group2gid(), init_ctrl_sockets(), init_unix_sock(), main(), and user2uid().

char* group
 

Definition at line 353 of file main.c.

Referenced by cfg_destory_groups(), cfg_fixup_selects(), cfg_get_by_name(), cfg_get_group_next(), cfg_get_handle(), cfg_lookup_var(), cfg_new_group(), cfg_register_ctx(), cfg_script_destroy(), cfg_script_fixup(), cfg_set_delayed(), cfg_set_now(), cfg_shmize(), cfg_shmize_strings(), cfg_update_local(), group2gid(), main(), new_cfg_script_var(), rpc_get(), rpc_help(), rpc_set_delayed_int(), rpc_set_delayed_string(), rpc_set_now_int(), rpc_set_now_string(), select_cfg_var(), and yyparse().

int is_main
 

Definition at line 478 of file main.c.

Referenced by fork_process(), mod_child(), and start_fifo_server().

unsigned int maxbuffer
 

Definition at line 288 of file main.c.

Referenced by main(), and yyparse().

int memdbg
 

Definition at line 332 of file main.c.

Referenced by yyparse().

int memlog
 

Definition at line 330 of file main.c.

Referenced by cleanup(), handle_sigs(), qm_check(), qm_status(), sig_usr(), and yyparse().

int mhomed
 

Definition at line 346 of file main.c.

Referenced by get_send_socket(), init_rb(), sl_send_reply(), and yyparse().

int mlock_pages
 

Definition at line 372 of file main.c.

Referenced by yyparse().

char* mods_dir
 

Definition at line 285 of file main.c.

Referenced by load_module(), main(), and yyparse().

unsigned int msg_no
 

Definition at line 72 of file receive.c.

Referenced by receive_msg().

int my_argc
 

Definition at line 467 of file main.c.

Referenced by main().

char** my_argv
 

Definition at line 468 of file main.c.

Referenced by core_arg(), and main().

int open_files_limit
 

Definition at line 366 of file main.c.

Referenced by main(), and yyparse().

int own_pgid
 

Definition at line 282 of file main.c.

Referenced by daemonize().

char* pgid_file
 

Definition at line 482 of file main.c.

Referenced by cleanup(), daemonize(), and main().

int phone2tel
 

Definition at line 326 of file main.c.

Referenced by do_action(), and yyparse().

char* pid_file
 

Definition at line 481 of file main.c.

Referenced by cleanup(), daemonize(), and main().

int pmtu_discovery
 

Definition at line 396 of file main.c.

Referenced by yyparse().

unsigned short port_no
 

Definition at line 432 of file main.c.

Referenced by main(), parse_uri(), and yyparse().

int real_time
 

Definition at line 375 of file main.c.

Referenced by main(), main_loop(), and yyparse().

int received_dns
 

Definition at line 349 of file main.c.

Referenced by comp_ip(), main(), received_test(), and yyparse().

int reply_to_via
 

Definition at line 388 of file main.c.

Referenced by yyparse().

int rt_policy
 

Definition at line 378 of file main.c.

Referenced by main(), and yyparse().

int rt_prio
 

Definition at line 377 of file main.c.

Referenced by main(), and yyparse().

int rt_timer1_policy
 

Definition at line 381 of file main.c.

Referenced by main_loop(), and yyparse().

int rt_timer1_prio
 

Definition at line 379 of file main.c.

Referenced by main_loop(), and yyparse().

int rt_timer2_policy
 

Definition at line 382 of file main.c.

Referenced by main_loop(), and yyparse().

int rt_timer2_prio
 

Definition at line 380 of file main.c.

Referenced by main_loop(), and yyparse().

struct socket_info* sendipv4
 

Definition at line 417 of file main.c.

Referenced by main_loop().

struct socket_info* sendipv6
 

Definition at line 418 of file main.c.

Referenced by main_loop().

int ser_kill_timeout
 

Definition at line 452 of file main.c.

Referenced by shutdown_children(), and yyparse().

int server_id
 

Definition at line 362 of file main.c.

Referenced by add_contact(), fmt2strar(), select_sys_server_id(), and yyparse().

int server_signature
 

Definition at line 342 of file main.c.

Referenced by build_uac_req(), and yyparse().

int shm_force_alloc
 

Definition at line 369 of file main.c.

Referenced by main(), and yyparse().

unsigned long shm_mem_size
 

Definition at line 464 of file main.c.

Referenced by init_shm_mallocs(), and main().

int sip_warning
 

Definition at line 338 of file main.c.

Referenced by yyparse().

int sock_gid
 

Definition at line 359 of file main.c.

Referenced by init_unixsock_socket().

char* sock_group
 

Definition at line 357 of file main.c.

int sock_mode
 

Definition at line 360 of file main.c.

Referenced by init_unixsock_socket().

int sock_uid
 

Definition at line 358 of file main.c.

Referenced by init_unixsock_socket().

char* sock_user
 

Definition at line 356 of file main.c.

char* stat_file
 

Referenced by main(), and yyparse().

int syn_branch
 

Definition at line 328 of file main.c.

Referenced by build_cell(), t_calc_branch(), t_reply_matching(), and yyparse().

int timerlog
 

Definition at line 334 of file main.c.

Referenced by timer_add_safe(), and timer_del_safe().

int tos
 

Definition at line 395 of file main.c.

Referenced by yyparse().

int uid
 

Definition at line 354 of file main.c.

Referenced by authorize_message(), create_winfo(), db_delete_avp(), db_load_avp(), db_load_winfo(), dump_offline_winfo(), find_presentity_uid(), get_from_uid(), get_presentity(), get_to_uid(), handle_publish(), handle_renewal_subscription(), init_ctrl_sockets(), init_unix_sock(), load_user_attrs(), lookup(), lookup2(), lookup_uid(), lookup_user_2(), m_dump(), m_store(), main(), new_presentity(), new_presentity_no_wb(), pa_subscribe(), pa_unsubscribe(), pdomain_load_presentities(), query_resource_list(), read_reg_avps(), registered(), registered2(), rpc_add_contact(), rpc_authorize(), rpc_delete_contact(), rpc_delete_uid(), rpc_show_contacts(), save_real(), sd_lookup(), store_offline_winfo(), target_online(), user2uid(), xcap_get_msg_rules(), xcap_get_pres_rules(), xj_pres_cell_init(), xj_pres_list_check(), and xj_pres_list_del().

time_t up_since
 

Definition at line 316 of file main.c.

Referenced by check_nonce(), core_uptime(), main(), and rpc_init_time().

char* user
 

Definition at line 352 of file main.c.

Referenced by add_user_name(), authenticate(), build_rr(), cpl_get(), cpl_invoke_script(), cpl_load(), cpl_remove(), do_action(), do_script_action(), do_script_download(), get_resource_list_from_full_doc(), get_user_script(), get_username(), insert_RR(), is_e164(), is_rule_for_uri(), main(), parse_uri(), prefix_route(), radius_authorize_sterman(), record_route_preset(), run_log(), set_new_uri_with_user(), store_user_in_avps(), subst_user_f(), test_e164(), tree_item_get(), tree_route_get(), un_escape(), user2uid(), and yyparse().

char* working_dir
 

Definition at line 350 of file main.c.

Referenced by daemonize(), main(), and yyparse().


Generated on Thu Jul 29 04:15:54 2010 for SIPExpressRouter by  doxygen 1.3.9.1