diff options
author | Treeki <treeki@gmail.com> | 2014-01-16 20:19:00 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-01-16 20:19:00 +0100 |
commit | a47ea91881c3cca4c8e3bdd3ea13d09886cafa94 (patch) | |
tree | 91e9e6ebcbe08044f9594a577b9ad83b186d7868 /dns.h | |
download | bounce4-a47ea91881c3cca4c8e3bdd3ea13d09886cafa94.tar.gz bounce4-a47ea91881c3cca4c8e3bdd3ea13d09886cafa94.zip |
initial commit of stuff
Diffstat (limited to '')
-rw-r--r-- | dns.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#ifndef DNS_H +#define DNS_H + +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> + +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 */ |