Mercurial > dovecot > core-2.2
comparison src/lib-storage/index/index-sort.h @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | f57c52738f90 |
children | 4f697dde0fca |
comparison
equal
deleted
inserted
replaced
902:5043e48c022f | 903:fd8888f6f037 |
---|---|
2 #define __INDEX_SORT_H | 2 #define __INDEX_SORT_H |
3 | 3 |
4 #include "mail-storage.h" | 4 #include "mail-storage.h" |
5 #include "mail-sort.h" | 5 #include "mail-sort.h" |
6 | 6 |
7 typedef struct { | 7 struct index_sort_context { |
8 IndexMailbox *ibox; | 8 struct index_mailbox *ibox; |
9 OStream *output; | 9 struct ostream *output; |
10 | 10 |
11 unsigned int last_uid; | 11 unsigned int last_uid; |
12 MailIndexRecord *rec; | 12 struct mail_index_record *rec; |
13 | 13 |
14 unsigned int cached:1; | 14 unsigned int cached:1; |
15 } IndexSortContext; | 15 }; |
16 | 16 |
17 extern MailSortFuncs index_sort_funcs; | 17 extern struct mail_sort_funcs index_sort_funcs; |
18 | 18 |
19 #endif | 19 #endif |