Mercurial > dovecot > core-2.2
comparison src/config/config-parser.h @ 15087:8c003fe6f5a6
config: Support looking up config for multiple modules at the same time.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 19 Sep 2012 15:33:10 +0300 |
parents | 31387c9d5b88 |
children | 680f59741e5e |
comparison
equal
deleted
inserted
replaced
15086:04580a59dc53 | 15087:8c003fe6f5a6 |
---|---|
16 extern struct config_filter_context *config_filter; | 16 extern struct config_filter_context *config_filter; |
17 extern struct module *modules; | 17 extern struct module *modules; |
18 | 18 |
19 int config_parse_net(const char *value, struct ip_addr *ip_r, | 19 int config_parse_net(const char *value, struct ip_addr *ip_r, |
20 unsigned int *bits_r, const char **error_r); | 20 unsigned int *bits_r, const char **error_r); |
21 int config_parse_file(const char *path, bool expand_values, const char *module, | 21 int config_parse_file(const char *path, bool expand_values, |
22 const char **error_r); | 22 const char *const *modules, const char **error_r) |
23 ATTR_NULL(3); | |
23 | 24 |
24 void config_parse_load_modules(void); | 25 void config_parse_load_modules(void); |
25 | 26 |
26 bool config_module_want_parser(struct config_module_parser *parsers, | 27 bool config_module_want_parser(struct config_module_parser *parsers, |
27 const char *module, | 28 const char *const *modules, |
28 const struct setting_parser_info *root); | 29 const struct setting_parser_info *root) |
30 ATTR_NULL(2); | |
29 | 31 |
30 #endif | 32 #endif |