Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-storage/index/index-messageset.h @ 953:411006be3c66 HEAD
Naming change for function typedefs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 11 Jan 2003 21:55:56 +0200 |
parents | fd8888f6f037 |
children | 8028c4dcf38f |
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 (*msgset_foreach_callback_t)(struct mail_index *index, struct mail_index_record *rec, unsigned int client_seq, unsigned int idx_seq, void *context); /* Returns 1 if all were found, 2 if some messages were deleted, 0 callback returned FALSE, -1 if internal error occured or -2 if messageset was invalid. */ int index_messageset_foreach(struct index_mailbox *ibox, const char *messageset, int uidset, msgset_foreach_callback_t callback, void *context); #endif