]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Add mail_storage_service_user_get_pool()
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 14 Nov 2016 23:42:27 +0000 (00:42 +0100)
committerGitLab <gitlab@git.dovecot.net>
Fri, 18 Nov 2016 11:42:01 +0000 (13:42 +0200)
src/lib-storage/mail-storage-service.c
src/lib-storage/mail-storage-service.h

index 5ca5be79192cfb330eec24b534751330a5699a57..fc003fea4d1a95f6c731d4ee8670c668157c72f5 100644 (file)
@@ -1634,6 +1634,11 @@ mail_storage_service_user_get_service_ctx(struct mail_storage_service_user *user
        return user->service_ctx;
 }
 
+pool_t mail_storage_service_user_get_pool(struct mail_storage_service_user *user)
+{
+       return user->pool;
+}
+
 void *mail_storage_service_get_settings(struct master_service *service)
 {
        void **sets, *set;
index 8ca5ce55c5f8eb754c92b05cf40f890ad4aad733..8bc992cd56a435402e6edf81ea16584652a71a05 100644 (file)
@@ -146,6 +146,7 @@ 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);
+pool_t mail_storage_service_user_get_pool(struct mail_storage_service_user *user);
 
 const struct var_expand_table *
 mail_storage_service_get_var_expand_table(struct mail_storage_service_ctx *ctx,