mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-11 06:41:51 +00:00
Add switch_core_init_and_modload to core, from switch.c. Add additional shutdown functionality to switch_core_destroy. move around more code in switch.c and fix freeswitch -stop on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2336 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -116,6 +116,14 @@ struct switch_core_runtime;
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_init(char *console, const char **err);
|
||||
|
||||
/*!
|
||||
\brief Initilize the core and load modules
|
||||
\param console optional FILE stream for output
|
||||
\param err a pointer to set any errors to
|
||||
\note to be called at application startup instead of switch_core_init. Includes module loading.
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(char *console, const char **err);
|
||||
|
||||
/*!
|
||||
\brief Set/Get Session Limit
|
||||
\param new_limit new value (if > 0)
|
||||
|
||||
Reference in New Issue
Block a user