changeset 18802:26d9a4fcb0d4

lib-fts: Added string_t *token to struct fts_filter This makes the work a bit easier for simple filters that don't need any state but want to use a string_t.
author Timo Sirainen <tss@iki.fi>
date Tue, 02 Jun 2015 21:56:03 +0300
parents 2bf5c51738d4
children f227c2318e02
files src/lib-fts/fts-filter-private.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-fts/fts-filter-private.h	Tue Jun 02 21:54:52 2015 +0300
+++ b/src/lib-fts/fts-filter-private.h	Tue Jun 02 21:56:03 2015 +0300
@@ -28,6 +28,7 @@
 	const struct fts_filter_vfuncs *v;
 	int refcount;
 	struct fts_filter *parent;
+	string_t *token;
 };
 
 #endif