mirror of
https://github.com/acidanthera/audk.git
synced 2025-05-06 23:50:10 +02:00
begining->beginning dirve->drive duplicat->duplicate fuly->fully Funciton->Function Functino->Function optioanl->optional poitners->pointers rountine->routine sucessful->successful sucessfully->successfully Signed-off-by: Page Chen <paiching_chen@apple.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Andrew Fish <afish@apple.com> Message-Id: <829d2bed2a848229d719d7ae7b64ef1a47782720.1699557986.git.paiching_chen@apple.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
33 lines
972 B
C
33 lines
972 B
C
/** @file
|
|
Header file for compression routine.
|
|
|
|
Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef _EFI_SHELL_COMPRESS_H_
|
|
#define _EFI_SHELL_COMPRESS_H_
|
|
|
|
/**
|
|
The compression routine.
|
|
|
|
@param[in] SrcBuffer The buffer containing the source data.
|
|
@param[in] SrcSize Number of bytes in SrcBuffer.
|
|
@param[in] DstBuffer The buffer to put the compressed image in.
|
|
@param[in, out] DstSize On input the size (in bytes) of DstBuffer, on
|
|
return the number of bytes placed in DstBuffer.
|
|
|
|
@retval EFI_SUCCESS The compression was successful.
|
|
@retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required.
|
|
**/
|
|
EFI_STATUS
|
|
Compress (
|
|
IN VOID *SrcBuffer,
|
|
IN UINT64 SrcSize,
|
|
IN VOID *DstBuffer,
|
|
IN OUT UINT64 *DstSize
|
|
);
|
|
|
|
#endif
|