sdbox-storage.h revision 2b9e49e4e65e3e2dca38f56971029a3051ccdb99
#ifndef SDBOX_STORAGE_H
#define SDBOX_STORAGE_H
#include "index-storage.h"
#include "dbox-storage.h"
#define SDBOX_STORAGE_NAME "sdbox"
#define SDBOX_MAIL_FILE_PREFIX "u."
#define SDBOX_INDEX_HEADER_MIN_SIZE (sizeof(uint32_t))
struct sdbox_index_header {
/* increased every time a full mailbox rebuild is done */
};
struct sdbox_storage {
struct dbox_storage storage;
};
struct sdbox_mailbox {
struct sdbox_storage *storage;
/* if non-zero, storage should be rebuilt (except if rebuild_count
has changed from this value) */
unsigned int creating:1;
};
extern struct mail_vfuncs sdbox_mail_vfuncs;
struct mail_index_transaction *trans,
const struct mailbox_update *update);
struct mail_save_context *
struct dbox_file *
struct mail_index_transaction_commit_result *result);
#endif