cydir-storage.h revision c25356d5978632df6203437e1953bcb29e0c736f
#ifndef CYDIR_STORAGE_H
#define CYDIR_STORAGE_H
#include "index-storage.h"
#include "mailbox-list-private.h"
#define CYDIR_STORAGE_NAME "cydir"
#define CYDIR_SUBSCRIPTION_FILE_NAME "subscriptions."
#define CYDIR_INDEX_PREFIX "dovecot.index"
struct cydir_storage {
struct mail_storage storage;
};
struct cydir_mailbox {
struct index_mailbox ibox;
struct cydir_storage *storage;
const char *path;
};
struct cydir_transaction_context {
struct index_transaction_context ictx;
struct cydir_save_context *save_ctx;
};
extern struct mail_vfuncs cydir_mail_vfuncs;
void cydir_transaction_class_init(void);
void cydir_transaction_class_deinit(void);
#endif