mbox-index.h revision 0ffdbd0c6da308c91b76c1166b0af5cdb6a8ea92
#ifndef __MBOX_INDEX_H
#define __MBOX_INDEX_H
#include "md5.h"
#include "mail-index.h"
/* Extra space to leave in X-Keywords header when rewriting mbox */
#define MBOX_HEADER_EXTRA_SPACE 100
struct mbox_header_context {
struct mail_index *index;
enum mail_flags flags;
const char **custom_flags;
struct md5_context md5;
int received;
int set_read_limit;
};
/* Make sure the mbox is opened. If reopen is TRUE, the file is closed first,
which is useful when you want to be sure you're not accessing a deleted
mbox file. */
enum mail_lock_type lock_type);
struct mail_index *index,
const char *custom_flags[MAIL_CUSTOM_FLAGS_COUNT],
int, void *),
void *context);
struct mail_index_record *rec,
struct mail_index_record *rec,
#endif