Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7516:7a7cf6662302 HEAD
Show the new uidlist_* fields in maildir header.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 15 May 2008 07:01:40 +0300 |
parents | c14a2b0a3126 |
children | e0007da64cdc |
files | src/util/idxview.c |
diffstat | 1 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util/idxview.c Thu May 15 07:01:26 2008 +0300 +++ b/src/util/idxview.c Thu May 15 07:01:40 2008 +0300 @@ -15,6 +15,7 @@ struct maildir_index_header { uint32_t new_check_time, new_mtime, new_mtime_nsecs; uint32_t cur_check_time, cur_mtime, cur_mtime_nsecs; + uint32_t uidlist_mtime, uidlist_mtime_nsecs, uidlist_size; }; struct dbox_index_header { uint32_t last_dirty_flush_stamp; @@ -78,12 +79,15 @@ const struct maildir_index_header *hdr = data; printf("header\n"); - printf(" - new_check_time = %s\n", unixdate2str(hdr->new_check_time)); - printf(" - new_mtime ..... = %s\n", unixdate2str(hdr->new_mtime)); - printf(" - new_mtime_nsecs = %u\n", hdr->new_mtime_nsecs); - printf(" - cur_check_time = %s\n", unixdate2str(hdr->cur_check_time)); - printf(" - cur_mtime ..... = %s\n", unixdate2str(hdr->cur_mtime)); - printf(" - cur_mtime_nsecs = %u\n", hdr->cur_mtime_nsecs); + printf(" - new_check_time .... = %s\n", unixdate2str(hdr->new_check_time)); + printf(" - new_mtime ......... = %s\n", unixdate2str(hdr->new_mtime)); + printf(" - new_mtime_nsecs ... = %u\n", hdr->new_mtime_nsecs); + printf(" - cur_check_time .... = %s\n", unixdate2str(hdr->cur_check_time)); + printf(" - cur_mtime ......... = %s\n", unixdate2str(hdr->cur_mtime)); + printf(" - cur_mtime_nsecs.... = %u\n", hdr->cur_mtime_nsecs); + printf(" - uidlist_mtime ..... = %s\n", unixdate2str(hdr->uidlist_mtime)); + printf(" - uidlist_mtime_nsecs = %u\n", hdr->uidlist_mtime_nsecs); + printf(" - uidlist_size ...... = %u\n", hdr->uidlist_size); } else if (strcmp(ext->name, "dbox-hdr") == 0) { const struct dbox_index_header *hdr = data;