switch_runtime Struct Reference

#include <switch_core_pvt.h>

Collaboration diagram for switch_runtime:

[legend]

Data Fields

switch_time_t initiated
switch_time_t reference
int64_t offset
switch_event_tglobal_vars
switch_hash_tmime_types
switch_hash_tptimes
switch_memory_pool_tmemory_pool
const switch_state_handler_table_tstate_handlers [SWITCH_MAX_STATE_HANDLERS]
int state_handler_index
FILE * console
uint8_t running
char uuid_str [SWITCH_UUID_FORMATTED_LENGTH+1]
uint32_t flags
switch_time_t timestamp
switch_mutex_tuuid_mutex
switch_mutex_tthrottle_mutex
switch_mutex_tsession_hash_mutex
switch_mutex_tglobal_mutex
switch_thread_rwlock_tglobal_var_rwlock
uint32_t sps_total
int32_t sps
int32_t sps_last
switch_log_level_t hard_log_level
char * mailer_app
char * mailer_app_args
uint32_t max_dtmf_duration
uint32_t min_dtmf_duration
uint32_t default_dtmf_duration
switch_frame_t dummy_cng_frame
char dummy_data [5]
switch_bool_t colorize_console
char * odbc_dsn
char * odbc_user
char * odbc_pass
char * dbname
uint32_t debug_level
uint32_t runlevel
uint32_t tipping_point
uint32_t microseconds_per_tick
int32_t timer_affinity
switch_profile_timer_tprofile_timer
double profile_time
double min_idle_time
int sql_buffer_len
int max_sql_buffer_len
switch_dbtype_t odbc_dbtype
char hostname [256]
char * switchname
int multiple_registrations
uint32_t max_db_handles
uint32_t db_handle_timeout
int cpu_count
uint32_t time_sync
char * core_db_pre_trans_execute
char * core_db_post_trans_execute
char * core_db_inner_pre_trans_execute
char * core_db_inner_post_trans_execute

Detailed Description

Definition at line 214 of file switch_core_pvt.h.


Field Documentation

switch_bool_t switch_runtime::colorize_console

Definition at line 245 of file switch_core_pvt.h.

Referenced by switch_load_core_config().

FILE* switch_runtime::console

Definition at line 224 of file switch_core_pvt.h.

Referenced by switch_core_data_channel(), switch_core_destroy(), switch_core_get_console(), and switch_core_set_console().

char* switch_runtime::core_db_inner_post_trans_execute

Definition at line 271 of file switch_core_pvt.h.

Referenced by switch_cache_db_persistant_execute_trans(), and switch_load_core_config().

char* switch_runtime::core_db_inner_pre_trans_execute

Definition at line 270 of file switch_core_pvt.h.

Referenced by switch_cache_db_persistant_execute_trans(), and switch_load_core_config().

char* switch_runtime::core_db_post_trans_execute

Definition at line 269 of file switch_core_pvt.h.

Referenced by switch_cache_db_persistant_execute_trans(), and switch_load_core_config().

char* switch_runtime::core_db_pre_trans_execute

Definition at line 268 of file switch_core_pvt.h.

Referenced by switch_cache_db_persistant_execute_trans(), and switch_load_core_config().

int switch_runtime::cpu_count

Definition at line 266 of file switch_core_pvt.h.

Referenced by set_auto_priority(), and switch_core_cpu_count().

uint32_t switch_runtime::db_handle_timeout

Definition at line 265 of file switch_core_pvt.h.

Referenced by _switch_cache_db_get_db_handle(), and switch_load_core_config().

char* switch_runtime::dbname

Definition at line 249 of file switch_core_pvt.h.

Referenced by _switch_core_db_handle(), and switch_load_core_config().

uint32_t switch_runtime::debug_level

Definition at line 250 of file switch_core_pvt.h.

Referenced by switch_core_debug_level(), switch_core_session_ctl(), and switch_log_vprintf().

uint32_t switch_runtime::default_dtmf_duration

Definition at line 242 of file switch_core_pvt.h.

Referenced by switch_core_default_dtmf_duration().

switch_frame_t switch_runtime::dummy_cng_frame

Definition at line 243 of file switch_core_pvt.h.

Referenced by switch_core_session_read_frame().

char switch_runtime::dummy_data[5]

Definition at line 244 of file switch_core_pvt.h.

uint32_t switch_runtime::flags

Definition at line 227 of file switch_core_pvt.h.

Referenced by switch_core_flags().

switch_mutex_t* switch_runtime::global_mutex

Definition at line 232 of file switch_core_pvt.h.

Referenced by switch_check_network_list_ip_token(), switch_core_add_state_handler(), switch_core_dump_variables(), switch_core_remove_state_handler(), and switch_load_network_lists().

switch_thread_rwlock_t* switch_runtime::global_var_rwlock

Definition at line 233 of file switch_core_pvt.h.

Referenced by switch_core_get_variable(), switch_core_get_variable_dup(), switch_core_get_variable_pdup(), switch_core_set_var_conditional(), switch_core_set_variable(), and switch_core_unset_variables().

switch_event_t* switch_runtime::global_vars

Definition at line 218 of file switch_core_pvt.h.

Referenced by switch_core_destroy(), switch_core_dump_variables(), switch_core_get_variable(), switch_core_get_variable_dup(), switch_core_get_variable_pdup(), switch_core_set_var_conditional(), switch_core_set_variable(), and switch_core_unset_variables().

switch_log_level_t switch_runtime::hard_log_level

Definition at line 237 of file switch_core_pvt.h.

Referenced by switch_core_session_ctl(), and switch_log_vprintf().

char switch_runtime::hostname[256]

Definition at line 261 of file switch_core_pvt.h.

Referenced by check_ip(), switch_core_get_hostname(), and switch_core_get_switchname().

switch_time_t switch_runtime::initiated

Definition at line 215 of file switch_core_pvt.h.

Referenced by switch_core_uptime(), and SWITCH_MODULE_RUNTIME_FUNCTION().

char* switch_runtime::mailer_app

Definition at line 238 of file switch_core_pvt.h.

Referenced by switch_load_core_config(), and switch_simple_email().

char* switch_runtime::mailer_app_args

Definition at line 239 of file switch_core_pvt.h.

Referenced by switch_load_core_config(), and switch_simple_email().

uint32_t switch_runtime::max_db_handles

Definition at line 264 of file switch_core_pvt.h.

Referenced by _switch_cache_db_get_db_handle(), and switch_load_core_config().

uint32_t switch_runtime::max_dtmf_duration

Definition at line 240 of file switch_core_pvt.h.

Referenced by switch_core_default_dtmf_duration(), switch_core_max_dtmf_duration(), and switch_core_min_dtmf_duration().

int switch_runtime::max_sql_buffer_len

Definition at line 259 of file switch_core_pvt.h.

Referenced by switch_core_sql_thread().

switch_memory_pool_t* switch_runtime::memory_pool

Definition at line 221 of file switch_core_pvt.h.

Referenced by switch_core_destroy(), and switch_load_core_config().

uint32_t switch_runtime::microseconds_per_tick

Definition at line 253 of file switch_core_pvt.h.

Referenced by switch_load_core_config(), SWITCH_MODULE_RUNTIME_FUNCTION(), switch_time_calibrate_clock(), and timer_init().

switch_hash_t* switch_runtime::mime_types

Definition at line 219 of file switch_core_pvt.h.

Referenced by switch_core_destroy(), switch_core_mime_add_type(), switch_core_mime_ext2type(), and switch_core_mime_index().

uint32_t switch_runtime::min_dtmf_duration

Definition at line 241 of file switch_core_pvt.h.

Referenced by switch_core_default_dtmf_duration(), switch_core_max_dtmf_duration(), and switch_core_min_dtmf_duration().

double switch_runtime::min_idle_time

Definition at line 257 of file switch_core_pvt.h.

Referenced by switch_core_min_idle_cpu(), and switch_core_session_request_uuid().

int switch_runtime::multiple_registrations

Definition at line 263 of file switch_core_pvt.h.

Referenced by switch_core_add_registration(), switch_core_del_registration(), and switch_load_core_config().

switch_dbtype_t switch_runtime::odbc_dbtype

Definition at line 260 of file switch_core_pvt.h.

Referenced by switch_cache_db_persistant_execute_trans(), switch_core_sqldb_start(), switch_load_core_config(), and switch_sql_concat().

char* switch_runtime::odbc_dsn

Definition at line 246 of file switch_core_pvt.h.

Referenced by _switch_core_db_handle(), switch_core_sqldb_start(), and switch_load_core_config().

char* switch_runtime::odbc_pass

Definition at line 248 of file switch_core_pvt.h.

Referenced by _switch_core_db_handle(), switch_core_sqldb_start(), and switch_load_core_config().

char* switch_runtime::odbc_user

Definition at line 247 of file switch_core_pvt.h.

Referenced by _switch_core_db_handle(), switch_core_sqldb_start(), and switch_load_core_config().

int64_t switch_runtime::offset

Definition at line 217 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().

double switch_runtime::profile_time

Definition at line 256 of file switch_core_pvt.h.

Referenced by switch_core_idle_cpu(), switch_core_session_request_uuid(), and SWITCH_MODULE_RUNTIME_FUNCTION().

switch_profile_timer_t* switch_runtime::profile_timer

Definition at line 255 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().

switch_hash_t* switch_runtime::ptimes

Definition at line 220 of file switch_core_pvt.h.

Referenced by switch_core_destroy(), switch_default_ptime(), and switch_load_core_config().

switch_time_t switch_runtime::reference

Definition at line 216 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().

uint32_t switch_runtime::runlevel

Definition at line 251 of file switch_core_pvt.h.

Referenced by switch_core_init(), and switch_core_init_and_modload().

uint8_t switch_runtime::running

Definition at line 225 of file switch_core_pvt.h.

Referenced by switch_core_runtime_loop(), and switch_core_session_ctl().

switch_mutex_t* switch_runtime::session_hash_mutex

Definition at line 231 of file switch_core_pvt.h.

Referenced by switch_core_session_event_send(), switch_core_session_force_locate(), switch_core_session_hupall(), switch_core_session_hupall_endpoint(), switch_core_session_hupall_matching_var(), switch_core_session_locate(), switch_core_session_message_send(), switch_core_session_perform_destroy(), switch_core_session_request_uuid(), switch_core_session_set_uuid(), and switch_core_session_sync_clock().

int32_t switch_runtime::sps

Definition at line 235 of file switch_core_pvt.h.

Referenced by send_heartbeat(), switch_core_session_request_uuid(), and SWITCH_MODULE_RUNTIME_FUNCTION().

int32_t switch_runtime::sps_last

Definition at line 236 of file switch_core_pvt.h.

Referenced by switch_core_session_ctl(), and SWITCH_MODULE_RUNTIME_FUNCTION().

uint32_t switch_runtime::sps_total

Definition at line 234 of file switch_core_pvt.h.

Referenced by switch_core_session_ctl(), switch_core_sessions_per_second(), and SWITCH_MODULE_RUNTIME_FUNCTION().

int switch_runtime::sql_buffer_len

Definition at line 258 of file switch_core_pvt.h.

Referenced by switch_core_sql_thread(), and switch_load_core_config().

int switch_runtime::state_handler_index

Definition at line 223 of file switch_core_pvt.h.

Referenced by switch_core_add_state_handler(), switch_core_get_state_handler(), and switch_core_remove_state_handler().

const switch_state_handler_table_t* switch_runtime::state_handlers[SWITCH_MAX_STATE_HANDLERS]

Definition at line 222 of file switch_core_pvt.h.

Referenced by switch_core_add_state_handler(), switch_core_get_state_handler(), and switch_core_remove_state_handler().

char* switch_runtime::switchname

Definition at line 262 of file switch_core_pvt.h.

Referenced by switch_core_get_switchname(), and switch_load_core_config().

switch_mutex_t* switch_runtime::throttle_mutex

Definition at line 230 of file switch_core_pvt.h.

Referenced by switch_core_session_ctl(), switch_core_session_request_uuid(), and SWITCH_MODULE_RUNTIME_FUNCTION().

uint32_t switch_runtime::time_sync

Definition at line 267 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().

int32_t switch_runtime::timer_affinity

Definition at line 254 of file switch_core_pvt.h.

Referenced by switch_load_core_config(), and SWITCH_MODULE_RUNTIME_FUNCTION().

switch_time_t switch_runtime::timestamp

Definition at line 228 of file switch_core_pvt.h.

Referenced by switch_cond_next(), switch_cond_yield(), switch_micro_time_now(), and SWITCH_MODULE_RUNTIME_FUNCTION().

uint32_t switch_runtime::tipping_point

Definition at line 252 of file switch_core_pvt.h.

Referenced by switch_cond_next(), switch_load_core_config(), SWITCH_MODULE_RUNTIME_FUNCTION(), timer_destroy(), timer_init(), and timer_next().

switch_mutex_t* switch_runtime::uuid_mutex

Definition at line 229 of file switch_core_pvt.h.

Referenced by switch_uuid_get().

char switch_runtime::uuid_str[SWITCH_UUID_FORMATTED_LENGTH+1]

Definition at line 226 of file switch_core_pvt.h.

Referenced by switch_core_get_uuid().


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:33 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7