mail-index-view-private.h revision e8acc691a14a6d0884c5ca9aa4d8507f1e082040
#ifndef __MAIL_INDEX_VIEW_PRIVATE_H
#define __MAIL_INDEX_VIEW_PRIVATE_H
#include "mail-index-private.h"
struct mail_index_view_methods {
const struct mail_index_header *
struct mail_index_map **map_r,
const struct mail_index_record **rec_r);
const void **data_r);
};
struct mail_index_view {
int refcount;
struct mail_index_view_methods methods;
struct mail_index *index;
struct mail_transaction_log_view *log_view;
unsigned int indexid;
struct mail_index_map *map;
struct mail_index_map *new_map;
struct mail_index_header hdr;
int transactions;
unsigned int lock_id;
unsigned int inconsistent:1;
unsigned int syncing:1;
};
const struct mail_index_view *src);
struct mail_index_view *mail_index_dummy_view_open(void);
#endif