summaryrefslogtreecommitdiff
path: root/libunbound/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/context.h')
-rw-r--r--libunbound/context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libunbound/context.h b/libunbound/context.h
index 11147226a8cc..78f8731e236e 100644
--- a/libunbound/context.h
+++ b/libunbound/context.h
@@ -52,6 +52,9 @@ struct tube;
struct sldns_buffer;
struct ub_event_base;
+/** store that the logfile has a debug override */
+extern int ctx_logfile_overridden;
+
/**
* The context structure
*
@@ -116,6 +119,9 @@ struct ub_ctx {
/** event base for event oriented interface */
struct ub_event_base* event_base;
+ /** true if the event_base is a pluggable base that is malloced
+ * with a user event base inside, if so, clean up the pluggable alloc*/
+ int event_base_malloced;
/** libworker for event based interface */
struct libworker* event_worker;