settings-get.pl (dovecot-2.3.16) | : | settings-get.pl (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
print '#include "str.h"'."\n"; | print '#include "str.h"'."\n"; | |||
print '#include "ipwd.h"'."\n"; | print '#include "ipwd.h"'."\n"; | |||
print '#include "var-expand.h"'."\n"; | print '#include "var-expand.h"'."\n"; | |||
print '#include "file-lock.h"'."\n"; | print '#include "file-lock.h"'."\n"; | |||
print '#include "fsync-mode.h"'."\n"; | print '#include "fsync-mode.h"'."\n"; | |||
print '#include "hash-format.h"'."\n"; | print '#include "hash-format.h"'."\n"; | |||
print '#include "net.h"'."\n"; | print '#include "net.h"'."\n"; | |||
print '#include "unichar.h"'."\n"; | print '#include "unichar.h"'."\n"; | |||
print '#include "hash-method.h"'."\n"; | print '#include "hash-method.h"'."\n"; | |||
print '#include "settings-parser.h"'."\n"; | print '#include "settings-parser.h"'."\n"; | |||
print '#include "message-header-parser.h"'."\n"; | ||||
print '#include "all-settings.h"'."\n"; | print '#include "all-settings.h"'."\n"; | |||
print '#include <stddef.h>'."\n"; | print '#include <stddef.h>'."\n"; | |||
print '#include <unistd.h>'."\n"; | print '#include <unistd.h>'."\n"; | |||
print '#define CONFIG_BINARY'."\n"; | print '#define CONFIG_BINARY'."\n"; | |||
print 'extern buffer_t config_all_services_buf;'; | print 'extern buffer_t config_all_services_buf;'; | |||
my @services = (); | my @services = (); | |||
my @service_ifdefs = (); | my @service_ifdefs = (); | |||
my %parsers = {}; | my %parsers = {}; | |||
skipping to change at line 150 | skipping to change at line 151 | |||
print "#endif\n" if ($ifdef ne ""); | print "#endif\n" if ($ifdef ne ""); | |||
} | } | |||
print "};\n"; | print "};\n"; | |||
print "buffer_t config_all_services_buf = {\n"; | print "buffer_t config_all_services_buf = {\n"; | |||
print "\t{ { config_all_services, sizeof(config_all_services) } }\n"; | print "\t{ { config_all_services, sizeof(config_all_services) } }\n"; | |||
print "};\n"; | print "};\n"; | |||
print "const struct setting_parser_info *all_default_roots[] = {\n"; | print "const struct setting_parser_info *all_default_roots[] = {\n"; | |||
print "\t&master_service_setting_parser_info,\n"; | print "\t&master_service_setting_parser_info,\n"; | |||
print "\t&master_service_ssl_setting_parser_info,\n"; | print "\t&master_service_ssl_setting_parser_info,\n"; | |||
print "\t&master_service_ssl_server_setting_parser_info,\n"; | ||||
print "\t&smtp_submit_setting_parser_info,\n"; | print "\t&smtp_submit_setting_parser_info,\n"; | |||
foreach my $name (sort(keys %parsers)) { | foreach my $name (sort(keys %parsers)) { | |||
my $module = $parsers{$name}; | my $module = $parsers{$name}; | |||
next if (!$module); | next if (!$module); | |||
print "\t&".$name.", \n"; | print "\t&".$name.", \n"; | |||
} | } | |||
print "\tNULL\n"; | print "\tNULL\n"; | |||
print "};\n"; | print "};\n"; | |||
print "const struct setting_parser_info *const *all_roots = all_default_roots;\n "; | print "const struct setting_parser_info *const *all_roots = all_default_roots;\n "; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |