dovecot-2.0: lib-master: Added missing master_service_get_settin...

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 23 18:11:19 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/94fd6fee57a1
changeset: 12459:94fd6fee57a1
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 23 16:11:15 2010 +0000
description:
lib-master: Added missing master_service_get_settings_parser() required by recent change.

diffstat:

 src/lib-master/master-service-settings.c |  6 ++++++
 src/lib-master/master-service-settings.h |  3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r 10c2540e91b9 -r 94fd6fee57a1 src/lib-master/master-service-settings.c
--- a/src/lib-master/master-service-settings.c	Tue Nov 23 15:59:09 2010 +0000
+++ b/src/lib-master/master-service-settings.c	Tue Nov 23 16:11:15 2010 +0000
@@ -480,6 +480,12 @@
 	return settings_parser_get_list(service->set_parser) + 1;
 }
 
+struct setting_parser_context *
+master_service_get_settings_parser(struct master_service *service)
+{
+	return service->set_parser;
+}
+
 int master_service_set(struct master_service *service, const char *line)
 {
 	return settings_parse_line(service->set_parser, line);
diff -r 10c2540e91b9 -r 94fd6fee57a1 src/lib-master/master-service-settings.h
--- a/src/lib-master/master-service-settings.h	Tue Nov 23 15:59:09 2010 +0000
+++ b/src/lib-master/master-service-settings.h	Tue Nov 23 16:11:15 2010 +0000
@@ -66,6 +66,8 @@
 const struct master_service_settings *
 master_service_settings_get(struct master_service *service);
 void **master_service_settings_get_others(struct master_service *service);
+struct setting_parser_context *
+master_service_get_settings_parser(struct master_service *service);
 
 int master_service_set(struct master_service *service, const char *line);
 
@@ -73,4 +75,5 @@
    and parameter are unaliased before comparing. */
 bool master_service_set_has_config_override(struct master_service *service,
 					    const char *key);
+
 #endif


More information about the dovecot-cvs mailing list