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
This commit is contained in:
Mark Spencer
2006-07-29 22:02:37 +00:00
parent 193aab348c
commit f2a6636210
3 changed files with 26 additions and 16 deletions

View File

@@ -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);