FreeSWITCH API Documentation  1.7.0
Data Fields
switch_runtime Struct Reference

#include <switch_core_pvt.h>

+ Collaboration diagram for switch_runtime:

Data Fields

switch_time_t initiated
 
switch_time_t reference
 
int64_t offset
 
switch_event_tglobal_vars
 
switch_hash_tmime_types
 
switch_hash_tmime_type_exts
 
switch_hash_tptimes
 
switch_memory_pool_tmemory_pool
 
const
switch_state_handler_table_t
state_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
 
int32_t sps_peak
 
int32_t sps_peak_fivemin
 
int32_t sessions_peak
 
int32_t sessions_peak_fivemin
 
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 * dbname
 
uint32_t debug_level
 
uint32_t runlevel
 
uint32_t tipping_point
 
uint32_t cpu_idle_smoothing_depth
 
uint32_t microseconds_per_tick
 
int32_t timer_affinity
 
switch_profile_timer_tprofile_timer
 
double profile_time
 
double min_idle_time
 
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
 
int events_use_dispatch
 
uint32_t port_alloc_flags
 

Detailed Description

Definition at line 239 of file switch_core_pvt.h.

Field Documentation

switch_bool_t switch_runtime::colorize_console

Definition at line 275 of file switch_core_pvt.h.

Referenced by switch_core_init(), and switch_load_core_config().

FILE* switch_runtime::console
char* switch_runtime::core_db_inner_post_trans_execute

Definition at line 298 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 297 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 296 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 295 of file switch_core_pvt.h.

Referenced by switch_core_sqldb_start_thread(), and switch_load_core_config().

int switch_runtime::cpu_count
uint32_t switch_runtime::cpu_idle_smoothing_depth

Definition at line 281 of file switch_core_pvt.h.

Referenced by switch_load_core_config(), and switch_new_profile_timer().

uint32_t switch_runtime::db_handle_timeout
char* switch_runtime::dbname
uint32_t switch_runtime::debug_level
uint32_t switch_runtime::default_dtmf_duration

Definition at line 272 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
char switch_runtime::dummy_data[5]

Definition at line 274 of file switch_core_pvt.h.

Referenced by switch_core_init().

int switch_runtime::events_use_dispatch
uint32_t switch_runtime::flags

Definition at line 253 of file switch_core_pvt.h.

Referenced by switch_core_flags(), and switch_core_init().

switch_mutex_t* switch_runtime::global_mutex
switch_thread_rwlock_t* switch_runtime::global_var_rwlock
switch_event_t* switch_runtime::global_vars
switch_log_level_t switch_runtime::hard_log_level
char switch_runtime::hostname[256]
switch_time_t switch_runtime::initiated
char* switch_runtime::mailer_app
char* switch_runtime::mailer_app_args
uint32_t switch_runtime::max_db_handles
uint32_t switch_runtime::max_dtmf_duration
switch_memory_pool_t* switch_runtime::memory_pool
uint32_t switch_runtime::microseconds_per_tick
switch_hash_t* switch_runtime::mime_type_exts
switch_hash_t* switch_runtime::mime_types
uint32_t switch_runtime::min_dtmf_duration
double switch_runtime::min_idle_time
int switch_runtime::multiple_registrations
switch_dbtype_t switch_runtime::odbc_dbtype
char* switch_runtime::odbc_dsn
int64_t switch_runtime::offset

Definition at line 242 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 300 of file switch_core_pvt.h.

Referenced by switch_core_port_allocator_new(), and switch_load_core_config().

double switch_runtime::profile_time
switch_profile_timer_t* switch_runtime::profile_timer

Definition at line 284 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().

switch_hash_t* switch_runtime::ptimes
switch_time_t switch_runtime::reference

Definition at line 241 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().

uint32_t switch_runtime::runlevel

Definition at line 279 of file switch_core_pvt.h.

Referenced by switch_core_init(), and switch_core_init_and_modload().

uint8_t switch_runtime::running
switch_mutex_t* switch_runtime::session_hash_mutex
int32_t switch_runtime::sessions_peak
int32_t switch_runtime::sessions_peak_fivemin
int32_t switch_runtime::sps
int32_t switch_runtime::sps_last

Definition at line 262 of file switch_core_pvt.h.

Referenced by switch_core_session_ctl(), and SWITCH_MODULE_RUNTIME_FUNCTION().

int32_t switch_runtime::sps_peak
int32_t switch_runtime::sps_peak_fivemin
uint32_t switch_runtime::sps_total
int switch_runtime::state_handler_index
const switch_state_handler_table_t* switch_runtime::state_handlers[SWITCH_MAX_STATE_HANDLERS]
char* switch_runtime::switchname

Definition at line 289 of file switch_core_pvt.h.

Referenced by switch_core_get_switchname(), and switch_load_core_config().

switch_mutex_t* switch_runtime::throttle_mutex
uint32_t switch_runtime::time_sync

Definition at line 294 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION(), and switch_time_sync().

int32_t switch_runtime::timer_affinity
switch_time_t switch_runtime::timestamp
uint32_t switch_runtime::tipping_point
switch_mutex_t* switch_runtime::uuid_mutex

Definition at line 255 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 252 of file switch_core_pvt.h.

Referenced by switch_core_get_uuid(), and switch_core_init().


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