]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update prototype name of Get()/Set() to EFI_AUTHENTICATION_INFO_PROTOCOL_GET/ EFI_AUT...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 16 Jun 2011 10:09:38 +0000 (10:09 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 16 Jun 2011 10:09:38 +0000 (10:09 +0000)
remove star before ControllerHandle for Get()/Set() and add star before Buffer for Get().

Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11834 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Efi/Protocol/AuthenticationInfo/AuthenticationInfo.h
MdePkg/Include/Protocol/AuthenticationInfo.h

index 3583a8869f94651755de147bd5df21b4a7d1a7b5..dab330ded080ca5f76076145e94d30bf56d3ea57 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\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\r
@@ -38,8 +38,8 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_GET) (\r
   IN  EFI_AUTHENTICATION_INFO_PROTOCOL    *This,\r
-  IN  EFI_HANDLE                          *ControllerHandle,\r
-  OUT VOID                                *Buffer\r
+  IN  EFI_HANDLE                          ControllerHandle,\r
+  OUT VOID                                **Buffer\r
   );\r
 /*++\r
 \r
@@ -69,7 +69,7 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_SET) (\r
   IN  EFI_AUTHENTICATION_INFO_PROTOCOL    *This,\r
-  IN  EFI_HANDLE                          *ControllerHandle,\r
+  IN  EFI_HANDLE                          ControllerHandle,\r
   IN  VOID                                *Buffer\r
   );\r
 /*++\r
index 538eb10534fb1e91642148f4ef530ad9cc60a343..3530aabb905acc5c035aef9aa666c0ee0989048a 100644 (file)
@@ -3,7 +3,7 @@
   This protocol is used on any device handle to obtain authentication information \r
   associated with the physical or logical device.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -145,7 +145,9 @@ typedef struct {
 \r
   @param[in]  This                  The pointer to the EFI_AUTHENTICATION_INFO_PROTOCOL.\r
   @param[in]  ControllerHandle      The handle to the Controller.\r
-  @param[out] Buffer                The pointer to the authentication information.\r
+  @param[out] Buffer                The pointer to the authentication information. This function is\r
+                                    responsible for allocating the buffer and it is the caller's\r
+                                    responsibility to free buffer when the caller is finished with buffer.\r
 \r
   @retval EFI_SUCCESS           Successfully retrieved authentication information \r
                                 for the given ControllerHandle.\r
@@ -157,10 +159,10 @@ typedef struct {
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_AUTHENTICATION_PROTOCOL_INFO_GET)(\r
+(EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_GET)(\r
   IN  EFI_AUTHENTICATION_INFO_PROTOCOL *This,\r
-  IN  EFI_HANDLE                       *ControllerHandle,\r
-  OUT VOID                             *Buffer\r
+  IN  EFI_HANDLE                       ControllerHandle,\r
+  OUT VOID                             **Buffer\r
   );\r
 \r
 /**\r
@@ -181,9 +183,9 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_AUTHENTICATION_PROTOCOL_INFO_SET)(\r
+(EFIAPI *EFI_AUTHENTICATION_INFO_PROTOCOL_SET)(\r
   IN EFI_AUTHENTICATION_INFO_PROTOCOL  *This,\r
-  IN EFI_HANDLE                        *ControllerHandle,\r
+  IN EFI_HANDLE                        ControllerHandle,\r
   IN VOID                              *Buffer\r
   );  \r
 \r
@@ -192,8 +194,8 @@ EFI_STATUS
 /// information associated with the physical or logical device.\r
 ///\r
 struct _EFI_AUTHENTICATION_INFO_PROTOCOL {\r
-  EFI_AUTHENTICATION_PROTOCOL_INFO_GET Get;\r
-  EFI_AUTHENTICATION_PROTOCOL_INFO_SET Set;\r
+  EFI_AUTHENTICATION_INFO_PROTOCOL_GET Get;\r
+  EFI_AUTHENTICATION_INFO_PROTOCOL_SET Set;\r
 };\r
 \r
 extern EFI_GUID gEfiAuthenticationInfoProtocolGuid;\r