aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-14 19:11:19 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-14 19:11:19 +0400
commita0f41f7c5712e73e8aa521f2064bc53be3315d0a (patch)
tree147e4d8956a5a3b85e0ecc15b9fcbe29742e4e5c /src/main.h
parenta90c7d7a12561845e3371efc6803b1ecf6ad7d89 (diff)
downloadrspamd-a0f41f7c5712e73e8aa521f2064bc53be3315d0a.tar.gz
rspamd-a0f41f7c5712e73e8aa521f2064bc53be3315d0a.zip
* New system of classifiers interface and statfiles processing
* Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.h b/src/main.h
index bfc78e888..4c1ab8617 100644
--- a/src/main.h
+++ b/src/main.h
@@ -71,6 +71,7 @@ struct pidfh;
struct config_file;
struct tokenizer;
struct classifier;
+struct classifier_config;
struct mime_part;
struct rspamd_view;
@@ -140,9 +141,8 @@ struct controller_session {
struct config_file *cfg; /**< pointer to config file */
char *learn_rcpt; /**< recipient for learning */
char *learn_from; /**< from address for learning */
- struct tokenizer *learn_tokenizer; /**< tokenizer for learning */
- struct classifier *learn_classifier; /**< classifier for learning */
- char *learn_filename; /**< real filename for learning */
+ struct classifier_config *learn_classifier;
+ char *learn_symbol; /**< symbol to train */
rspamd_io_dispatcher_t *dispatcher; /**< IO dispatcher object */
f_str_t *learn_buf; /**< learn input */
GList *parts; /**< extracted mime parts */