aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_api.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-25 18:19:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-25 18:19:51 +0000
commitab43e080ebc5fea5a2c54bcad9180202b1a38711 (patch)
treedd1499a0523014fcef95a7a5ce1d10d9bdaeebf3 /src/libstat/stat_api.h
parent129ff2943985d3df1fba06c2bc6e721ed62e0201 (diff)
downloadrspamd-ab43e080ebc5fea5a2c54bcad9180202b1a38711.tar.gz
rspamd-ab43e080ebc5fea5a2c54bcad9180202b1a38711.zip
[Feature] Try to filter bad unicode types during normalisation
Diffstat (limited to 'src/libstat/stat_api.h')
-rw-r--r--src/libstat/stat_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_api.h b/src/libstat/stat_api.h
index 533c42948..f9d1aab5a 100644
--- a/src/libstat/stat_api.h
+++ b/src/libstat/stat_api.h
@@ -39,6 +39,7 @@
#define RSPAMD_STAT_TOKEN_FLAG_STOP_WORD (1u << 10)
#define RSPAMD_STAT_TOKEN_FLAG_SKIPPED (1u << 11)
#define RSPAMD_STAT_TOKEN_FLAG_INVISIBLE_SPACES (1u << 12)
+#define RSPAMD_STAT_TOKEN_FLAG_EMOJI (1u << 13)
typedef struct rspamd_stat_token_s {
rspamd_ftok_t original; /* utf8 raw */