Merge "sorcery: Add ast_sorcery_object_unregister() API call." into 13

This commit is contained in:
Matt Jordan
2015-06-26 11:26:06 -05:00
committed by Gerrit Code Review
2 changed files with 30 additions and 0 deletions
+11
View File
@@ -616,6 +616,17 @@ int ast_sorcery_get_wizard_mapping_count(struct ast_sorcery *sorcery,
int ast_sorcery_get_wizard_mapping(struct ast_sorcery *sorcery,
const char *type, int index, struct ast_sorcery_wizard **wizard, void **data);
/*!
* \brief Unregister an object type
*
* \param sorcery Pointer to a sorcery structure
* \param type Type of object
*
* \retval 0 success
* \retval -1 failure
*/
int ast_sorcery_object_unregister(struct ast_sorcery *sorcery, const char *type);
/*!
* \brief Register an object type
*