mail-index-sync-private.h revision b0be0bead3d6963149f7f2a9504b8ab5aced9af5
#ifndef __MAIL_INDEX_SYNC_PRIVATE_H
#define __MAIL_INDEX_SYNC_PRIVATE_H
#include "mail-transaction-log.h"
struct uid_range {
};
struct mail_index_sync_list {
unsigned int idx;
unsigned int keyword_idx:31;
unsigned int keyword_remove:1;
};
struct mail_index_expunge_handler {
void *context;
void **sync_context;
};
struct mail_index_sync_map_ctx {
struct mail_index_view *view;
ARRAY_DEFINE(extra_contexts, void *);
unsigned int sync_handlers_initialized:1;
unsigned int expunge_handlers_set:1;
unsigned int expunge_handlers_used:1;
unsigned int cur_ext_ignore:1;
unsigned int errors:1;
};
extern struct mail_transaction_map_functions mail_index_map_sync_funcs;
struct mail_index_view *view,
enum mail_index_sync_handler_type type);
const struct mail_transaction_header *hdr,
const void *data);
struct mail_index_map *
void
const struct mail_transaction_ext_intro *u);
const struct mail_transaction_ext_reset *u);
int
const struct mail_transaction_ext_hdr_update *u);
int
const struct mail_transaction_ext_rec_update *u);
const struct mail_transaction_header *hdr,
const struct mail_transaction_keyword_update *rec);
int
const struct mail_transaction_header *hdr,
const struct mail_transaction_keyword_reset *r);
#ifdef DEBUG
#endif
#endif