[dovecot-cvs] dovecot/src/plugins/fts fts-storage.c,1.22,1.23

tss at dovecot.org tss at dovecot.org
Tue Apr 17 19:41:05 EEST 2007


Update of /var/lib/cvs/dovecot/src/plugins/fts
In directory talvi:/tmp/cvs-serv32564/plugins/fts

Modified Files:
	fts-storage.c 
Log Message:
Added mailbox_transaction_commit_get_uids() which returns the UID range for
saved/copied messages.



Index: fts-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts/fts-storage.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- fts-storage.c	4 Apr 2007 09:27:41 -0000	1.22
+++ fts-storage.c	17 Apr 2007 16:41:03 -0000	1.23
@@ -806,14 +806,18 @@
 }
 
 static int fts_transaction_commit(struct mailbox_transaction_context *t,
-				  enum mailbox_sync_flags flags)
+				  enum mailbox_sync_flags flags,
+				  uint32_t *first_saved_uid_r,
+				  uint32_t *last_saved_uid_r)
 {
 	struct mailbox *box = t->box;
 	struct fts_mailbox *fbox = FTS_CONTEXT(box);
 	struct fts_transaction_context *ft = FTS_CONTEXT(t);
 	int ret;
 
-	ret = fbox->module_ctx.super.transaction_commit(t, flags);
+	ret = fbox->module_ctx.super.transaction_commit(t, flags,
+							first_saved_uid_r,
+							last_saved_uid_r);
 	fts_transaction_finish(box, ft, ret == 0);
 	return ret;
 }



More information about the dovecot-cvs mailing list