diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-16 22:59:30 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-16 22:59:30 +0000 |
commit | 97956e0b080f165b8c3f83a8f9c0d921926b0613 (patch) | |
tree | 84c2923fd344e5bf0c06914b1cde63e6eefded0c /include/asterisk/config.h | |
parent | d8b31ce4ced6db8c93171133f5d97bc1a39bbed3 (diff) |
Optimize module loading (bug #3356)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4814 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/config.h')
-rwxr-xr-x | 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 4e7569c26..b8be39bf7 100755 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -68,7 +68,7 @@ char *ast_category_browse(struct ast_config *config, char *prev); * List variables of config file * Returns ast_variable list on success, or NULL on failure */ -struct ast_variable *ast_variable_browse(struct ast_config *config, char *category); +struct ast_variable *ast_variable_browse(const struct ast_config *config, const char *category); /*! Gets a variable */ /*! @@ -78,7 +78,7 @@ struct ast_variable *ast_variable_browse(struct ast_config *config, char *catego * Goes through a given config file in the given category and searches for the given variable * Returns the variable value on success, or NULL if unable to find it. * Retrieve a specific variable */ -char *ast_variable_retrieve(struct ast_config *config, char *category, char *value); +char *ast_variable_retrieve(const struct ast_config *config, const char *category, const char *value); /*! Make sure something is true */ /*! |