From b522caaf83b4a3f16246bdc38d0f7ce866cdc660 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 24 Nov 2018 14:43:36 +0000 Subject: [Project] Start words unicode structure rework --- src/libutil/fstring.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libutil/fstring.h') diff --git a/src/libutil/fstring.h b/src/libutil/fstring.h index 1f194827c..88e41b47a 100644 --- a/src/libutil/fstring.h +++ b/src/libutil/fstring.h @@ -18,6 +18,7 @@ #include "config.h" #include "mem_pool.h" +#include /** * Fixed strings library @@ -38,6 +39,11 @@ typedef struct f_str_tok { const gchar *begin; } rspamd_ftok_t; +typedef struct f_str_unicode_tok { + gsize len; /* in uchars */ + const UChar *begin; +} rspamd_ftok_unicode_t; + /** * Create new fixed length string */ -- cgit v1.2.3