notify-plugin.c revision 132bfe8fcb7a1be790dc8b5bf9d155c9f060808d
#include "lib.h"
#include "llist.h"
#include "mail-storage.h"
#include "notify-plugin-private.h"
#include <stdlib.h>
struct notify_mail_txn {
void *txn;
};
struct notify_context {
struct notify_vfuncs v;
struct notify_mail_txn *mail_txn_list;
void *mailbox_delete_txn;
};
const char *notify_plugin_version = DOVECOT_VERSION;
static struct notify_mail_txn *
struct mailbox_transaction_context *t)
{
if (mail_txn->parent_mailbox_txn == t)
return mail_txn;
}
i_panic("no notify_mail_txn found");
}
void notify_contexts_mail_transaction_begin(struct mailbox_transaction_context *t)
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
mail_txn->parent_mailbox_txn = t;
ctx->v.mail_transaction_begin(t);
}
}
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
continue;
}
}
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
continue;
}
}
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
continue;
}
}
enum mail_flags old_flags)
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
continue;
}
}
const char *const *old_keywords)
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
continue;
}
}
void notify_contexts_mail_transaction_commit(struct mailbox_transaction_context *t,
struct mail_transaction_commit_changes *changes)
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
continue;
}
}
void notify_contexts_mail_transaction_rollback(struct mailbox_transaction_context *t)
{
struct notify_context *ctx;
struct notify_mail_txn *mail_txn;
}
}
{
struct notify_context *ctx;
}
}
{
struct notify_context *ctx;
}
}
{
struct notify_context *ctx;
box);
}
}
}
void notify_contexts_mailbox_delete_rollback(void)
{
struct notify_context *ctx;
}
}
bool rename_children)
{
struct notify_context *ctx;
}
struct notify_context *
notify_register(const struct notify_vfuncs *v)
{
struct notify_context *ctx;
ctx->v = *v;
return ctx;
}
{
}
}
{
}
void notify_plugin_deinit(void)
{
}