From 22b35add6baa191b6c82347686e2599d848f2cb7 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 23 Jan 2014 23:45:19 +0100 Subject: move bouncer files into the bouncer directory --- bouncer/dns.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bouncer/dns.h (limited to 'bouncer/dns.h') diff --git a/bouncer/dns.h b/bouncer/dns.h new file mode 100644 index 0000000..78ec75f --- /dev/null +++ b/bouncer/dns.h @@ -0,0 +1,15 @@ +#ifndef DNS_H +#define DNS_H + +#include +#include +#include + +namespace DNS { + void start(); + int makeQuery(const char *name); + void closeQuery(int id); + bool checkQuery(int id, in_addr *pResult, bool *pIsError); +} + +#endif /* DNS_H */ -- cgit v1.2.3