Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-storage/index/index-messageset.h @ 327:276b7a53c264 HEAD
Modify log fixes. STORE and SEARCH didn't handle properly message sequence
numbers when some in the middle were externally deleted.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 29 Sep 2002 19:19:53 +0300 |
parents | 29cf23950452 |
children | fd8888f6f037 |
line wrap: on
line source
#ifndef __INDEX_MESSAGESET_H #define __INDEX_MESSAGESET_H #include "index-storage.h" /* If FALSE is returned, the loop is stopped. */ typedef int (*MsgsetForeachFunc)(MailIndex *index, MailIndexRecord *rec, unsigned int client_seq, unsigned int idx_seq, void *context); /* Returns 1 if all were found, 2 if some messages were deleted, 0 func returned FALSE, -1 if internal error occured or -2 if messageset was invalid. */ int index_messageset_foreach(IndexMailbox *ibox, const char *messageset, int uidset, MsgsetForeachFunc func, void *context); #endif