summaryrefslogtreecommitdiff
path: root/include/asterisk/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/config.h')
-rw-r--r--include/asterisk/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index 23c91b027..6489344ad 100644
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -844,8 +844,11 @@ void ast_category_append(struct ast_config *config, struct ast_category *cat);
*
* \details
* This function is used to apply a base (template) to an existing category
+ *
+ * \retval 0 if succeeded
+ * \retval -1 if the memory allocation failed
*/
-void ast_category_inherit(struct ast_category *existing, const struct ast_category *base);
+int ast_category_inherit(struct ast_category *existing, const struct ast_category *base);
/*!
* \brief Removes and destroys all variables in a category