dovecot-2.0: lib-storage: Added first_recent_uid to struct mailb...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Mar 16 17:47:29 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/4baca6914518
changeset: 12680:4baca6914518
user: Timo Sirainen <tss at iki.fi>
date: Wed Mar 16 17:42:06 2011 +0200
description:
lib-storage: Added first_recent_uid to struct mailbox_status.
diffstat:
src/lib-storage/index/index-status.c | 1 +
src/lib-storage/mail-storage.h | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 31d8d43fa6b5 -r 4baca6914518 src/lib-storage/index/index-status.c
--- a/src/lib-storage/index/index-status.c Tue Mar 15 21:53:21 2011 +0200
+++ b/src/lib-storage/index/index-status.c Wed Mar 16 17:42:06 2011 +0200
@@ -154,6 +154,7 @@
}
status_r->unseen = hdr->messages_count - hdr->seen_messages_count;
status_r->uidvalidity = hdr->uid_validity;
+ status_r->first_recent_uid = hdr->first_recent_uid;
status_r->uidnext = hdr->next_uid;
status_r->nonpermanent_modseqs = mail_index_is_in_memory(box->index);
if ((items & STATUS_HIGHESTMODSEQ) != 0) {
diff -r 31d8d43fa6b5 -r 4baca6914518 src/lib-storage/mail-storage.h
--- a/src/lib-storage/mail-storage.h Tue Mar 15 21:53:21 2011 +0200
+++ b/src/lib-storage/mail-storage.h Wed Mar 16 17:42:06 2011 +0200
@@ -66,7 +66,8 @@
STATUS_KEYWORDS = 0x40,
STATUS_HIGHESTMODSEQ = 0x80,
STATUS_CACHE_FIELDS = 0x100,
- STATUS_VIRTUAL_SIZE = 0x200
+ STATUS_VIRTUAL_SIZE = 0x200,
+ STATUS_FIRST_RECENT_UID = 0x400
};
enum mailbox_search_result_flags {
@@ -184,6 +185,7 @@
uint32_t uidnext;
uint32_t first_unseen_seq;
+ uint32_t first_recent_uid;
uint64_t highest_modseq;
/* sum of virtual size of all messages in mailbox */
uint64_t virtual_size;
More information about the dovecot-cvs
mailing list