Mercurial > dovecot > core-2.2
diff src/lib-storage/index/dbox-multi/mdbox-storage.h @ 12586:a2780b694b2d
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
All storage_name <-> vname conversions now go through the same two
mailbox_list methods. This has many benefits, such as:
* listescape plugin is now much simpler and bugfree
* allows changing lib-storage API to use UTF-8 mailbox names in future
* allows creation of "mailbox aliases" plugin
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 20 Jan 2011 20:59:07 +0200 |
parents | b884441a713f |
children | 957060ca5b69 |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-storage.h Thu Jan 20 19:21:20 2011 +0200 +++ b/src/lib-storage/index/dbox-multi/mdbox-storage.h Thu Jan 20 20:59:07 2011 +0200 @@ -61,10 +61,6 @@ extern struct mail_vfuncs mdbox_mail_vfuncs; -struct mailbox * -mdbox_mailbox_alloc(struct mail_storage *storage, struct mailbox_list *list, - const char *name, enum mailbox_flags flags); - int mdbox_mail_open(struct dbox_mail *mail, uoff_t *offset_r, struct dbox_file **file_r);