sdbox-storage.h revision 1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9
#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 index_mailbox ibox;
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 *
#endif