[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.25,1.26

cras at procontrol.fi cras at procontrol.fi
Thu Jan 2 15:00:59 EET 2003


Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv22070

Modified Files:
	mail-storage.h 
Log Message:
comment updates



Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- mail-storage.h	2 Jan 2003 10:21:41 -0000	1.25
+++ mail-storage.h	2 Jan 2003 13:00:57 -0000	1.26
@@ -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. */




More information about the dovecot-cvs mailing list