summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorPatrick Plenefisch2012-08-30 01:21:33 +0200
committerMichael Brown2012-09-10 16:31:14 +0200
commit8e4faa094824cae9633ad512ea40c12805435f82 (patch)
tree9e92aa5f3c7f29ca47b378704233ec5863b8db80 /src/include/usr
parent[smbios] Default to "hex" type for non-string SMBIOS settings (diff)
downloadipxe-8e4faa094824cae9633ad512ea40c12805435f82.tar.gz
ipxe-8e4faa094824cae9633ad512ea40c12805435f82.tar.xz
ipxe-8e4faa094824cae9633ad512ea40c12805435f82.zip
[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 00000000..d34649e9
--- /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 */