sdbox-storage.h revision d22301419109ed4a38351715e6760011421dadec
#ifndef SDBOX_STORAGE_H
#define SDBOX_STORAGE_H
#include "index-storage.h"
#include "dbox-storage.h"
#include "mailbox-list-private.h"
#define SDBOX_STORAGE_NAME "dbox"
#define SDBOX_MAIL_FILE_PREFIX "u."
/* Flag specifies if the message should be in primary or alternative storage */
#define SDBOX_INDEX_HEADER_MIN_SIZE (sizeof(uint32_t))
struct sdbox_index_header {
};
struct sdbox_storage {
struct dbox_storage storage;
};
struct sdbox_mailbox {
struct sdbox_storage *storage;
const char *alt_path;
unsigned int creating:1;
unsigned int sync_rebuild:1;
};
extern struct mail_vfuncs sdbox_mail_vfuncs;
struct mailbox *
enum mailbox_flags flags);
struct sdbox_index_header *hdr);
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