mail-index-sync-private.h revision 7394389230750c45b105cdefb5850c81cae8cdc0
#ifndef __MAIL_INDEX_SYNC_PRIVATE_H
#define __MAIL_INDEX_SYNC_PRIVATE_H
struct mail_index_sync_ctx {
struct mail_index *index;
struct mail_index_view *view;
const struct mail_transaction_expunge *expunges;
const struct mail_transaction_flag_update *updates;
const struct mail_transaction_header *hdr;
const void *data;
unsigned int lock_id;
unsigned int sync_appends:1;
};
struct mail_index_sync_map_ctx {
struct mail_index_view *view;
unsigned int update_cache:1;
unsigned int cache_locked:1;
};
extern struct mail_transaction_map_functions mail_index_map_sync_funcs;
void
const struct mail_transaction_expunge *exp);
void
const struct mail_transaction_flag_update *update);
#endif