view src/plugins/quota/quota-plugin.h @ 5448:beabd433cdae HEAD

Moved delete/rename operations to mailbox_list API. Fixed mbox/maildir to work with either fs/maildir++ directory layout. They can be changed by appending :LAYOUT=fs|maildir++ to mail_location.
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Mar 2007 10:59:11 +0300
parents 49c9e7588de4
children e4eb71ae8e96
line wrap: on
line source

#ifndef __QUOTA_PLUGIN_H
#define __QUOTA_PLUGIN_H

struct mail_storage;

extern void (*quota_next_hook_mail_storage_created)
	(struct mail_storage *storage);
extern void (*quota_next_hook_mailbox_list_created)(struct mailbox_list *list);

/* "quota" symbol already exists in OSX, so we'll use this slightly uglier
   name. */
extern struct quota *quota_set;

void quota_mail_storage_created(struct mail_storage *storage);
void quota_mailbox_list_created(struct mailbox_list *list);

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

#endif