aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-29 19:32:31 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-29 19:32:31 +0400
commit025f2000d515244e085cd82ac089d7f0271fc531 (patch)
tree1ce03cdd34717418194aaf5fdee6584ad241cc1c /src/main.h
parent21a2da8ea3da88fe2e54785189c0a328fcab4a2a (diff)
downloadrspamd-025f2000d515244e085cd82ac089d7f0271fc531.tar.gz
rspamd-025f2000d515244e085cd82ac089d7f0271fc531.zip
* Add views support (not completely tested yet)
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 c653964b7..c929e6cb7 100644
--- a/src/main.h
+++ b/src/main.h
@@ -81,6 +81,7 @@ struct config_file;
struct tokenizer;
struct classifier;
struct mime_part;
+struct rspamd_view;
/**
* Server statistics
@@ -198,6 +199,8 @@ struct worker_task {
int error_code; /**< code of last error */
memory_pool_t *task_pool; /**< memory pool for task */
struct timespec ts; /**< time of connection */
+ struct rspamd_view *view; /**< matching view */
+ gboolean view_checked;
};
/**