aboutsummaryrefslogtreecommitdiff
path: root/src/include/usr
diff options
context:
space:
mode:
authorPatrick Plenefisch <phplenefisch@wpi.edu>2012-08-30 00:21:33 +0100
committerMichael Brown <mcb30@ipxe.org>2012-09-10 15:31:14 +0100
commit8e4faa094824cae9633ad512ea40c12805435f82 (patch)
tree9e92aa5f3c7f29ca47b378704233ec5863b8db80 /src/include/usr
parentc4500fb7cab08beabeee5c2d1e35f964764a7045 (diff)
downloadipxe-8e4faa094824cae9633ad512ea40c12805435f82.zip
ipxe-8e4faa094824cae9633ad512ea40c12805435f82.tar.gz
ipxe-8e4faa094824cae9633ad512ea40c12805435f82.tar.bz2
[cmdline] Add standalone "nslookup" command
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/nslookup.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/usr/nslookup.h b/src/include/usr/nslookup.h
new file mode 100644
index 0000000..d34649e
--- /dev/null
+++ b/src/include/usr/nslookup.h
@@ -0,0 +1,14 @@
+#ifndef _USR_NSLOOKUP_H
+#define _USR_NSLOOKUP_H
+
+/** @file
+ *
+ * Standalone name resolution
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+extern int nslookup ( const char *name, const char *setting_name );
+
+#endif /* _USR_NSLOOKUP_H */