diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-24 16:26:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-24 16:26:01 +0000 |
commit | abd5300a45ff290656926b61603a65e9621e090f (patch) | |
tree | e3d350cca3ecbac3a41fcf96ad2a9dc5f9e48d75 /src/libutil/str_util.h | |
parent | b522caaf83b4a3f16246bdc38d0f7ce866cdc660 (diff) | |
download | rspamd-abd5300a45ff290656926b61603a65e9621e090f.tar.gz rspamd-abd5300a45ff290656926b61603a65e9621e090f.zip |
[Project] Add function to normalize unicode on per words basis
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r-- | src/libutil/str_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index ffcc69197..688034ec6 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -386,6 +386,12 @@ rspamd_str_has_8bit (const guchar *beg, gsize len) return FALSE; } +struct UConverter; +struct UConverter *rspamd_get_utf8_converter (void); + +struct UNormalizer2; +const struct UNormalizer2 *rspamd_get_unicode_normalizer (void); + /** * Gets a string in UTF8 and normalises it to NFKC_Casefold form * @param pool optional memory pool used for logging purposes |