X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FIScsiInitiatorName.h;h=e55c51b7c62ea336741bba6040058a633d418cde;hb=a48d0a3d72f96c0ff4f854339c4363f807bc9792;hp=009610c70a35f8083c8bdae386b6b117a326e9f4;hpb=4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/IScsiInitiatorName.h b/MdePkg/Include/Protocol/IScsiInitiatorName.h index 009610c70a..e55c51b7c6 100644 --- a/MdePkg/Include/Protocol/IScsiInitiatorName.h +++ b/MdePkg/Include/Protocol/IScsiInitiatorName.h @@ -1,9 +1,9 @@ /** @file EFI_ISCSI_INITIATOR_NAME_PROTOCOL as defined in UEFI 2.0. - It rovides the ability to get and set the iSCSI Initiator Name. + It provides the ability to get and set the iSCSI Initiator Name. - Copyright (c) 2006 - 2008, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -29,7 +29,8 @@ typedef struct _EFI_ISCSI_INITIATOR_NAME_PROTOCOL EFI_ISCSI_INITIATOR_NAME_PROTO @param This Pointer to the EFI_ISCSI_INITIATOR_NAME_PROTOCOL instance. @param BufferSize Size of the buffer in bytes pointed to by Buffer / Actual size of the variable data buffer. - @param Buffer Pointer to the buffer for data to be read. + @param Buffer Pointer to the buffer for data to be read. The data is a null-terminated UTF-8 encoded string. + The maximum length is 223 characters, including the null-terminator. @retval EFI_SUCCESS Data was successfully retrieved into the provided buffer and the BufferSize was sufficient to handle the iSCSI initiator name @@ -44,8 +45,7 @@ EFI_STATUS IN EFI_ISCSI_INITIATOR_NAME_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer - ) -; + ); @@ -54,7 +54,8 @@ EFI_STATUS @param This Pointer to the EFI_ISCSI_INITIATOR_NAME_PROTOCOL instance. @param BufferSize Size of the buffer in bytes pointed to by Buffer. - @param Buffer Pointer to the buffer for data to be written. + @param Buffer Pointer to the buffer for data to be written. The data is a null-terminated UTF-8 encoded string. + The maximum length is 223 characters, including the null-terminator. @retval EFI_SUCCESS Data was successfully stored by the protocol. @retval EFI_UNSUPPORTED Platform policies do not allow for data to be written. @@ -70,18 +71,11 @@ typedef EFI_STATUS IN EFI_ISCSI_INITIATOR_NAME_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer - ) -; + ); -/** - @par Protocol Description: - iSCSI Initiator Name Protocol for setting and obtaining the iSCSI Initiator Name. - - @param Get Used to retrieve the iSCSI Initiator Name. - - @param Set Used to set the iSCSI Initiator Name. - -**/ +/// +/// iSCSI Initiator Name Protocol for setting and obtaining the iSCSI Initiator Name. +/// struct _EFI_ISCSI_INITIATOR_NAME_PROTOCOL { EFI_ISCSI_INITIATOR_NAME_GET Get; EFI_ISCSI_INITIATOR_NAME_SET Set; @@ -91,9 +85,3 @@ extern EFI_GUID gEfiIScsiInitiatorNameProtocolGuid; #endif - - - - - -