diff options
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 |