Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-index/mail-index-sync-private.h @ 1956:d6941cd8afdc HEAD
Added support for setting dirty flags for messages (TODO: undirty..)
s/mail_index_record_flag/mail_cache_record_flag/
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 02 May 2004 22:24:35 +0300 |
parents | 2f6e137cdc44 |
children | 9c159272f721 |
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, dirty_lock_id; unsigned int sync_appends:1; unsigned int have_dirty:1; }; int mail_index_sync_update_index(struct mail_index_sync_ctx *sync_ctx, uint32_t sync_stamp, uint64_t sync_size); 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