From: Timo Sirainen Date: Wed, 18 Nov 2009 20:19:54 +0000 (-0500) Subject: Added mail_storage_service_user_get_settings_parser(). X-Git-Tag: 2.0.beta1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=608bdb7f008cd5cd332d727018a9e8173abec998;p=thirdparty%2Fdovecot%2Fcore.git Added mail_storage_service_user_get_settings_parser(). --HG-- branch : HEAD --- diff --git a/src/lib-storage/mail-storage-service.c b/src/lib-storage/mail-storage-service.c index e6d2c35add..4df24723aa 100644 --- a/src/lib-storage/mail-storage-service.c +++ b/src/lib-storage/mail-storage-service.c @@ -886,6 +886,12 @@ mail_storage_service_user_get_input(struct mail_storage_service_user *user) return &user->input; } +struct setting_parser_context * +mail_storage_service_user_get_settings_parser(struct mail_storage_service_user *user) +{ + return user->set_parser; +} + void *mail_storage_service_get_settings(struct master_service *service) { void **sets, *set; diff --git a/src/lib-storage/mail-storage-service.h b/src/lib-storage/mail-storage-service.h index bc0d14a622..cf7eac9d44 100644 --- a/src/lib-storage/mail-storage-service.h +++ b/src/lib-storage/mail-storage-service.h @@ -81,6 +81,8 @@ void mail_storage_service_deinit(struct mail_storage_service_ctx **ctx); void **mail_storage_service_user_get_set(struct mail_storage_service_user *user); const struct mail_storage_service_input * mail_storage_service_user_get_input(struct mail_storage_service_user *user); +struct setting_parser_context * +mail_storage_service_user_get_settings_parser(struct mail_storage_service_user *user); /* Return the settings pointed to by set_root parameter in _init() */ void *mail_storage_service_get_settings(struct master_service *service);