diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-04-23 16:50:12 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2001-04-23 16:50:12 +0000 |
commit | 1f9a30535942c9b35212651b7346f33824eaf55c (patch) | |
tree | 0b2425622e165dbcc8d23d4a4d14320382ad7fd0 /include | |
parent | 738216b6a341fc60a581ed8cbdf62090321b4037 (diff) |
Version 0.1.8 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@294 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index a1e876ecb..d4eccc073 100755 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -23,6 +23,7 @@ struct ast_config; struct ast_variable { char *name; char *value; + int lineno; struct ast_variable *next; }; @@ -38,6 +39,8 @@ struct ast_variable *ast_variable_browse(struct ast_config *config, char *catego char *ast_variable_retrieve(struct ast_config *config, char *category, char *value); /* Determine affermativeness of a boolean value */ int ast_true(char *val); +/* Browse config structure and check for category duplicity Return non-zero if found */ +int ast_category_exist(struct ast_config *config, char *category_name); #if defined(__cplusplus) || defined(c_plusplus) } |