aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/fstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r--src/libutil/fstring.h6
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
*/