diff options
author | Mark Michelson <mmichelson@digium.com> | 2015-07-13 15:15:44 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-07-13 15:15:44 -0500 |
commit | 585d98fbb68495694bf60a811c711d541aade548 (patch) | |
tree | 45b75f021ce9ac017989bf96112597625626e2ab /res/ari/resource_asterisk.h | |
parent | ca65ddcd199dca4681055b51fc63b906e48f1950 (diff) | |
parent | 73e35d20deb57281874939f553fea9fdced2e260 (diff) |
Merge "ARI: Added new functionality to get information on a single module." into 13
Diffstat (limited to 'res/ari/resource_asterisk.h')
-rw-r--r-- | res/ari/resource_asterisk.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/ari/resource_asterisk.h b/res/ari/resource_asterisk.h index b09d2715a..8689f3ec1 100644 --- a/res/ari/resource_asterisk.h +++ b/res/ari/resource_asterisk.h @@ -78,6 +78,19 @@ struct ast_ari_asterisk_list_modules_args { * \param[out] response HTTP response */ void ast_ari_asterisk_list_modules(struct ast_variable *headers, struct ast_ari_asterisk_list_modules_args *args, struct ast_ari_response *response); +/*! Argument struct for ast_ari_asterisk_get_module() */ +struct ast_ari_asterisk_get_module_args { + /*! Module's name */ + const char *module_name; +}; +/*! + * \brief Get Asterisk module information. + * + * \param headers HTTP headers + * \param args Swagger parameters + * \param[out] response HTTP response + */ +void ast_ari_asterisk_get_module(struct ast_variable *headers, struct ast_ari_asterisk_get_module_args *args, struct ast_ari_response *response); /*! Argument struct for ast_ari_asterisk_get_global_var() */ struct ast_ari_asterisk_get_global_var_args { /*! The variable to get */ |