RTS API Documentation
1.10.11
|
#include <switch_core_pvt.h>
Definition at line 224 of file switch_core_pvt.h.
switch_bool_t switch_runtime::colorize_console |
Definition at line 260 of file switch_core_pvt.h.
Referenced by switch_core_init(), and switch_load_core_config().
FILE* switch_runtime::console |
Definition at line 235 of file switch_core_pvt.h.
Referenced by switch_core_data_channel(), switch_core_destroy(), switch_core_get_console(), switch_core_init(), and switch_core_set_console().
char* switch_runtime::core_db_inner_post_trans_execute |
Definition at line 284 of file switch_core_pvt.h.
Referenced by switch_core_sqldb_start_thread(), and switch_load_core_config().
char* switch_runtime::core_db_inner_pre_trans_execute |
Definition at line 283 of file switch_core_pvt.h.
Referenced by switch_core_sqldb_start_thread(), and switch_load_core_config().
char* switch_runtime::core_db_post_trans_execute |
Definition at line 282 of file switch_core_pvt.h.
Referenced by switch_core_sqldb_start_thread(), and switch_load_core_config().
char* switch_runtime::core_db_pre_trans_execute |
Definition at line 281 of file switch_core_pvt.h.
Referenced by switch_core_sqldb_start_thread(), and switch_load_core_config().
int switch_runtime::cpu_count |
Definition at line 279 of file switch_core_pvt.h.
Referenced by set_auto_priority(), switch_core_cpu_count(), switch_core_init(), and switch_load_core_config().
uint32_t switch_runtime::cpu_idle_smoothing_depth |
Definition at line 266 of file switch_core_pvt.h.
Referenced by switch_load_core_config(), and switch_new_profile_timer().
uint32_t switch_runtime::db_handle_timeout |
Definition at line 277 of file switch_core_pvt.h.
Referenced by _switch_cache_db_get_db_handle(), switch_core_init(), and switch_load_core_config().
char* switch_runtime::dbname |
Definition at line 262 of file switch_core_pvt.h.
Referenced by _switch_core_db_handle(), switch_core_init(), switch_core_sqldb_start_thread(), and switch_load_core_config().
uint32_t switch_runtime::debug_level |
Definition at line 263 of file switch_core_pvt.h.
Referenced by switch_core_debug_level(), switch_core_session_ctl(), and switch_log_meta_vprintf().
uint32_t switch_runtime::default_dtmf_duration |
Definition at line 257 of file switch_core_pvt.h.
Referenced by switch_core_default_dtmf_duration(), and switch_core_init().
switch_frame_t switch_runtime::dummy_cng_frame |
Definition at line 258 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_session_read_frame(), switch_core_session_read_text_frame(), and switch_core_session_read_video_frame().
char switch_runtime::dummy_data[5] |
Definition at line 259 of file switch_core_pvt.h.
Referenced by switch_core_init().
char* switch_runtime::event_channel_key_separator |
Definition at line 287 of file switch_core_pvt.h.
Referenced by switch_core_get_event_channel_key_separator(), and switch_load_core_config().
uint32_t switch_runtime::event_heartbeat_interval |
Definition at line 278 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_load_core_config(), and SWITCH_STANDARD_SCHED_FUNC().
int switch_runtime::events_use_dispatch |
Definition at line 285 of file switch_core_pvt.h.
Referenced by switch_core_init_and_modload(), switch_event_fire_detailed(), switch_event_shutdown(), and switch_load_core_config().
uint32_t switch_runtime::flags |
Definition at line 238 of file switch_core_pvt.h.
Referenced by switch_core_flags(), and switch_core_init().
switch_mutex_t* switch_runtime::global_mutex |
Definition at line 243 of file switch_core_pvt.h.
Referenced by switch_check_network_list_ip_port_token(), switch_core_add_state_handler(), switch_core_dump_variables(), switch_core_init(), switch_core_remove_state_handler(), and switch_load_network_lists().
switch_thread_rwlock_t* switch_runtime::global_var_rwlock |
Definition at line 244 of file switch_core_pvt.h.
Referenced by switch_core_get_domain(), switch_core_get_variable(), switch_core_get_variable_dup(), switch_core_get_variable_pdup(), switch_core_get_variables(), switch_core_init(), switch_core_set_var_conditional(), switch_core_set_variable(), and switch_core_unset_variables().
switch_event_t* switch_runtime::global_vars |
Definition at line 228 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_get_variables(), switch_core_init(), 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 252 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_session_ctl(), and switch_log_meta_vprintf().
char switch_runtime::hostname[256] |
Definition at line 273 of file switch_core_pvt.h.
Referenced by check_ip(), switch_core_get_hostname(), switch_core_get_switchname(), and switch_core_init().
switch_time_t switch_runtime::initiated |
Definition at line 225 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_uptime(), SWITCH_MODULE_LOAD_FUNCTION(), and SWITCH_MODULE_RUNTIME_FUNCTION().
char* switch_runtime::mailer_app |
Definition at line 253 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_load_core_config(), and switch_simple_email().
char* switch_runtime::mailer_app_args |
Definition at line 254 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_load_core_config(), and switch_simple_email().
uint32_t switch_runtime::max_audio_channels |
Definition at line 288 of file switch_core_pvt.h.
Referenced by switch_core_max_audio_channels().
uint32_t switch_runtime::max_db_handles |
Definition at line 276 of file switch_core_pvt.h.
Referenced by _switch_cache_db_get_db_handle(), switch_core_init(), and switch_load_core_config().
uint32_t switch_runtime::max_dtmf_duration |
Definition at line 255 of file switch_core_pvt.h.
Referenced by switch_core_default_dtmf_duration(), switch_core_init(), switch_core_max_dtmf_duration(), and switch_core_min_dtmf_duration().
switch_memory_pool_t* switch_runtime::memory_pool |
Definition at line 232 of file switch_core_pvt.h.
Referenced by switch_core_destroy(), switch_core_init(), switch_core_pool_stats(), switch_core_sqldb_init(), and switch_load_core_config().
uint32_t switch_runtime::microseconds_per_tick |
Definition at line 267 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_load_core_config(), SWITCH_MODULE_RUNTIME_FUNCTION(), switch_time_calibrate_clock(), and timer_init().
switch_hash_t* switch_runtime::mime_type_exts |
Definition at line 230 of file switch_core_pvt.h.
Referenced by switch_core_destroy(), switch_core_init(), switch_core_mime_add_type(), and switch_core_mime_type2ext().
switch_hash_t* switch_runtime::mime_types |
Definition at line 229 of file switch_core_pvt.h.
Referenced by switch_core_destroy(), switch_core_init(), switch_core_mime_add_type(), switch_core_mime_ext2type(), and switch_core_mime_index().
uint32_t switch_runtime::min_dtmf_duration |
Definition at line 256 of file switch_core_pvt.h.
Referenced by switch_core_default_dtmf_duration(), switch_core_init(), switch_core_max_dtmf_duration(), and switch_core_min_dtmf_duration().
double switch_runtime::min_idle_time |
Definition at line 271 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 275 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 272 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_sqldb_start(), switch_load_core_config(), and switch_sql_concat().
char* switch_runtime::odbc_dsn |
Definition at line 261 of file switch_core_pvt.h.
Referenced by _switch_core_db_handle(), switch_core_check_core_db_dsn(), switch_core_sqldb_start_thread(), and switch_load_core_config().
int64_t switch_runtime::offset |
Definition at line 227 of file switch_core_pvt.h.
Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().
uint32_t switch_runtime::port_alloc_flags |
Definition at line 286 of file switch_core_pvt.h.
Referenced by switch_core_port_allocator_new(), and switch_load_core_config().
double switch_runtime::profile_time |
Definition at line 270 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 269 of file switch_core_pvt.h.
Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().
switch_hash_t* switch_runtime::ptimes |
Definition at line 231 of file switch_core_pvt.h.
Referenced by switch_core_destroy(), switch_core_init(), switch_default_ptime(), and switch_load_core_config().
switch_time_t switch_runtime::reference |
Definition at line 226 of file switch_core_pvt.h.
Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().
uint32_t switch_runtime::runlevel |
Definition at line 264 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 236 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_running(), switch_core_runtime_loop(), and switch_core_session_ctl().
switch_mutex_t* switch_runtime::session_hash_mutex |
Definition at line 242 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_session_event_send(), switch_core_session_findall(), switch_core_session_findall_matching_var(), switch_core_session_hupall(), switch_core_session_hupall_endpoint(), switch_core_session_hupall_matching_vars_ans(), switch_core_session_id_dec(), switch_core_session_message_send(), switch_core_session_perform_destroy(), switch_core_session_perform_force_locate(), switch_core_session_perform_locate(), switch_core_session_request_uuid(), switch_core_session_set_external_id(), switch_core_session_set_uuid(), switch_core_session_sync_clock(), and SWITCH_MODULE_RUNTIME_FUNCTION().
int32_t switch_runtime::sessions_peak |
Definition at line 250 of file switch_core_pvt.h.
Referenced by send_heartbeat(), switch_core_session_ctl(), switch_core_session_request_uuid(), and switch_core_sessions_peak().
int32_t switch_runtime::sessions_peak_fivemin |
Definition at line 251 of file switch_core_pvt.h.
Referenced by send_heartbeat(), switch_core_session_ctl(), switch_core_session_request_uuid(), switch_core_sessions_peak_fivemin(), and SWITCH_MODULE_RUNTIME_FUNCTION().
switch_call_cause_t switch_runtime::shutdown_cause |
Definition at line 289 of file switch_core_pvt.h.
Referenced by switch_core_destroy(), switch_core_init(), and switch_core_session_ctl().
int32_t switch_runtime::sps |
Definition at line 246 of file switch_core_pvt.h.
Referenced by send_heartbeat(), switch_core_session_request_uuid(), switch_core_sps(), and SWITCH_MODULE_RUNTIME_FUNCTION().
int32_t switch_runtime::sps_last |
Definition at line 247 of file switch_core_pvt.h.
Referenced by send_heartbeat(), switch_core_session_ctl(), switch_core_sps_last(), and SWITCH_MODULE_RUNTIME_FUNCTION().
int32_t switch_runtime::sps_peak |
Definition at line 248 of file switch_core_pvt.h.
Referenced by send_heartbeat(), switch_core_session_ctl(), switch_core_sps_peak(), and SWITCH_MODULE_RUNTIME_FUNCTION().
int32_t switch_runtime::sps_peak_fivemin |
Definition at line 249 of file switch_core_pvt.h.
Referenced by send_heartbeat(), switch_core_session_ctl(), switch_core_sps_peak_fivemin(), and SWITCH_MODULE_RUNTIME_FUNCTION().
uint32_t switch_runtime::sps_total |
Definition at line 245 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_session_ctl(), switch_core_sessions_per_second(), and SWITCH_MODULE_RUNTIME_FUNCTION().
int switch_runtime::state_handler_index |
Definition at line 234 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 233 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 274 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 241 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_core_session_ctl(), switch_core_session_request_uuid(), and SWITCH_MODULE_RUNTIME_FUNCTION().
uint32_t switch_runtime::time_sync |
Definition at line 280 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 268 of file switch_core_pvt.h.
Referenced by switch_core_init(), switch_load_core_config(), and SWITCH_MODULE_RUNTIME_FUNCTION().
switch_time_t switch_runtime::timestamp |
Definition at line 239 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 265 of file switch_core_pvt.h.
Referenced by switch_cond_next(), switch_core_init(), 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 240 of file switch_core_pvt.h.
Referenced by switch_core_init(), and switch_uuid_get().
char switch_runtime::uuid_str[SWITCH_UUID_FORMATTED_LENGTH+1] |
Definition at line 237 of file switch_core_pvt.h.
Referenced by switch_core_get_uuid(), and switch_core_init().