aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-02 20:23:16 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-02 20:23:16 +0400
commitce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977 (patch)
treeaa9db8b8c40ce43d504750f03f781652c16ea727 /src/main.h
parentf3ad9c6f1e91c9912dbe730fdec350b5fc908672 (diff)
downloadrspamd-ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977.tar.gz
rspamd-ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977.zip
* Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)
* Add rspamc protocol 1.1 (3 marks instead of 2)
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 cb922252c..55a62c86c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -169,6 +169,7 @@ struct worker_task {
} state; /**< current session state */
size_t content_length; /**< length of user's input */
enum rspamd_protocol proto; /**< protocol (rspamc or spamc) */
+ const char *proto_ver; /**< protocol version */
enum rspamd_command cmd; /**< command */
struct custom_command *custom_cmd; /**< custom command if any */
int sock; /**< socket descriptor */