[dovecot-cvs] dovecot/src/plugins/fts-lucene fts-backend-lucene.c, 1.4, 1.5

tss at dovecot.org tss at dovecot.org
Fri Dec 1 20:55:58 UTC 2006


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

Modified Files:
	fts-backend-lucene.c 
Log Message:
Added fts_backend_expunge_finish() virtual backend function.



Index: fts-backend-lucene.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts-lucene/fts-backend-lucene.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- fts-backend-lucene.c	25 Oct 2006 20:25:03 -0000	1.4
+++ fts-backend-lucene.c	1 Dec 2006 20:55:56 -0000	1.5
@@ -148,6 +148,13 @@
 	(void)lucene_index_expunge(backend->lstorage->index, mail->uid);
 }
 
+static void
+fts_backend_lucene_expunge_finish(struct fts_backend *_backend __attr_unused__,
+				  struct mailbox *box __attr_unused__,
+				  bool committed __attr_unused__)
+{
+}
+
 static int
 fts_backend_lucene_lookup(struct fts_backend *_backend, const char *key,
 			 ARRAY_TYPE(seq_range) *result)
@@ -182,6 +189,7 @@
 		fts_backend_lucene_build_more,
 		fts_backend_lucene_build_deinit,
 		fts_backend_lucene_expunge,
+		fts_backend_lucene_expunge_finish,
 		fts_backend_lucene_lookup,
 		fts_backend_lucene_filter
 	}



More information about the dovecot-cvs mailing list