[cmdline] Add standalone "nslookup" command

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Patrick Plenefisch
2012-08-30 00:21:33 +01:00
committed by Michael Brown
parent c4500fb7ca
commit 8e4faa0948
6 changed files with 283 additions and 0 deletions

View File

@@ -262,6 +262,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ERRFILE_menu_cmd ( ERRFILE_OTHER | 0x002d0000 )
#define ERRFILE_validator ( ERRFILE_OTHER | 0x002e0000 )
#define ERRFILE_ocsp ( ERRFILE_OTHER | 0x002f0000 )
#define ERRFILE_nslookup ( ERRFILE_OTHER | 0x00300000 )
/** @} */

View File

@@ -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 */