diff options
author | Matt Jordan <mjordan@digium.com> | 2015-07-10 21:46:38 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-07-10 21:46:38 -0500 |
commit | e51d86682a33ab410c3fa0ceb069657614915ef9 (patch) | |
tree | 4aa1c12332edd053ed6ee29bdb7d2aac86310ac3 /res/ari/ari_model_validators.h | |
parent | 37e1c479cac3aad5c4e45ec1037a800c157cd010 (diff) | |
parent | 47ea312b2402bf31a0f1ccb9d73a6b8b7d814b09 (diff) |
Merge "ARI: Added new functionality to get all module information." into 13
Diffstat (limited to 'res/ari/ari_model_validators.h')
-rw-r--r-- | res/ari/ari_model_validators.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/res/ari/ari_model_validators.h b/res/ari/ari_model_validators.h index 1fafba3b5..41b91791d 100644 --- a/res/ari/ari_model_validators.h +++ b/res/ari/ari_model_validators.h @@ -207,6 +207,24 @@ int ast_ari_validate_config_info(struct ast_json *json); ari_validator ast_ari_validate_config_info_fn(void); /*! + * \brief Validator for Module. + * + * Details of an Asterisk module + * + * \param json JSON object to validate. + * \returns True (non-zero) if valid. + * \returns False (zero) if invalid. + */ +int ast_ari_validate_module(struct ast_json *json); + +/*! + * \brief Function pointer to ast_ari_validate_module(). + * + * See \ref ast_ari_model_validators.h for more details. + */ +ari_validator ast_ari_validate_module_fn(void); + +/*! * \brief Validator for SetId. * * Effective user/group id @@ -1244,6 +1262,12 @@ ari_validator ast_ari_validate_application_fn(void); * - max_open_files: int * - name: string (required) * - setid: SetId (required) + * Module + * - description: string (required) + * - name: string (required) + * - status: string (required) + * - support_level: string (required) + * - use_count: int (required) * SetId * - group: string (required) * - user: string (required) |