[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.81,1.82

cras at dovecot.org cras at dovecot.org
Fri Sep 24 14:47:32 EEST 2004


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

Modified Files:
	mail-storage.h 
Log Message:
Split sync_flag_full into sync_flag_full_read and _write. Closing mailbox
now always writes changes.



Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- mail-storage.h	11 Sep 2004 10:28:50 -0000	1.81
+++ mail-storage.h	24 Sep 2004 11:47:30 -0000	1.82
@@ -86,10 +86,17 @@
 };
 
 enum mailbox_sync_flags {
-	MAILBOX_SYNC_FLAG_FULL		= 0x01,
-	MAILBOX_SYNC_FLAG_FAST		= 0x02,
-	MAILBOX_SYNC_FLAG_NO_EXPUNGES	= 0x04,
-	MAILBOX_SYNC_AUTO_STOP		= 0x08
+	/* Make sure we sync all external changes done to mailbox */
+	MAILBOX_SYNC_FLAG_FULL_READ	= 0x01,
+	/* Make sure we write all our internal changes into the mailbox */
+	MAILBOX_SYNC_FLAG_FULL_WRITE	= 0x02,
+	/* If it's not too much trouble, check if there are some changes */
+	MAILBOX_SYNC_FLAG_FAST		= 0x04,
+
+	/* Don't sync expunges from our view */
+	MAILBOX_SYNC_FLAG_NO_EXPUNGES	= 0x08,
+	/* Stop auto syncing */
+	MAILBOX_SYNC_AUTO_STOP		= 0x10
 };
 
 enum mailbox_sync_type {



More information about the dovecot-cvs mailing list