#ifndef MAIL_STORAGE_HOOKS_H
#define MAIL_STORAGE_HOOKS_H
struct module;
struct mail_user;
struct mail_storage;
struct mail_namespace;
struct mailbox_list;
struct mailbox;
struct mail;
struct mail_storage_hooks {
/* called the first time user's initial namespaces were added */
/* called every time namespaces are added. most importantly called
when shared mailbox accesses trigger creating new namespaces.
this is called before mail_namespaces_created() at startup.
The namespaces parameter contains all of the current namespaces. */
};
void mail_storage_hooks_init(void);
void mail_storage_hooks_deinit(void);
const struct mail_storage_hooks *hooks);
/* Add hooks to this plugin regardless of whether it exists in user's
mail_plugins setting. */
const struct mail_storage_hooks *hooks);
#endif