aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-14 17:48:51 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-14 17:48:51 +0400
commitde262993190d03e40143e83067fb348a33ff9dbd (patch)
treeb8ab7237bb1d7d695ef92eaf17ae90f306fb215e /src/main.h
parent8f5fb08857e989193ea30828175f61599512add5 (diff)
downloadrspamd-de262993190d03e40143e83067fb348a33ff9dbd.tar.gz
rspamd-de262993190d03e40143e83067fb348a33ff9dbd.zip
* Add learn_spam/learn_ham interface to librspamdclient and to rspamc
* Improve logic of io dispatcher restoration Remove correction factor from bayes as it leads to classify errors.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index d8761617f..6ac24e7ad 100644
--- a/src/main.h
+++ b/src/main.h
@@ -166,6 +166,7 @@ struct controller_session {
void *other_data; /**< and its data */
struct rspamd_async_session* s; /**< async session object */
struct worker_task *learn_task;
+ struct rspamd_dns_resolver *resolver; /**< DNS resolver */
};
typedef void (*controller_func_t)(gchar **args, struct controller_session *session);