summaryrefslogtreecommitdiff
path: root/resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'resolver.h')
-rw-r--r--resolver.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/resolver.h b/resolver.h
new file mode 100644
index 0000000..01eba83
--- /dev/null
+++ b/resolver.h
@@ -0,0 +1,19 @@
+/*
+ * resolver.h:
+ *
+ */
+
+#ifndef __RESOLVER_H_ /* include guard */
+#define __RESOLVER_H_
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in_systm.h>
+#include <netinet/in.h>
+
+
+void resolver_initialise(void);
+
+void resolve(int af, struct in6_addr* addr, char* result, int buflen);
+
+#endif /* __RESOLVER_H_ */