b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen#ifndef FAIL_MAIL_STORAGE_H
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen#define FAIL_MAIL_STORAGE_H
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen
274c54ac76df5f83d1a7666929256d267d738ee5Timo Sirainenextern struct mail_storage fail_storage;
274c54ac76df5f83d1a7666929256d267d738ee5Timo Sirainenextern struct mailbox fail_mailbox;
274c54ac76df5f83d1a7666929256d267d738ee5Timo Sirainenextern struct mail_vfuncs fail_mail_vfuncs;
274c54ac76df5f83d1a7666929256d267d738ee5Timo Sirainen
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainenstruct mail_storage *fail_mail_storage_create(void);
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainenstruct mailbox *
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainenfail_mailbox_alloc(struct mail_storage *storage, struct mailbox_list *list,
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen const char *vname, enum mailbox_flags flags);
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainenstruct mail *
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainenfail_mailbox_mail_alloc(struct mailbox_transaction_context *t,
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen enum mail_fetch_field wanted_fields,
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen struct mailbox_header_lookup_ctx *wanted_headers);
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen
b2a476af25c974104af1f0538f0338166b3af571Timo Sirainen#endif