diff options
author | Mark Spencer <markster@digium.com> | 2006-07-29 22:02:37 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2006-07-29 22:02:37 +0000 |
commit | f2a6636210a17d11bb6b1b91ac71c8a4ad7d770d (patch) | |
tree | 96ad3d96671b61e21448bc41176fc3e00ffcb470 /include | |
parent | 193aab348cb1d4008f3d319cc3e1ef6c4f8cb7a6 (diff) |
Allow updates to match specific lines, allow specification of object or
no when appending.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index 7c3d75b44..43e1d7480 100644 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -182,8 +182,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); -int ast_variable_update(struct ast_category *category, char *variable, char *value); +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 config_text_file_save(const char *filename, const struct ast_config *cfg, const char *generator); |