summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h
index 63d5bb1fb..33b5f8c7a 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -97,4 +97,11 @@ public:
void SetNS(std::string dnsserver);
};
+/** This is the handler function for multi-threaded DNS.
+ * It cannot be a class member as pthread will not let us
+ * create a thread whos handler function is a member of
+ * a class (ugh).
+ */
+void* dns_task(void* arg);
+
#endif