aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-14 10:27:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-14 10:27:13 +0100
commit99886642f9a7570895a41287d2d5908a325b32c4 (patch)
tree17ca796ef9cbff4d0f8f01bd3d1754f3acf8d35d /src/rspamd.h
parent34a8c93ce30342a01f0f5ba6b88d625c45974332 (diff)
downloadrspamd-99886642f9a7570895a41287d2d5908a325b32c4.tar.gz
rspamd-99886642f9a7570895a41287d2d5908a325b32c4.zip
[Fix] Fix abstract context layout
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index a9638ebe2..a716c3788 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -78,6 +78,12 @@ struct rspamd_worker {
struct rspamd_abstract_worker_ctx {
guint64 magic;
+ /* Events base */
+ struct event_base *ev_base;
+ /* DNS resolver */
+ struct rspamd_dns_resolver *resolver;
+ /* Config */
+ struct rspamd_config *cfg;
char data[];
};