mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-18 18:21:54 +00:00
add module_exists api call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8984 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -241,6 +241,13 @@ SWITCH_DECLARE(switch_status_t) switch_api_execute(const char *cmd, const char *
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname, switch_bool_t runtime, const char **err);
|
||||
|
||||
/*!
|
||||
\brief Check if a module is loaded
|
||||
\param mod the module name
|
||||
\return the status
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_loadable_module_exists(const char *mod);
|
||||
|
||||
/*!
|
||||
\brief Unoad a module
|
||||
\param dir the directory where the module resides
|
||||
|
||||
Reference in New Issue
Block a user