diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 23:58:53 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 23:58:53 +0000 |
commit | 717d699a13256383243efc4b009950ef7d464b43 (patch) | |
tree | a338d2e4eefd3e9c8bf6100cdd9924bda5d1c408 /include/asterisk | |
parent | 60c952cca8959ad43a0fe4a89f407a11bb29f519 (diff) |
a little more const-ification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49727 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index a16de0b53..ac752ca99 100644 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -176,15 +176,15 @@ const char *ast_config_option(struct ast_config *cfg, const char *cat, const cha struct ast_category *ast_category_new(const char *name); void ast_category_append(struct ast_config *config, struct ast_category *cat); -int ast_category_delete(struct ast_config *cfg, char *category); +int ast_category_delete(struct ast_config *cfg, const char *category); void ast_category_destroy(struct ast_category *cat); struct ast_variable *ast_category_detach_variables(struct ast_category *cat); 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_delete(struct ast_category *category, const char *variable, const char *match); +int ast_variable_update(struct ast_category *category, const char *variable, const char *value, const char *match); int config_text_file_save(const char *filename, const struct ast_config *cfg, const char *generator); |