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

tss at dovecot.org tss at dovecot.org
Wed Dec 6 15:45:18 UTC 2006


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

Modified Files:
	fts-backend-lucene.c 
Log Message:
Added lock/unlock backend operations.



Index: fts-backend-lucene.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts-lucene/fts-backend-lucene.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fts-backend-lucene.c	1 Dec 2006 20:55:56 -0000	1.5
+++ fts-backend-lucene.c	6 Dec 2006 15:45:15 -0000	1.6
@@ -156,6 +156,17 @@
 }
 
 static int
+fts_backend_lucene_lock(struct fts_backend *_backend __attr_unused__)
+{
+	return 1;
+}
+
+static void
+fts_backend_lucene_unlock(struct fts_backend *_backend __attr_unused__)
+{
+}
+
+static int
 fts_backend_lucene_lookup(struct fts_backend *_backend, const char *key,
 			 ARRAY_TYPE(seq_range) *result)
 {
@@ -190,6 +201,8 @@
 		fts_backend_lucene_build_deinit,
 		fts_backend_lucene_expunge,
 		fts_backend_lucene_expunge_finish,
+		fts_backend_lucene_lock,
+		fts_backend_lucene_unlock,
 		fts_backend_lucene_lookup,
 		fts_backend_lucene_filter
 	}



More information about the dovecot-cvs mailing list