diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-27 12:24:02 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-27 12:24:02 +0100 |
commit | c111a765eb9cc6e8d362a427ab435db959415fd9 (patch) | |
tree | 5a9975ee1833caffcf74756a6cb8cd2457647001 /src/libstat/backends | |
parent | ce3b4dafbb83c471ff5010a001607999909265e5 (diff) | |
download | rspamd-c111a765eb9cc6e8d362a427ab435db959415fd9.tar.gz rspamd-c111a765eb9cc6e8d362a427ab435db959415fd9.zip |
Start tokenizers rework.
Diffstat (limited to 'src/libstat/backends')
-rw-r--r-- | src/libstat/backends/backends.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstat/backends/backends.h b/src/libstat/backends/backends.h index 55d3535f7..c25ab648e 100644 --- a/src/libstat/backends/backends.h +++ b/src/libstat/backends/backends.h @@ -61,6 +61,8 @@ struct rspamd_stat_backend { gpointer runtime, gpointer ctx); ucl_object_t* (*get_stat)(gpointer runtime, gpointer ctx); void (*close)(gpointer ctx); + + gpointer (*load_tokenizer_config)(gpointer runtime, gsize *sz); gpointer ctx; }; @@ -97,6 +99,8 @@ struct rspamd_stat_backend { gpointer ctx); \ ucl_object_t * rspamd_##name##_get_stat (gpointer runtime, \ gpointer ctx); \ + void rspamd_##name##_load_tokenizer_config (gpointer runtime, \ + gsize *len); \ void rspamd_##name##_close (gpointer ctx) RSPAMD_STAT_BACKEND_DEF(mmaped_file); |