[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.41,1.42

cras at procontrol.fi cras at procontrol.fi
Sun Mar 9 11:56:07 EET 2003


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

Modified Files:
	mail-storage.h 
Log Message:
mbox: CREATE mailbox/ now mkdir()s it.



Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- mail-storage.h	24 Feb 2003 17:39:32 -0000	1.41
+++ mail-storage.h	9 Mar 2003 09:56:05 -0000	1.42
@@ -145,8 +145,11 @@
 					const char *name,
 					int readonly, int fast);
 
-	/* name is allowed to contain multiple new hierarchy levels. */
-	int (*create_mailbox)(struct mail_storage *storage, const char *name);
+	/* name is allowed to contain multiple new hierarchy levels.
+	   If only_hierarchy is TRUE, the mailbox itself isn't created, just
+	   the hiearchy structure (if needed). */
+	int (*create_mailbox)(struct mail_storage *storage, const char *name,
+			      int only_hierarchy);
 
 	/* Only the specified mailbox is deleted, ie. folders under the
 	   specified mailbox must not be deleted. */




More information about the dovecot-cvs mailing list