diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-24 14:43:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-24 14:43:36 +0000 |
commit | b522caaf83b4a3f16246bdc38d0f7ce866cdc660 (patch) | |
tree | 5c42b7bbf7a274aa65a682bda9dbf07512865bbb /src/libutil/fstring.h | |
parent | d01688d6aabc2d51fd52c640c21265a7fd8e3bdc (diff) | |
download | rspamd-b522caaf83b4a3f16246bdc38d0f7ce866cdc660.tar.gz rspamd-b522caaf83b4a3f16246bdc38d0f7ce866cdc660.zip |
[Project] Start words unicode structure rework
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r-- | src/libutil/fstring.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <unicode/uchar.h> /** * 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 */ |