]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/NicIp4Config.h
Add the support of GUID opcode which enable SetupBrowser to support IFR generated...
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / NicIp4Config.h
index 2272d982731c3671c1b1ebfc241a8e12151a1bbe..71bd7c4ebe97ede322503f92be55a4cf9fccd926 100644 (file)
@@ -1,6 +1,7 @@
-/*++\r
+/** @file\r
+  This file defines NicIp4Config Protocol.\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation\r
 All rights reserved. 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
@@ -9,13 +10,7 @@ http://opensource.org/licenses/bsd-license.php
 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
 \r
-Module Name:\r
-\r
-  NicIp4Config.h\r
-\r
-Abstract:\r
-\r
---*/\r
+**/\r
 \r
 #ifndef __NIC_IP4_CONFIG_H__\r
 #define __NIC_IP4_CONFIG_H__\r
@@ -38,7 +33,7 @@ Abstract:
 \r
 typedef struct _EFI_NIC_IP4_CONFIG_PROTOCOL EFI_NIC_IP4_CONFIG_PROTOCOL;\r
 \r
-enum {\r
+typedef enum {\r
   //\r
   // Config source: dhcp or static\r
   //\r
@@ -48,7 +43,7 @@ enum {
 \r
   IP4_NIC_NAME_LENGTH        = 64,\r
   MAX_IP4_CONFIG_IN_VARIABLE = 16\r
-};\r
+} IP4_CONFIG_TYPE;\r
 \r
 //\r
 // The following structures are used by drivers/applications other\r
@@ -89,7 +84,7 @@ typedef struct {
 \r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_NIC_IP4_CONFIG_GET_INFO) (\r
+(EFIAPI *EFI_NIC_IP4_CONFIG_GET_INFO)(\r
   IN EFI_NIC_IP4_CONFIG_PROTOCOL  *This,\r
   IN OUT UINTN                    *Len,\r
   OUT NIC_IP4_CONFIG_INFO         *NicConfig     OPTIONAL\r
@@ -97,7 +92,7 @@ EFI_STATUS
 \r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_NIC_IP4_CONFIG_SET_INFO) (\r
+(EFIAPI *EFI_NIC_IP4_CONFIG_SET_INFO)(\r
   IN EFI_NIC_IP4_CONFIG_PROTOCOL  *This,\r
   IN NIC_IP4_CONFIG_INFO          *NicConfig,    OPTIONAL\r
   IN BOOLEAN                      ReConfig\r
@@ -105,7 +100,7 @@ EFI_STATUS
 \r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_NIC_IP4_CONFIG_GET_NAME) (\r
+(EFIAPI *EFI_NIC_IP4_CONFIG_GET_NAME)(\r
   IN  EFI_NIC_IP4_CONFIG_PROTOCOL *This,\r
   IN  UINT16                      *Name,         OPTIONAL\r
   IN  NIC_ADDR                    *NicAddr       OPTIONAL\r