summaryrefslogtreecommitdiff
path: root/bouncer/dns.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-02-12 13:27:17 +0100
committerTreeki <treeki@gmail.com>2014-02-12 13:27:17 +0100
commitd3856992710194330bae59210c4ca6154259ecdc (patch)
tree3f76efe91f2b76c68675070de442c49bd19a2181 /bouncer/dns.h
parentab96a4a6708a58109154fb3e0959c1b03c3ce302 (diff)
downloadbounce4-d3856992710194330bae59210c4ca6154259ecdc.tar.gz
bounce4-d3856992710194330bae59210c4ca6154259ecdc.zip
stop DNS thread cleanly when exiting
Diffstat (limited to '')
-rw-r--r--bouncer/dns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bouncer/dns.h b/bouncer/dns.h
index 78ec75f..90ba7dc 100644
--- a/bouncer/dns.h
+++ b/bouncer/dns.h
@@ -7,6 +7,7 @@
namespace DNS {
void start();
+ void stop();
int makeQuery(const char *name);
void closeQuery(int id);
bool checkQuery(int id, in_addr *pResult, bool *pIsError);