#ifndef MAIL_INDEX_VIEW_PRIVATE_H
#define MAIL_INDEX_VIEW_PRIVATE_H
#include "mail-index-private.h"
struct mail_index_view_log_sync_area {
unsigned int length;
};
struct mail_index_view_vfuncs {
const struct mail_index_header *
const struct mail_index_record *
const void **data_r, bool *expunged_r);
struct mail_index_map *map,
};
union mail_index_view_module_context {
};
struct mail_index_view {
int refcount;
struct mail_index_view_vfuncs v;
const char *source_filename;
unsigned int source_linenum;
unsigned int inconsistency_id;
/* All mappings where we have returned records. They need to be kept
valid until view is synchronized. */
/* expunge <= head */
/* Transaction log offsets which we don't want to return in view sync */
/* Module-specific contexts. */
int transactions;
/* this view was created by mail_index_sync_begin() */
/* this view is being synced */
};
struct mail_index_view *
struct mail_index_map *map);
const struct mail_index_view *src);
struct mail_index_view *
unsigned int length);
#endif