aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-20 18:19:18 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-20 18:19:18 +0000
commit0cb07a4fdfcb616285b2871b4c78e5de7938c2a8 (patch)
treede9645395f9c17c7de987651bb208dbefa943899 /include
parent75e2414dfa391f029f01296ad8e83661e856f322 (diff)
Fix the UpdateConfig manager action to properly treat "variables" and "objects"
differently (a=b versus a=>b). (issue #9568, reported by pari, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61690 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index a16de0b53..88833d603 100644
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -184,7 +184,8 @@ void ast_category_rename(struct ast_category *cat, const char *name);
struct ast_variable *ast_variable_new(const char *name, const char *value);
void ast_variable_append(struct ast_category *category, struct ast_variable *variable);
int ast_variable_delete(struct ast_category *category, char *variable, char *match);
-int ast_variable_update(struct ast_category *category, char *variable, char *value, char *match);
+int ast_variable_update(struct ast_category *category, const char *variable,
+ const char *value, const char *match, unsigned int object);
int config_text_file_save(const char *filename, const struct ast_config *cfg, const char *generator);