dovecot-2.2: lib-storage: Added mail_storage_service_user_get_se...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Sep 6 19:29:17 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/5d583816b7c9
changeset: 19093:5d583816b7c9
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 06 22:27:29 2015 +0300
description:
lib-storage: Added mail_storage_service_user_get_service_ctx()
diffstat:
src/lib-storage/mail-storage-service.c | 6 ++++++
src/lib-storage/mail-storage-service.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r ef68e77f7e71 -r 5d583816b7c9 src/lib-storage/mail-storage-service.c
--- a/src/lib-storage/mail-storage-service.c Fri Sep 04 13:00:25 2015 +0300
+++ b/src/lib-storage/mail-storage-service.c Sun Sep 06 22:27:29 2015 +0300
@@ -1547,6 +1547,12 @@
return user->set_parser;
}
+struct mail_storage_service_ctx *
+mail_storage_service_user_get_service_ctx(struct mail_storage_service_user *user)
+{
+ return user->service_ctx;
+}
+
void *mail_storage_service_get_settings(struct master_service *service)
{
void **sets, *set;
diff -r ef68e77f7e71 -r 5d583816b7c9 src/lib-storage/mail-storage-service.h
--- a/src/lib-storage/mail-storage-service.h Fri Sep 04 13:00:25 2015 +0300
+++ b/src/lib-storage/mail-storage-service.h Sun Sep 06 22:27:29 2015 +0300
@@ -127,6 +127,8 @@
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);
+struct mail_storage_service_ctx *
+mail_storage_service_user_get_service_ctx(struct mail_storage_service_user *user);
const struct var_expand_table *
mail_storage_service_get_var_expand_table(struct mail_storage_service_ctx *ctx,
More information about the dovecot-cvs
mailing list