Mercurial > dovecot > core-2.2
diff src/config/settings-get.pl @ 10181:4dc080520769 HEAD
config: Added support for dynamically loaded settings.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 26 Oct 2009 13:47:27 -0400 |
parents | afe52d60989c |
children | e18645b47984 |
line wrap: on
line diff
--- a/src/config/settings-get.pl Fri Oct 23 21:48:42 2009 -0400 +++ b/src/config/settings-get.pl Mon Oct 26 13:47:27 2009 -0400 @@ -105,7 +105,7 @@ print "\tconfig_all_services, sizeof(config_all_services), { 0, }\n"; print "};\n"; -print "const struct setting_parser_info *all_roots[] = {\n"; +print "const struct setting_parser_info *all_default_roots[] = {\n"; foreach my $name (keys %parsers) { my $module = $parsers{$name}; next if (!$module); @@ -114,3 +114,4 @@ } print "\tNULL\n"; print "};\n"; +print "const struct setting_parser_info *const *all_roots = all_default_roots;\n";