Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-index/mail-index.h @ 69:8cef827d2d79 HEAD
MailHashHeader is now 8-byte aligned. Fixed other header alignments too and
stored MEM_ALIGN_SIZE into compat_data[].
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 28 Aug 2002 21:20:19 +0300 |
parents | 4ecb78d94182 |
children | a6d7ed739926 |
comparison
equal
deleted
inserted
replaced
68:9381df54c9c3 | 69:8cef827d2d79 |
---|---|
75 unsigned char compat_data[8]; | 75 unsigned char compat_data[8]; |
76 /* 0 = version | 76 /* 0 = version |
77 1 = flags, | 77 1 = flags, |
78 2 = sizeof(unsigned int), | 78 2 = sizeof(unsigned int), |
79 3 = sizeof(time_t), | 79 3 = sizeof(time_t), |
80 4 = sizeof(uoff_t) */ | 80 4 = sizeof(uoff_t), |
81 5 = MEM_ALIGN_SIZE */ | |
81 | 82 |
82 unsigned int indexid; | 83 unsigned int indexid; |
83 unsigned int flags; | 84 unsigned int flags; |
84 | 85 |
85 uoff_t first_hole_position; | 86 uoff_t first_hole_position; |
96 unsigned int last_nonrecent_uid; | 97 unsigned int last_nonrecent_uid; |
97 | 98 |
98 /* these UIDs may not exist and may not even be unseen */ | 99 /* these UIDs may not exist and may not even be unseen */ |
99 unsigned int first_unseen_uid_lowwater; | 100 unsigned int first_unseen_uid_lowwater; |
100 unsigned int first_deleted_uid_lowwater; | 101 unsigned int first_deleted_uid_lowwater; |
101 | |
102 unsigned int reserved_for_future_usage[5]; | |
103 }; | 102 }; |
104 | 103 |
105 struct _MailIndexDataHeader { | 104 struct _MailIndexDataHeader { |
106 unsigned int indexid; | 105 unsigned int indexid; |
107 unsigned int reserved; /* for alignment mostly */ | 106 unsigned int reserved; /* for alignment mostly */ |