[dovecot-cvs] dovecot/src/lib-storage mail-storage.h, 1.107.2.3, 1.107.2.4

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


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

Modified Files:
      Tag: branch_1_0
	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.107.2.3
retrieving revision 1.107.2.4
diff -u -d -r1.107.2.3 -r1.107.2.4
--- mail-storage.h	9 Oct 2006 17:08:03 -0000	1.107.2.3
+++ mail-storage.h	3 Dec 2006 13:29:54 -0000	1.107.2.4
@@ -26,7 +26,10 @@
 	MAIL_STORAGE_FLAG_SHARED_NAMESPACE	= 0x80,
 	/* Don't try to autodetect anything, require that the given data 
 	   contains all the necessary information. */
-	MAIL_STORAGE_FLAG_NO_AUTODETECTION	= 0x100
+	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
 };
 
 enum mail_storage_lock_method {



More information about the dovecot-cvs mailing list