mbox-index.h revision c0435c854a0e7246373b9752d163095cc4fbe985
#ifndef __MBOX_INDEX_H
#define __MBOX_INDEX_H
#include "md5.h"
#include "mail-index.h"
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,
void *context);
const char *custom_flags[MAIL_CUSTOM_FLAGS_COUNT],
int, void *),
void *context);
struct mail_index_record *rec,
struct mail_index_record *rec,
#endif