[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.106,1.107

cras at dovecot.org cras at dovecot.org
Sun Apr 9 18:50:24 EEST 2006


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

Modified Files:
	mail-storage.h 
Log Message:
Added MAILBOX_OPEN_KEEP_LOCKED flag to mailbox opening and implemented it
for mbox and maildir. It keeps the mailbox locked the whole time until
mailbox_close() is called.



Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- mail-storage.h	27 Feb 2006 16:21:57 -0000	1.106
+++ mail-storage.h	9 Apr 2006 15:50:22 -0000	1.107
@@ -43,7 +43,9 @@
 	/* Don't reset MAIL_RECENT flags when syncing */
 	MAILBOX_OPEN_KEEP_RECENT	= 0x08,
 	/* Don't create index files for the mailbox */
-	MAILBOX_OPEN_NO_INDEX_FILES	= 0x10
+	MAILBOX_OPEN_NO_INDEX_FILES	= 0x10,
+	/* Keep mailbox exclusively locked all the time while it's open */
+	MAILBOX_OPEN_KEEP_LOCKED	= 0x20
 };
 
 enum mailbox_list_flags {



More information about the dovecot-cvs mailing list