diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-26 21:43:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-26 21:43:52 +0100 |
commit | 277ffc972d161a0928bc07c2e5d110b00115744c (patch) | |
tree | 246b76ade650c124e987f9ff4a662ded8b23d07e /src/libstat/tokenizers/tokenizers.h | |
parent | e38b84cd48f8c465b94395a5641f85209ab22b68 (diff) | |
download | rspamd-277ffc972d161a0928bc07c2e5d110b00115744c.tar.gz rspamd-277ffc972d161a0928bc07c2e5d110b00115744c.zip |
Allow adding of prefix for tokenizers.
Diffstat (limited to 'src/libstat/tokenizers/tokenizers.h')
-rw-r--r-- | src/libstat/tokenizers/tokenizers.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstat/tokenizers/tokenizers.h b/src/libstat/tokenizers/tokenizers.h index 2c96b7cff..ef3fc8af0 100644 --- a/src/libstat/tokenizers/tokenizers.h +++ b/src/libstat/tokenizers/tokenizers.h @@ -19,7 +19,8 @@ struct rspamd_stat_tokenizer { rspamd_mempool_t *pool, GArray *words, GTree *result, - gboolean is_utf); + gboolean is_utf, + const gchar *prefix); }; /* Compare two token nodes */ @@ -36,7 +37,8 @@ gint rspamd_tokenizer_osb (struct rspamd_tokenizer_config *cf, rspamd_mempool_t *pool, GArray *input, GTree *tokens, - gboolean is_utf); + gboolean is_utf, + const gchar *prefix); gpointer rspamd_tokenizer_osb_get_config (struct rspamd_tokenizer_config *cf, gsize *len); |