diff src/lib-storage/mail-storage.h @ 4859:92c0994a1fcf HEAD

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.
author Timo Sirainen <tss@iki.fi>
date Sun, 03 Dec 2006 15:29:56 +0200
parents 967de900c73a
children f1d77064884c
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h	Sun Dec 03 14:47:52 2006 +0200
+++ b/src/lib-storage/mail-storage.h	Sun Dec 03 15:29:56 2006 +0200
@@ -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 {