]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Ip6Config.h
MdePkg: Add UEFI2.5 USB Function I/O protocol definitions
[mirror_edk2.git] / MdePkg / Include / Protocol / Ip6Config.h
index 2182e4b374b229dcd5128b02c2e0df900512989b..b2c3be9ee7cf54e86757607642a23735d5ae46a4 100644 (file)
@@ -2,8 +2,8 @@
   This file provides a definition of the EFI IPv6 Configuration\r
   Protocol.\r
 \r
-Copyright (c) 2008 - 2009, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>\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<BR>\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -100,7 +100,7 @@ typedef enum {
 ///\r
 typedef struct {\r
   ///\r
-  /// The name of the interface. It is a NULL-terminated Unicode string.\r
+  /// The name of the interface. It is a NULL-terminated string.\r
   ///\r
   CHAR16                Name[32];\r
   /// \r
@@ -231,7 +231,7 @@ typedef struct {
                                 - Data is NULL.\r
                                 - One or more fields in Data do not match the requirement of the \r
                                   data type indicated by DataType. \r
-  @rerval EFI_WRITE_PROTECTED   The specified configuration data is read-only or the specified \r
+  @retval EFI_WRITE_PROTECTED   The specified configuration data is read-only or the specified \r
                                 configuration data can not be set under the current policy\r
   @retval EFI_ACCESS_DENIED     Another set operation on the specified configuration \r
                                 data is already in process.\r
@@ -246,7 +246,7 @@ typedef struct {
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_IP6_CONFIG_SET_DATA) (\r
+(EFIAPI *EFI_IP6_CONFIG_SET_DATA)(\r
   IN EFI_IP6_CONFIG_PROTOCOL    *This,\r
   IN EFI_IP6_CONFIG_DATA_TYPE   DataType,\r
   IN UINTN                      DataSize,\r
@@ -283,7 +283,7 @@ EFI_STATUS
                                 - This is NULL.\r
                                 - DataSize is NULL.\r
                                 - Data is NULL if *DataSize is not zero.\r
-  @rerval EFI_BUFFER_TOO_SMALL  The size of Data is too small for the specified configuration data \r
+  @retval EFI_BUFFER_TOO_SMALL  The size of Data is too small for the specified configuration data \r
                                 and the required size is returned in DataSize.\r
   @retval EFI_NOT_READY         The specified configuration data is not ready due to an already in \r
                                 progress asynchronous configuration process.\r
@@ -292,7 +292,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_IP6_CONFIG_GET_DATA) (\r
+(EFIAPI *EFI_IP6_CONFIG_GET_DATA)(\r
   IN EFI_IP6_CONFIG_PROTOCOL    *This,\r
   IN EFI_IP6_CONFIG_DATA_TYPE   DataType,\r
   IN OUT UINTN                  *DataSize,\r
@@ -315,7 +315,7 @@ EFI_STATUS
   @retval EFI_SUCCESS           The notification event for the specified configuration data is \r
                                 registered.\r
   @retval EFI_INVALID_PARAMETER This is NULL or Event is NULL.\r
-  @rerval EFI_UNSUPPORTED       The configuration data type specified by DataType is not \r
+  @retval EFI_UNSUPPORTED       The configuration data type specified by DataType is not \r
                                 supported.\r
   @retval EFI_OUT_OF_RESOURCES  Required system resources could not be allocated.\r
   @retval EFI_ACCESS_DENIED     The Event is already registered for the DataType.\r
@@ -323,7 +323,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_IP6_CONFIG_REGISTER_NOTIFY) (\r
+(EFIAPI *EFI_IP6_CONFIG_REGISTER_NOTIFY)(\r
   IN EFI_IP6_CONFIG_PROTOCOL    *This,\r
   IN EFI_IP6_CONFIG_DATA_TYPE   DataType,\r
   IN EFI_EVENT                  Event\r
@@ -340,13 +340,13 @@ EFI_STATUS
   \r
   @retval EFI_SUCCESS           The event registered for the specified configuration data is removed.\r
   @retval EFI_INVALID_PARAMETER This is NULL or Event is NULL.\r
-  @rerval EFI_NOT_FOUND         The Event has not been registered for the specified \r
+  @retval EFI_NOT_FOUND         The Event has not been registered for the specified \r
                                 DataType.\r
   \r
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_IP6_CONFIG_UNREGISTER_NOTIFY) (\r
+(EFIAPI *EFI_IP6_CONFIG_UNREGISTER_NOTIFY)(\r
   IN EFI_IP6_CONFIG_PROTOCOL    *This,\r
   IN EFI_IP6_CONFIG_DATA_TYPE   DataType,\r
   IN EFI_EVENT                  Event\r
@@ -356,12 +356,12 @@ EFI_STATUS
 /// The EFI_IP6_CONFIG_PROTOCOL provides the mechanism to set and get various\r
 /// types of configurations for the EFI IPv6 network stack.\r
 ///\r
-typedef struct _EFI_IP6_CONFIG_PROTOCOL {\r
+struct _EFI_IP6_CONFIG_PROTOCOL {\r
   EFI_IP6_CONFIG_SET_DATA           SetData;\r
   EFI_IP6_CONFIG_GET_DATA           GetData;\r
   EFI_IP6_CONFIG_REGISTER_NOTIFY    RegisterDataNotify;\r
   EFI_IP6_CONFIG_UNREGISTER_NOTIFY  UnregisterDataNotify;\r
-} EFI_IP6_CONFIG_PROTOCOL;\r
+};\r
 \r
 extern EFI_GUID gEfiIp6ConfigProtocolGuid;\r
 \r