mail-index-view-private.h revision 7c95b03620a03a43dd72d39608cea5fc77393ad6
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek uint32_t (*get_message_count)(struct mail_index_view *view);
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek int (*get_header)(struct mail_index_view *view,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek int (*lookup_full)(struct mail_index_view *view, uint32_t seq,
2cb6f28b3a12bb714bf14494d31eb6b6fff64b8bJakub Hrozek int (*lookup_uid)(struct mail_index_view *view, uint32_t seq,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek int (*lookup_uid_range)(struct mail_index_view *view,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek int (*lookup_first)(struct mail_index_view *view, enum mail_flags flags,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek int (*lookup_ext_full)(struct mail_index_view *view, uint32_t seq,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek uint32_t ext_id, struct mail_index_map **map_r,
481ec0e1eb0058195732cb320845b41f6f4d43ebJakub Hrozek const void **data_r);
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek int (*get_header_ext)(struct mail_index_view *view,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek unsigned int indexid;
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek uint32_t messages_count; /* last synced one, map may be different */
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozek unsigned int lock_id;
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozekvoid mail_index_view_clone(struct mail_index_view *dest,
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozekint mail_index_view_lock(struct mail_index_view *view);
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozekint mail_index_view_lock_head(struct mail_index_view *view, int update_index);
6463ed1dcdd45416468b3fa178bd856b5a9ed2c3Jakub Hrozekvoid mail_index_view_unref_maps(struct mail_index_view *view);