comparison src/lib-storage/index/index-storage.h @ 47:306c20092a96 HEAD

Errors in user-specified messagesets are now properly reported back to user.
author Timo Sirainen <tss@iki.fi>
date Tue, 27 Aug 2002 06:33:10 +0300
parents 82b7de533f98
children 5fe3e04ca8d9
comparison
equal deleted inserted replaced
46:b2bc8d2e56ff 47:306c20092a96
1 #ifndef __INDEX_STORAGE_H 1 #ifndef __INDEX_STORAGE_H
2 #define __INDEX_STORAGE_H 2 #define __INDEX_STORAGE_H
3 3
4 #include "mail-storage.h" 4 #include "mail-storage.h"
5 #include "mail-messageset.h"
5 #include "mail-index.h" 6 #include "mail-index.h"
6 #include "imap-message-cache.h" 7 #include "imap-message-cache.h"
7 #include "flags-file/flags-file.h" 8 #include "flags-file/flags-file.h"
8 9
9 typedef struct _IndexMailbox IndexMailbox; 10 typedef struct _IndexMailbox IndexMailbox;
26 MailIndex *index, const char *name, 27 MailIndex *index, const char *name,
27 int readonly); 28 int readonly);
28 void index_storage_close(Mailbox *box); 29 void index_storage_close(Mailbox *box);
29 30
30 int mail_storage_set_index_error(IndexMailbox *ibox); 31 int mail_storage_set_index_error(IndexMailbox *ibox);
32
33 int index_messageset_foreach(IndexMailbox *ibox,
34 const char *messageset, int uidset,
35 MsgsetForeachFunc func, void *context);
31 36
32 int index_mailbox_fix_custom_flags(IndexMailbox *ibox, MailFlags *flags, 37 int index_mailbox_fix_custom_flags(IndexMailbox *ibox, MailFlags *flags,
33 const char *custom_flags[]); 38 const char *custom_flags[]);
34 39
35 MailIndexRecord *index_expunge_seek_first(IndexMailbox *ibox, 40 MailIndexRecord *index_expunge_seek_first(IndexMailbox *ibox,