aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 7f2a60c4c..abe163b3c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -83,6 +83,7 @@ struct rspamd_worker {
struct pidfh;
struct config_file;
struct tokenizer;
+struct classifier;
/* Server statistics */
struct rspamd_stat {
@@ -138,8 +139,10 @@ struct controller_session {
char *learn_rcpt;
char *learn_from;
struct tokenizer *learn_tokenizer;
+ struct classifier *learn_classifier;
char *learn_filename;
f_str_buf_t *learn_buf;
+ int in_class;
};
/* Worker task structure */