mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FSCORE-662
This commit is contained in:
@@ -120,6 +120,25 @@ SWITCH_DECLARE(switch_codec_interface_t *) switch_loadable_module_get_codec_inte
|
||||
*/
|
||||
SWITCH_DECLARE(switch_dialplan_interface_t *) switch_loadable_module_get_dialplan_interface(const char *name);
|
||||
|
||||
/*!
|
||||
\brief Enumerates a list of all modules discovered in a directory
|
||||
\param the directory to look for modules in
|
||||
\param memory pool
|
||||
\param callback function to call for each module found
|
||||
\param user data argument to pass to the callback function
|
||||
\return the resulting status
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_loadable_module_enumerate_available(const char *dir_path, switch_modulename_callback_func_t callback, void *user_data);
|
||||
|
||||
|
||||
/*!
|
||||
\brief Enumerates a list of all currently loaded modules
|
||||
\param callback function to call for each module found
|
||||
\param user data argument to pass to the callback function
|
||||
\return the resulting status
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status_t) switch_loadable_module_enumerate_loaded(switch_modulename_callback_func_t callback, void *user_data);
|
||||
|
||||
/*!
|
||||
\brief build a dynamic module object and register it (for use in double embeded modules)
|
||||
\param filename the name of the modules source file
|
||||
|
||||
Reference in New Issue
Block a user