mdbox-sync.h revision 62958c5eefcd7dd84717b487ca36ec3a86949eb9
#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,
MDBOX_SYNC_FLAG_NO_REBUILD = 0x10
};
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;
struct mdbox_map_transaction_context *map_trans;
struct mdbox_map_atomic_context *atomic;
enum mdbox_sync_flags flags;
unsigned int expunged_count;
};
struct mdbox_map_atomic_context *atomic,
struct mdbox_sync_context **ctx_r);
struct mailbox_sync_context *
#endif