Mercurial > dovecot > core-2.2
diff src/config/config-parser.h @ 9856:6103d925e018 HEAD
config: Code cleanups.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 02 Sep 2009 16:48:06 -0400 |
parents | d7ccdbb58a03 |
children | dcda7c495eb6 |
line wrap: on
line diff
--- a/src/config/config-parser.h Wed Sep 02 16:21:41 2009 -0400 +++ b/src/config/config-parser.h Wed Sep 02 16:48:06 2009 -0400 @@ -1,15 +1,15 @@ #ifndef CONFIG_PARSER_H #define CONFIG_PARSER_H -struct config_setting_parser_list { +struct config_module_parser { const char *module_name; struct setting_parser_info *root; struct setting_parser_context *parser; void *settings; }; -ARRAY_DEFINE_TYPE(config_setting_parsers, struct config_setting_parser_list *); +ARRAY_DEFINE_TYPE(config_module_parsers, struct config_module_parser *); -extern struct config_setting_parser_list *config_setting_parsers; +extern struct config_module_parser *config_module_parsers; extern struct config_filter_context *config_filter; int config_parse_file(const char *path, bool expand_files,