]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/TianoTools/Common/EfiCompress.h
Obliterate these files.
[mirror_edk2.git] / Tools / Source / TianoTools / Common / EfiCompress.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 EfiCompress.h\r
15\r
16Abstract:\r
17\r
18 Header file for compression routine\r
19 \r
20--*/\r
21\r
22#include <string.h>\r
23#include <stdlib.h>\r
24#include <Base.h>\r
25#include <UefiBaseTypes.h>\r
26\r
27#ifndef _EFICOMPRESS_H\r
28#define _EFICOMPRESS_H\r
29EFI_STATUS\r
30Compress (\r
31 IN UINT8 *SrcBuffer,\r
32 IN UINT32 SrcSize,\r
33 IN UINT8 *DstBuffer,\r
34 IN OUT UINT32 *DstSize\r
35 )\r
36;\r
37\r
38/*++\r
39\r
40Routine Description:\r
41\r
42 The compression routine.\r
43\r
44Arguments:\r
45\r
46 SrcBuffer - The buffer storing the source data\r
47 SrcSize - The size of source data\r
48 DstBuffer - The buffer to store the compressed data\r
49 DstSize - On input, the size of DstBuffer; On output,\r
50 the size of the actual compressed data.\r
51\r
52Returns:\r
53\r
54 EFI_BUFFER_TOO_SMALL - The DstBuffer is too small. In this case,\r
55 DstSize contains the size needed.\r
56 EFI_SUCCESS - Compression is successful.\r
57\r
58--*/\r
59typedef\r
60EFI_STATUS\r
61(*COMPRESS_FUNCTION) (\r
62 IN UINT8 *SrcBuffer,\r
63 IN UINT32 SrcSize,\r
64 IN UINT8 *DstBuffer,\r
65 IN OUT UINT32 *DstSize\r
66 );\r
67\r
68#endif\r