view src/plugins/quota/quota-plugin.h @ 9575:0a00dcc4f0ea HEAD

lib-storage: Allow shared namespace prefix to use %variable modifiers.
author Timo Sirainen <tss@iki.fi>
date Wed, 26 May 2010 17:07:51 +0100
parents 5e2206e3c750
children
line wrap: on
line source

#ifndef QUOTA_PLUGIN_H
#define QUOTA_PLUGIN_H

struct mail_storage;

extern void (*quota_next_hook_mail_user_created)(struct mail_user *user);
extern void (*quota_next_hook_mail_storage_created)
	(struct mail_storage *storage);
extern void (*quota_next_hook_mailbox_list_created)(struct mailbox_list *list);
extern void (*quota_next_hook_mail_namespaces_created)(struct mail_namespace *namespaces);

extern struct quota_settings *quota_set;

void quota_mail_user_created(struct mail_user *user);
void quota_mail_storage_created(struct mail_storage *storage);
void quota_mailbox_list_created(struct mailbox_list *list);
void quota_mail_namespaces_created(struct mail_namespace *namespaces);

void quota_plugin_init(void);
void quota_plugin_deinit(void);

#endif