mail-storage-hooks.h revision e563b8a1457be8c08cc7567043c9f06b8243a025
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen void (*mail_user_created)(struct mail_user *user);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen void (*mail_namespace_storage_added)(struct mail_namespace *ns);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen void (*mail_namespaces_created)(struct mail_namespace *namespaces);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen void (*mail_storage_created)(struct mail_storage *storage);
31ddc75584c5cde53d2e78a737587f2e7fdcb0d2Timo Sirainen void (*mailbox_list_created)(struct mailbox_list *list);
8887bf3757d51d73887dd20b1db3334d867d3817Timo Sirainen void (*mailbox_allocated)(struct mailbox *box);
589a9c6e8ee22071c14171c04bfc6bfe17121871Timo Sirainenvoid mail_storage_hooks_add(struct module *module,
ef5fb27361cc5e15766e85e28355750ff04b13c9Timo Sirainen/* Add hooks to this plugin regardless of whether it exists in user's
ef5fb27361cc5e15766e85e28355750ff04b13c9Timo Sirainen mail_plugins setting. */
ef5fb27361cc5e15766e85e28355750ff04b13c9Timo Sirainenvoid mail_storage_hooks_add_forced(struct module *module,
a53cb86b4d733d9c48ee4d285bed477c80825804Timo Sirainenvoid mail_storage_hooks_remove(const struct mail_storage_hooks *hooks);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenvoid mail_storage_hooks_add_internal(const struct mail_storage_hooks *hooks);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenvoid mail_storage_hooks_remove_internal(const struct mail_storage_hooks *hooks);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenvoid hook_mail_user_created(struct mail_user *user);
b7b81543899e306c71e6152516d8698416162bcbTimo Sirainenvoid hook_mail_namespace_storage_added(struct mail_namespace *ns);
fd3d711f219fd6813492acbe051e04327f0ca0f0Timo Sirainenvoid hook_mail_namespaces_created(struct mail_namespace *namespaces);
6ec7cf71ccd0eed1f9cc1b0bda8960796b04160bTimo Sirainenvoid hook_mail_storage_created(struct mail_storage *storage);
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainenvoid hook_mailbox_list_created(struct mailbox_list *list);