Mercurial > dovecot > core-2.2
view src/lib-index/mail-index-sync-private.h @ 1915:79790750c349 HEAD
importing new index code. mbox still broken.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 27 Apr 2004 23:25:52 +0300 |
parents | |
children | 2f6e137cdc44 |
line wrap: on
line source
#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; buffer_t *expunges_buf, *updates_buf, *appends_buf; const struct mail_transaction_expunge *expunges; const struct mail_transaction_flag_update *updates; size_t expunges_count, updates_count; const struct mail_transaction_header *hdr; const void *data; size_t expunge_idx, update_idx; uint32_t next_seq; unsigned int lock_id; unsigned int sync_appends:1; }; int mail_index_sync_update_index(struct mail_index_sync_ctx *sync_ctx); void mail_index_header_update_counts(struct mail_index_header *hdr, uint8_t old_flags, uint8_t new_flags); void mail_index_header_update_lowwaters(struct mail_index_header *hdr, const struct mail_index_record *rec); #endif