]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/NicIp4Config.h
refine comments for EFI_CONSOLE_CONTROL_PROTOCOL
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / NicIp4Config.h
index da3888881a4763bd38fa62eab1ce3f95a38538e4..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
@@ -47,8 +42,8 @@ enum {
   IP4_CONFIG_SOURCE_MAX,\r
 \r
   IP4_NIC_NAME_LENGTH        = 64,\r
-  MAX_IP4_CONFIG_IN_VARIABLE = 16,\r
-};\r
+  MAX_IP4_CONFIG_IN_VARIABLE = 16\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