[dovecot-cvs] dovecot/src/lib-storage mail-storage-private.h, 1.52, 1.53

tss at dovecot.org tss at dovecot.org
Tue Apr 17 18:09:12 EEST 2007


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

Modified Files:
	mail-storage-private.h 
Log Message:
Call sync_notify() once at the end of syncing. Allow accessing mails even
while syncing, as long as it's safe to do so.



Index: mail-storage-private.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage-private.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- mail-storage-private.h	17 Apr 2007 12:41:26 -0000	1.52
+++ mail-storage-private.h	17 Apr 2007 15:09:10 -0000	1.53
@@ -91,6 +91,9 @@
 			   enum mailbox_status_items status_items,
 			   struct mailbox_status *status_r);
 
+	/* Called once for each expunge. Called one or more times for
+	   flag/keyword changes. Once the sync is finished, called with
+	   uid=0 and sync_type=0. */
 	void (*sync_notify)(struct mailbox *box, uint32_t uid,
 			    enum mailbox_sync_type sync_type);
 



More information about the dovecot-cvs mailing list