mirror of
https://github.com/acidanthera/audk.git
synced 2025-05-08 08:30:13 +02:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the ShellPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
33 lines
971 B
C
33 lines
971 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 sucessful.
|
|
@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
|