diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-22 22:13:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-22 22:13:11 +0000 |
commit | a3a8a2b9dc120cccffbb20c7f3c7aacedf30cd2e (patch) | |
tree | 4ae1df19351ad35fdd14a5dca93df8d568353c5b /include/asterisk/config.h | |
parent | 9c895d32faea27058bc558ad071d237ee8e6354a (diff) |
Un-revert in preparation for actual fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4880 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/config.h')
-rwxr-xr-x | include/asterisk/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index 9abb5c0ce..b8be39bf7 100755 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -96,6 +96,13 @@ int ast_true(const char *val); */ int ast_false(const char *val); +/*! Retrieve a category if it exists + * \param config which config to use + * \param category_name name of the category you're looking for + * This will search through the categories within a given config file and search for a match. The passed category_name can be a regular string. + * Returns pointer to category if found, NULL if not. */ +struct ast_category *ast_category_get(const struct ast_config *config, const char *category_name); + /*! Check for category duplicates */ /*! * \param config which config to use |