Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-index/mail-transaction-log.h @ 2033:4f6b1118a53d HEAD
Transaction log contains only UIDs now, no more sequences which just mess up
everything.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 22 May 2004 03:48:45 +0300 |
parents | 2e77ee652e2e |
children | ee1095ccfd23 |
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log.h Thu May 20 16:43:47 2004 +0300 +++ b/src/lib-index/mail-transaction-log.h Sat May 22 03:48:45 2004 +0300 @@ -37,17 +37,16 @@ }; struct mail_transaction_expunge { - uint32_t seq1, seq2; - uint32_t uid1, uid2; /* only to avoid accidental expunges due to bugs */ + uint32_t uid1, uid2; }; struct mail_transaction_cache_update { - uint32_t seq; + uint32_t uid; uint32_t cache_offset; }; struct mail_transaction_flag_update { - uint32_t seq1, seq2; + uint32_t uid1, uid2; uint8_t add_flags; keywords_mask_t add_keywords; uint8_t remove_flags; @@ -84,9 +83,6 @@ uint32_t *file_seq_r, uoff_t *file_offset_r); -buffer_t * -mail_transaction_log_view_get_expunges(struct mail_transaction_log_view *view); - /* Marks the log file in current position to be corrupted. */ void mail_transaction_log_view_set_corrupted(struct mail_transaction_log_view *view,