From a47ea91881c3cca4c8e3bdd3ea13d09886cafa94 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 16 Jan 2014 20:19:00 +0100 Subject: initial commit of stuff --- dns.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dns.h (limited to 'dns.h') diff --git a/dns.h b/dns.h new file mode 100644 index 0000000..78ec75f --- /dev/null +++ b/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