VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h@ 99404

Last change on this file since 99404 was 99404, checked in by vboxsync, 23 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 939 bytes
Line 
1/** @file
2 Header file for compression routine.
3
4 Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef _EFI_SHELL_COMPRESS_H_
10#define _EFI_SHELL_COMPRESS_H_
11
12/**
13 The compression routine.
14
15 @param[in] SrcBuffer The buffer containing the source data.
16 @param[in] SrcSize Number of bytes in SrcBuffer.
17 @param[in] DstBuffer The buffer to put the compressed image in.
18 @param[in, out] DstSize On input the size (in bytes) of DstBuffer, on
19 return the number of bytes placed in DstBuffer.
20
21 @retval EFI_SUCCESS The compression was sucessful.
22 @retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required.
23**/
24EFI_STATUS
25Compress (
26 IN VOID *SrcBuffer,
27 IN UINT64 SrcSize,
28 IN VOID *DstBuffer,
29 IN OUT UINT64 *DstSize
30 );
31
32#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette