]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.h
ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE
[mirror_edk2.git] / ShellPkg / Library / UefiShellNetwork1CommandsLib / UefiShellNetwork1CommandsLib.h
index 144063c615b3aa7b5f910b8e0603b586234a25b2..fddada2efa48acaaf1f282f8c1e799b1d2b38937 100644 (file)
@@ -1,32 +1,25 @@
 /** @file\r
   header file for NULL named library for network1 shell command functions.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved. <BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
-#if !defined (_UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_)\r
+#ifndef _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r
 #define _UEFI_SHELL_NETWORK1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
+\r
+#include <Guid/ShellLibHiiGuid.h>\r
 \r
 #include <Protocol/Cpu.h>\r
 #include <Protocol/ServiceBinding.h>\r
 #include <Protocol/Ip6.h>\r
 #include <Protocol/Ip6Config.h>\r
 #include <Protocol/Ip4.h>\r
-#include <Protocol/Ip4Config.h>\r
-#include <Protocol/HiiConfigAccess.h>\r
-#include <Protocol/HiiConfigRouting.h>\r
+#include <Protocol/Ip4Config2.h>\r
 #include <Protocol/Arp.h>\r
 \r
 #include <Library/BaseLib.h>\r
@@ -45,9 +38,7 @@
 #include <Library/DevicePathLib.h>\r
 #include <Library/PrintLib.h>\r
 \r
-#include <Guid/NicIp4ConfigNvData.h>\r
-\r
-extern EFI_HANDLE gShellNetwork1HiiHandle;\r
+extern EFI_HII_HANDLE gShellNetwork1HiiHandle;\r
 \r
 /**\r
   Function for 'ping' command.\r