mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
add load command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1209 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -187,6 +187,15 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(switch_codec_interf
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status) switch_api_execute(char *cmd, char *arg, char *retbuf, switch_size_t len);
|
||||
|
||||
|
||||
/*!
|
||||
\brief Load a module
|
||||
\param dir the directory where the module resides
|
||||
\param fname the file name of the module
|
||||
\return the status
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status) switch_loadable_module_load_module(char *dir, char *fname);
|
||||
|
||||
/* Prototypes of module interface functions */
|
||||
|
||||
/*!
|
||||
@@ -202,6 +211,7 @@ SWITCH_MOD_DECLARE(switch_status) switch_module_resume(void);
|
||||
SWITCH_MOD_DECLARE(switch_status) switch_module_status(void);
|
||||
SWITCH_MOD_DECLARE(switch_status) switch_module_runtime(void);
|
||||
|
||||
|
||||
/*!
|
||||
\brief Shutdown a module
|
||||
\return SWITCH_STATUS_SUCCESS on a successful shutdown
|
||||
|
||||
Reference in New Issue
Block a user