diff options
author | Treeki <treeki@gmail.com> | 2014-02-12 13:27:17 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-02-12 13:27:17 +0100 |
commit | d3856992710194330bae59210c4ca6154259ecdc (patch) | |
tree | 3f76efe91f2b76c68675070de442c49bd19a2181 /bouncer/dns.h | |
parent | ab96a4a6708a58109154fb3e0959c1b03c3ce302 (diff) | |
download | bounce4-d3856992710194330bae59210c4ca6154259ecdc.tar.gz bounce4-d3856992710194330bae59210c4ca6154259ecdc.zip |
stop DNS thread cleanly when exiting
Diffstat (limited to '')
-rw-r--r-- | bouncer/dns.h | 1 |
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); |