aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/config.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-16 06:01:50 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-16 06:01:50 +0000
commit19ee484e4490b4aff857471955d42831a261e49e (patch)
tree014581908ebd1dccefb9a9070808142cbf905468 /include/asterisk/config.h
parent5e9645e4bf538f440a520c6c11a0da28b993ae0e (diff)
config restructure, sip peer completion (bug #3352, #3327)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4808 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/config.h')
-rwxr-xr-xinclude/asterisk/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index 2d820b3a1..4e7569c26 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