summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-29 15:26:31 +0200
committerMichael Brown2005-04-29 15:26:31 +0200
commit65dc273d7816a0a38064e4a6294ef40b32f4dcc7 (patch)
tree78d44dfa64ea61da60d148b9239601a3e018ba87 /src/include
parentFirst version (diff)
downloadipxe-65dc273d7816a0a38064e4a6294ef40b32f4dcc7.tar.gz
ipxe-65dc273d7816a0a38064e4a6294ef40b32f4dcc7.tar.xz
ipxe-65dc273d7816a0a38064e4a6294ef40b32f4dcc7.zip
First version
Diffstat (limited to 'src/include')
-rw-r--r--src/include/resolv.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/resolv.h b/src/include/resolv.h
new file mode 100644
index 000000000..99e3b297b
--- /dev/null
+++ b/src/include/resolv.h
@@ -0,0 +1,15 @@
+#ifndef RESOLV_H
+#define RESOLV_H
+
+#include "in.h"
+#include "tables.h"
+
+struct resolver {
+ int ( * resolv ) ( struct in_addr *address, const char *name );
+};
+
+#define __resolver __table(resolver,01)
+
+extern int resolv ( struct in_addr *address, const char *name );
+
+#endif /* RESOLV_H */