diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-27 13:51:50 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-27 13:51:50 +0100 |
commit | 6f7007aca294790c8cb2bb3b784005dc1a2118a4 (patch) | |
tree | aa2c60980dbd06a3df1281b6fbfb999b3e0978bd /src/libstat/tokenizers | |
parent | 043c5b7bcdb055c7f45034bd0a83408773c35bfd (diff) | |
download | rspamd-6f7007aca294790c8cb2bb3b784005dc1a2118a4.tar.gz rspamd-6f7007aca294790c8cb2bb3b784005dc1a2118a4.zip |
Fix stat processing.
Diffstat (limited to 'src/libstat/tokenizers')
-rw-r--r-- | src/libstat/tokenizers/tokenizers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstat/tokenizers/tokenizers.h b/src/libstat/tokenizers/tokenizers.h index a2ff388ef..ed7ba4bcc 100644 --- a/src/libstat/tokenizers/tokenizers.h +++ b/src/libstat/tokenizers/tokenizers.h @@ -19,6 +19,7 @@ struct rspamd_stat_tokenizer { gpointer ptr, gsize len); gboolean (*load_config) (struct rspamd_tokenizer_runtime *rt, gpointer ptr, gsize len); + gboolean (*is_compat) (struct rspamd_tokenizer_runtime *rt); gint (*tokenize_func)(struct rspamd_tokenizer_runtime *rt, rspamd_mempool_t *pool, GArray *words, @@ -53,6 +54,9 @@ gboolean rspamd_tokenizer_osb_load_config (struct rspamd_tokenizer_runtime *rt, gpointer ptr, gsize len); +gboolean +rspamd_tokenizer_osb_is_compat (struct rspamd_tokenizer_runtime *rt); + #endif /* * vi:ts=4 |