Mercurial > dovecot > core-2.2
changeset 889:f6e6812bd872 HEAD
comment updates
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 02 Jan 2003 15:00:57 +0200 |
parents | 986e89b61520 |
children | 079a620c0261 |
files | src/lib-storage/mail-storage.h |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h Thu Jan 02 14:35:37 2003 +0200 +++ b/src/lib-storage/mail-storage.h Thu Jan 02 15:00:57 2003 +0200 @@ -28,7 +28,8 @@ typedef enum { MAILBOX_NAME_EXISTS, MAILBOX_NAME_VALID, - MAILBOX_NAME_INVALID + MAILBOX_NAME_INVALID, + MAILBOX_NAME_NOINFERIORS } MailboxNameStatus; typedef enum { @@ -79,13 +80,17 @@ Mailbox *(*open_mailbox)(MailStorage *storage, const char *name, int readonly, int fast); - /* name is allowed to contain multiple new hierarchy levels */ + /* name is allowed to contain multiple new hierarchy levels. */ int (*create_mailbox)(MailStorage *storage, const char *name); + + /* Only the specified mailbox is deleted, ie. folders under the + specified mailbox must not be deleted. */ int (*delete_mailbox)(MailStorage *storage, const char *name); /* If the name has inferior hierarchical names, then the inferior hierarchical names MUST also be renamed (ie. foo -> bar renames - also foo/bar -> bar/bar). + also foo/bar -> bar/bar). newname may contain multiple new + hierarchies. If oldname is case-insensitively "INBOX", the mails are moved into new folder but the INBOX folder must not be deleted. */