lazy-expunge-plugin.c revision 4a769606eb49926c6dfb9a532186e9e737683283
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen/* Copyright (c) 2006-2016 Dovecot authors, see the included COPYING file */
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen MODULE_CONTEXT(obj, lazy_expunge_mail_storage_module)
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen MODULE_CONTEXT(obj, lazy_expunge_mailbox_list_module)
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen MODULE_CONTEXT(obj, lazy_expunge_mail_user_module)
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen const char *env;
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen union mailbox_transaction_module_context module_ctx;
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainen struct mailbox_transaction_context *dest_trans;
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenconst char *lazy_expunge_plugin_version = DOVECOT_ABI_VERSION;
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic MODULE_CONTEXT_DEFINE_INIT(lazy_expunge_mail_storage_module,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic MODULE_CONTEXT_DEFINE_INIT(lazy_expunge_mail_module,
9f19a50d5966643c4d1c5ca06868ac2ad31bc4d5Timo Sirainenstatic MODULE_CONTEXT_DEFINE_INIT(lazy_expunge_mailbox_list_module,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic MODULE_CONTEXT_DEFINE_INIT(lazy_expunge_mail_user_module,
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9Timo Sirainenstatic const char *
const char *name;
static struct mailbox *
const char **error_r)
const char *name;
return box;
return NULL;
return NULL;
return box;
const char *guid)
void *refcountp;
unsigned int refcount;
unsigned long refcount;
errstr);
const char *error;
int ret;
if (ret == 0) {
static struct mailbox_transaction_context *
struct mailbox_transaction_context *t;
int ret;
return ret;
llist);
const char *env;
void lazy_expunge_plugin_deinit(void)