diff src/config/config-parser.h @ 10981:02e0d6f0e1d4 HEAD

doveconf: When module is given, ignore checks for non-required settings.
author Timo Sirainen <tss@iki.fi>
date Thu, 25 Mar 2010 19:19:02 +0200
parents 30e2d65eb67a
children 3fc759d5e736
line wrap: on
line diff
--- a/src/config/config-parser.h	Thu Mar 25 17:41:16 2010 +0200
+++ b/src/config/config-parser.h	Thu Mar 25 19:19:02 2010 +0200
@@ -13,12 +13,13 @@
 extern struct config_module_parser *config_module_parsers;
 extern struct config_filter_context *config_filter;
 
-int config_parse_file(const char *path, bool expand_values,
+int config_parse_file(const char *path, bool expand_values, const char *module,
 		      const char **error_r);
 
 void config_parse_load_modules(void);
 
-bool config_module_want_parser(const char *module,
+bool config_module_want_parser(struct config_module_parser *parsers,
+			       const char *module,
 			       const struct setting_parser_info *root);
 
 #endif