#ifndef MBOX_STORAGE_H
#define MBOX_STORAGE_H
#include "index-storage.h"
#include "mbox-settings.h"
#include "mbox-md5.h"
/* Padding to leave in X-Keywords header when rewriting mbox */
/* Don't write Content-Length header unless it's value is larger than this. */
struct mbox_index_header {
};
struct mbox_list_index_record {
};
struct mbox_storage {
};
struct mbox_mailbox {
int mbox_fd;
int mbox_lock_type;
bool mbox_writeonly;
unsigned int external_transactions;
};
struct mbox_transaction_context {
struct mailbox_transaction_context t;
unsigned int read_lock_id;
unsigned int write_lock_id;
};
extern struct mail_vfuncs mbox_mail_vfuncs;
extern const char *mbox_hide_headers[], *mbox_save_drop_headers[];
extern unsigned int mbox_hide_headers_count, mbox_save_drop_headers_count;
struct mailbox_sync_context *
struct mail_save_context *
struct mail_index_transaction_commit_result *result);
#endif