fail_storage_destroy,
NULL,
NULL,
- NULL,
fail_mailbox_alloc,
NULL,
NULL,
mdbox_storage_destroy,
NULL,
NULL,
- NULL,
mdbox_deleted_mailbox_alloc,
NULL,
NULL,
mdbox_storage_create,
mdbox_storage_destroy,
NULL,
- NULL,
mdbox_storage_autodetect,
mdbox_mailbox_alloc,
mdbox_purge,
sdbox_storage_create,
dbox_storage_destroy,
NULL,
- NULL,
sdbox_storage_autodetect,
sdbox_mailbox_alloc,
NULL,
sdbox_storage_create,
dbox_storage_destroy,
NULL,
- NULL,
sdbox_storage_autodetect,
sdbox_mailbox_alloc,
NULL,
imapc_storage_destroy,
NULL,
NULL,
- NULL,
imapc_mailbox_alloc,
NULL,
NULL,
maildir_storage_create,
maildir_storage_destroy,
maildir_storage_add_list,
- NULL,
maildir_storage_autodetect,
maildir_mailbox_alloc,
NULL,
mbox_storage_create,
mbox_storage_destroy,
mbox_storage_add_list,
- NULL,
mbox_storage_autodetect,
mbox_mailbox_alloc,
NULL,
pop3c_storage_destroy,
NULL,
NULL,
- NULL,
pop3c_mailbox_alloc,
NULL,
NULL,
index_storage_destroy,
NULL,
NULL,
- NULL,
raw_mailbox_alloc,
NULL,
NULL,
index_storage_destroy,
NULL,
NULL,
- NULL,
fail_mailbox_alloc,
NULL,
NULL,
void (*add_list)(struct mail_storage *storage,
struct mailbox_list *list);
- void (*get_list_settings)(const struct mail_namespace *ns,
- struct mailbox_list_settings *set,
- const struct mail_storage_settings *mail_set);
/* Returns TRUE if mailbox path could be autodetected. root_path_r
must be returned in that case. inbox_path_r is NULL already when
calling, and means the default INBOX path is used. */
struct event *event = event_create(ns->user->event);
event_add_str(event, "namespace", ns->set->name);
- if (storage_class->v.get_list_settings != NULL)
- storage_class->v.get_list_settings(ns, list_set, mail_set);
int ret = mailbox_list_create(event, ns, list_set,
mail_set, list_flags, &list, error_r);
if (ret < 0) {
index_storage_destroy,
NULL,
NULL,
- NULL,
virtual_mailbox_alloc,
NULL,
NULL,