[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.119,1.120

tss at dovecot.org tss at dovecot.org
Sun Dec 3 13:29:58 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv24180

Modified Files:
	mail-storage.h 
Log Message:
Added MAIL_STORAGE_FLAG_NO_AUTOCREATE flag which silently fails storage
creation if the root directory doesn't exist. Otherwise the root dir is
created.



Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- mail-storage.h	25 Nov 2006 22:17:41 -0000	1.119
+++ mail-storage.h	3 Dec 2006 13:29:56 -0000	1.120
@@ -28,8 +28,11 @@
 	/* Don't try to autodetect anything, require that the given data 
 	   contains all the necessary information. */
 	MAIL_STORAGE_FLAG_NO_AUTODETECTION	= 0x100,
+	/* Don't autocreate any directories. If they don't exist,
+	   fail to create the storage. */
+	MAIL_STORAGE_FLAG_NO_AUTOCREATE		= 0x200,
 	/* Ths storage contains INBOX */
-	MAIL_STORAGE_FLAG_HAS_INBOX		= 0x200
+	MAIL_STORAGE_FLAG_HAS_INBOX		= 0x400
 };
 
 enum mail_storage_lock_method {



More information about the dovecot-cvs mailing list