56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen void *(*mail_transaction_begin)(struct mailbox_transaction_context *t);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen void (*mail_save)(void *txn, struct mail *mail);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen void (*mail_copy)(void *txn, struct mail *src, struct mail *dst);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen void (*mail_expunge)(void *txn, struct mail *mail);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen void (*mail_update_flags)(void *txn, struct mail *mail,
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen void (*mail_update_keywords)(void *txn, struct mail *mail,
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen const char *const *old_keywords);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainen struct mail_transaction_commit_changes *changes);
61b0637759146621cbb7edcbd0b03a71cfd66dfeTimo Sirainen void *(*mailbox_delete_begin)(struct mailbox *box);
61b0637759146621cbb7edcbd0b03a71cfd66dfeTimo Sirainen void (*mailbox_delete_commit)(void *txn, struct mailbox *box);
71e88fae3be360e9a93b3398e743f99a6f05d2edTimo Sirainen void (*mailbox_rename)(struct mailbox *src, struct mailbox *dest);
95c4f06cba717df14358ec883b1bd1aec6cbf0a1Timo Sirainen void (*mailbox_set_subscribed)(struct mailbox *box, bool subscribed);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainennotify_register(const struct notify_vfuncs *vfuncs);
56c35c844320b0a157d1aaa6b3e62b7f3851b235Timo Sirainenvoid notify_unregister(struct notify_context *ctx);