mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "ARI: Added new functionality to get all module information." into 13
This commit is contained in:
@@ -160,6 +160,24 @@ int ast_update_module_list(int (*modentry)(const char *module, const char *descr
|
||||
enum ast_module_support_level support_level),
|
||||
const char *like);
|
||||
|
||||
/*!
|
||||
* \brief Ask for a list of modules, descriptions, use counts and status.
|
||||
* \param modentry A callback to an updater function
|
||||
* \param like
|
||||
* \param data Data passed into the callback for manipulation
|
||||
*
|
||||
* For each of the modules loaded, modentry will be executed with the resource,
|
||||
* description, and usecount values of each particular module.
|
||||
*
|
||||
* \return the number of modules loaded
|
||||
* \since 13.5.0
|
||||
*/
|
||||
int ast_update_module_list_data(int (*modentry)(const char *module, const char *description,
|
||||
int usecnt, const char *status, const char *like,
|
||||
enum ast_module_support_level support_level,
|
||||
void *data),
|
||||
const char *like, void *data);
|
||||
|
||||
/*!
|
||||
* \brief Check if module with the name given is loaded
|
||||
* \param name Module name, like "chan_sip.so"
|
||||
|
Reference in New Issue
Block a user