changeset 20674:5f7da2341648

lib-fts: Add max_length to common filter struct. Reorder fields. The latter is for for imaginary alignment enhancements.
author Teemu Huovila <teemu.huovila@dovecot.fi>
date Wed, 17 Aug 2016 16:47:19 +0300
parents 246105771e0e
children 3a7093f314a4
files src/lib-fts/fts-filter-private.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-fts/fts-filter-private.h	Fri Aug 19 16:00:30 2016 +0300
+++ b/src/lib-fts/fts-filter-private.h	Wed Aug 17 16:47:19 2016 +0300
@@ -26,9 +26,10 @@
 struct fts_filter {
 	const char *class_name; /* name of the class this is based on */
 	struct fts_filter_vfuncs v;
-	int refcount;
 	struct fts_filter *parent;
 	string_t *token;
+	size_t max_length;
+	int refcount;
 };
 
 #endif