diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dns.h | 2 | ||||
-rw-r--r-- | include/dnsqueue.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h index 9d293884a..ea02f03bb 100644 --- a/include/dns.h +++ b/include/dns.h @@ -216,6 +216,8 @@ void dns_deal_with_classes(int fd); */ bool dns_add_class(Resolver* r); +void dns_close(int fd); + #ifdef THREADED_DNS /** This is the handler function for multi-threaded DNS. * It cannot be a class member as pthread will not let us diff --git a/include/dnsqueue.h b/include/dnsqueue.h index 2b3217847..9c192357c 100644 --- a/include/dnsqueue.h +++ b/include/dnsqueue.h @@ -3,3 +3,4 @@ bool lookup_dns(const std::string &nick); void dns_poll(int fdcheck); +void ZapThisDns(int fd); |