mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[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:
committed by
Michael Brown
parent
c4500fb7ca
commit
8e4faa0948
@@ -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 )
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
14
src/include/usr/nslookup.h
Normal file
14
src/include/usr/nslookup.h
Normal 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 */
|
||||
Reference in New Issue
Block a user