aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/stat_internal.h')
-rw-r--r--src/libstat/stat_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstat/stat_internal.h b/src/libstat/stat_internal.h
index 6587f595e..54f7e13d9 100644
--- a/src/libstat/stat_internal.h
+++ b/src/libstat/stat_internal.h
@@ -31,18 +31,20 @@
struct rspamd_statfile_runtime {
struct rspamd_statfile_config *st;
- gpointer statfile_data;
+ gpointer backend_runtime;
guint64 hits;
guint64 total_hits;
};
struct rspamd_classifier_runtime {
+ struct rspamd_classifier_config *clcf;
+ struct rspamd_stat_classifier *cl;
double ham_prob;
double spam_prob;
guint64 total_spam;
guint64 total_ham;
guint64 processed_tokens;
- gsize max_tokens;
+ GList *st_runtime;
};
struct rspamd_token_result {