mdbox-sync.h revision 20e18d5a18fa7c4bc58de5c9e2301107d23d4faf
#ifndef MDBOX_SYNC_H
#define MDBOX_SYNC_H
struct mailbox;
struct mdbox_mailbox;
enum mdbox_sync_flags {
MDBOX_SYNC_FLAG_FORCE = 0x01,
MDBOX_SYNC_FLAG_FSYNC = 0x02,
MDBOX_SYNC_FLAG_FORCE_REBUILD = 0x04,
MDBOX_SYNC_FLAG_NO_PURGE = 0x08
};
struct mdbox_sync_context {
struct mdbox_mailbox *mbox;
struct mail_index_sync_ctx *index_sync_ctx;
struct mail_index_view *sync_view;
struct mail_index_transaction *trans;
enum mdbox_sync_flags flags;
/* list of expunged map_uids. the same map_uid may be listed more than
once in case message has been copied multiple times to mailbox. */
};
struct mdbox_sync_context **ctx_r);
struct mailbox_sync_context *
#endif