RTS API Documentation  1.10.11
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_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
 
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
 
uint32_t event_heartbeat_interval
 
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
 
char * event_channel_key_separator
 
uint32_t max_audio_channels
 
switch_call_cause_t shutdown_cause
 

Detailed Description

Definition at line 224 of file switch_core_pvt.h.

Field Documentation

◆ colorize_console

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().

◆ console

FILE* switch_runtime::console

◆ core_db_inner_post_trans_execute

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().

◆ core_db_inner_pre_trans_execute

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().

◆ core_db_post_trans_execute

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().

◆ core_db_pre_trans_execute

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().

◆ cpu_count

int switch_runtime::cpu_count

◆ cpu_idle_smoothing_depth

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().

◆ db_handle_timeout

uint32_t switch_runtime::db_handle_timeout

◆ dbname

char* switch_runtime::dbname

◆ debug_level

uint32_t switch_runtime::debug_level

◆ default_dtmf_duration

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().

◆ dummy_cng_frame

switch_frame_t switch_runtime::dummy_cng_frame

◆ dummy_data

char switch_runtime::dummy_data[5]

Definition at line 259 of file switch_core_pvt.h.

Referenced by switch_core_init().

◆ event_channel_key_separator

char* switch_runtime::event_channel_key_separator

◆ event_heartbeat_interval

uint32_t switch_runtime::event_heartbeat_interval

◆ events_use_dispatch

int switch_runtime::events_use_dispatch

◆ flags

uint32_t switch_runtime::flags

Definition at line 238 of file switch_core_pvt.h.

Referenced by switch_core_flags(), and switch_core_init().

◆ global_mutex

switch_mutex_t* switch_runtime::global_mutex

◆ global_var_rwlock

switch_thread_rwlock_t* switch_runtime::global_var_rwlock

◆ global_vars

switch_event_t* switch_runtime::global_vars

◆ hard_log_level

switch_log_level_t switch_runtime::hard_log_level

◆ hostname

char switch_runtime::hostname[256]

◆ initiated

switch_time_t switch_runtime::initiated

◆ mailer_app

char* switch_runtime::mailer_app

◆ mailer_app_args

char* switch_runtime::mailer_app_args

◆ max_audio_channels

uint32_t switch_runtime::max_audio_channels

Definition at line 288 of file switch_core_pvt.h.

Referenced by switch_core_max_audio_channels().

◆ max_db_handles

uint32_t switch_runtime::max_db_handles

◆ max_dtmf_duration

uint32_t switch_runtime::max_dtmf_duration

◆ memory_pool

switch_memory_pool_t* switch_runtime::memory_pool

◆ microseconds_per_tick

uint32_t switch_runtime::microseconds_per_tick

◆ mime_type_exts

switch_hash_t* switch_runtime::mime_type_exts

◆ mime_types

switch_hash_t* switch_runtime::mime_types

◆ min_dtmf_duration

uint32_t switch_runtime::min_dtmf_duration

◆ min_idle_time

double switch_runtime::min_idle_time

◆ multiple_registrations

int switch_runtime::multiple_registrations

◆ odbc_dbtype

switch_dbtype_t switch_runtime::odbc_dbtype

◆ odbc_dsn

char* switch_runtime::odbc_dsn

◆ offset

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().

◆ port_alloc_flags

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().

◆ profile_time

double switch_runtime::profile_time

◆ profile_timer

switch_profile_timer_t* switch_runtime::profile_timer

Definition at line 269 of file switch_core_pvt.h.

Referenced by SWITCH_MODULE_RUNTIME_FUNCTION().

◆ ptimes

switch_hash_t* switch_runtime::ptimes

◆ reference

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().

◆ runlevel

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().

◆ running

uint8_t switch_runtime::running

◆ session_hash_mutex

switch_mutex_t* switch_runtime::session_hash_mutex

◆ sessions_peak

int32_t switch_runtime::sessions_peak

◆ sessions_peak_fivemin

int32_t switch_runtime::sessions_peak_fivemin

◆ shutdown_cause

switch_call_cause_t switch_runtime::shutdown_cause

◆ sps

int32_t switch_runtime::sps

◆ sps_last

int32_t switch_runtime::sps_last

◆ sps_peak

int32_t switch_runtime::sps_peak

◆ sps_peak_fivemin

int32_t switch_runtime::sps_peak_fivemin

◆ sps_total

uint32_t switch_runtime::sps_total

◆ state_handler_index

int switch_runtime::state_handler_index

◆ state_handlers

const switch_state_handler_table_t* switch_runtime::state_handlers[SWITCH_MAX_STATE_HANDLERS]

◆ switchname

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().

◆ throttle_mutex

switch_mutex_t* switch_runtime::throttle_mutex

◆ time_sync

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().

◆ timer_affinity

int32_t switch_runtime::timer_affinity

◆ timestamp

switch_time_t switch_runtime::timestamp

◆ tipping_point

uint32_t switch_runtime::tipping_point

◆ uuid_mutex

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().

◆ uuid_str

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().


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