summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/daemon/worker.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/daemon/worker.h')
-rw-r--r--contrib/unbound/daemon/worker.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/unbound/daemon/worker.h b/contrib/unbound/daemon/worker.h
index 83503ae..ff69bc1 100644
--- a/contrib/unbound/daemon/worker.h
+++ b/contrib/unbound/daemon/worker.h
@@ -51,6 +51,7 @@
#include "util/data/msgparse.h"
#include "daemon/stats.h"
#include "util/module.h"
+#include "dnstap/dnstap.h"
struct listen_dnsport;
struct outside_network;
struct config_file;
@@ -116,6 +117,11 @@ struct worker {
/** module environment passed to modules, changed for this thread */
struct module_env env;
+
+#ifdef USE_DNSTAP
+ /** dnstap environment, changed for this thread */
+ struct dt_env dtenv;
+#endif
};
/**
OpenPOWER on IntegriCloud