RTS API Documentation
1.10.11
|
Functions | |
switch_status_t | switch_core_init (_In_ switch_core_flag_t flags, _In_ switch_bool_t console, _Out_ const char **err) |
Initilize the core. More... | |
switch_status_t | switch_core_init_and_modload (_In_ switch_core_flag_t flags, _In_ switch_bool_t console, _Out_ const char **err) |
Initilize the core and load modules. More... | |
uint32_t | switch_core_session_limit (_In_ uint32_t new_limit) |
Set/Get Session Limit. More... | |
uint32_t | switch_core_sessions_per_second (_In_ uint32_t new_limit) |
Set/Get Session Rate Limit. More... | |
switch_status_t | switch_core_destroy (void) |
Destroy the core. More... | |
switch_status_t switch_core_destroy | ( | void | ) |
Destroy the core.
Definition at line 3020 of file switch_core.c.
References switch_directories::base_dir, switch_directories::cache_dir, switch_directories::certs_dir, switch_directories::conf_dir, switch_filenames::conf_name, switch_runtime::console, switch_directories::data_dir, switch_directories::db_dir, switch_directories::fonts_dir, switch_runtime::global_vars, switch_directories::grammar_dir, switch_ip_list_t::hash, switch_directories::htdocs_dir, switch_directories::images_dir, switch_directories::lib_dir, switch_directories::localstate_dir, switch_directories::log_dir, switch_runtime::memory_pool, switch_runtime::mime_type_exts, switch_runtime::mime_types, switch_directories::mod_dir, switch_ip_list_t::pool, switch_runtime::ptimes, switch_directories::recordings_dir, switch_directories::run_dir, SCF_NO_NEW_SESSIONS, SCF_RESTART, SCF_SHUTTING_DOWN, SCF_USE_AUTO_NAT, switch_directories::script_dir, switch_runtime::shutdown_cause, switch_directories::sounds_dir, switch_directories::storage_dir, switch_channel_global_uninit(), SWITCH_CHANNEL_LOG, switch_console_shutdown(), switch_core_destroy_memory_pool, switch_core_hash_destroy(), switch_core_media_deinit(), switch_core_memory_stop(), switch_core_session_hupall(), switch_core_session_uninit(), switch_core_unset_variables(), switch_curl_destroy(), switch_event_add_header(), switch_event_create, switch_event_destroy(), switch_event_fire, switch_event_shutdown(), SWITCH_EVENT_SHUTDOWN, SWITCH_GLOBAL_dirs, SWITCH_GLOBAL_filenames, switch_loadable_module_shutdown(), SWITCH_LOG_CONSOLE, switch_log_printf(), switch_log_shutdown(), switch_msrp_destroy(), switch_nat_shutdown(), switch_rtp_shutdown(), switch_safe_free, switch_scheduler_task_thread_stop(), switch_set_flag, switch_ssl_destroy_ssl_locks(), SWITCH_STACK_BOTTOM, SWITCH_STATUS_RESTART, SWITCH_STATUS_SUCCESS, switch_test_flag, switch_xml_destroy(), and switch_directories::temp_dir.
Referenced by freeswitch_kill_background(), fs_core_destroy(), and main().
switch_status_t switch_core_init | ( | _In_ switch_core_flag_t | flags, |
_In_ switch_bool_t | console, | ||
_Out_ const char ** | err | ||
) |
Initilize the core.
console | optional FILE stream for output |
flags | core flags |
err | a pointer to set any errors to |
Referenced by fs_core_init(), fst_init_core_and_modload(), and main().
switch_status_t switch_core_init_and_modload | ( | _In_ switch_core_flag_t | flags, |
_In_ switch_bool_t | console, | ||
_Out_ const char ** | err | ||
) |
Initilize the core and load modules.
console | optional FILE stream for output |
flags | core flags |
err | a pointer to set any errors to |
Referenced by freeswitch_kill_background(), fst_init_core_and_modload(), and main().
uint32_t switch_core_session_limit | ( | _In_ uint32_t | new_limit | ) |
Set/Get Session Limit.
new_limit | new value (if > 0) |
Referenced by send_heartbeat(), switch_core_init_and_modload(), switch_core_session_ctl(), and switch_load_core_config().
uint32_t switch_core_sessions_per_second | ( | _In_ uint32_t | new_limit | ) |
Set/Get Session Rate Limit.
new_limit | new value (if > 0) |
Referenced by switch_core_init_and_modload(), and switch_load_core_config().