diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-29 22:02:37 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-29 22:02:37 +0000 |
commit | 1e81c26bb995b8499f771b3df7e19db54ad8cb22 (patch) | |
tree | 96ad3d96671b61e21448bc41176fc3e00ffcb470 /include | |
parent | 191e959b7a3c3079a799c7cda7af7653ab6dbdbd (diff) |
Allow updates to match specific lines, allow specification of object or
no when appending.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38489 f38db490-d61c-443f-a65b-d21fe96a405b
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); |