GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / tools / misc / lzma_src / C / LzmaUtil / Lzma86Dec.h
blobfc48a9a39ab7acaf9f3e97c00a699cbe8515867f
1 /* Lzma86Dec.h -- LZMA + x86 (BCJ) Filter Decoder
2 2008-08-05
3 Igor Pavlov
4 Public domain */
6 #ifndef __LZMA86DEC_H
7 #define __LZMA86DEC_H
9 #include "../Types.h"
12 Lzma86_GetUnpackSize:
13 In:
14 src - input data
15 srcLen - input data size
16 Out:
17 unpackSize - size of uncompressed stream
18 Return code:
19 SZ_OK - OK
20 SZ_ERROR_INPUT_EOF - Error in headers
23 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize);
26 Lzma86_Decode:
27 In:
28 dest - output data
29 destLen - output data size
30 src - input data
31 srcLen - input data size
32 Out:
33 destLen - processed output size
34 srcLen - processed input size
35 Return code:
36 SZ_OK - OK
37 SZ_ERROR_DATA - Data error
38 SZ_ERROR_MEM - Memory allocation error
39 SZ_ERROR_UNSUPPORTED - unsupported file
40 SZ_ERROR_INPUT_EOF - it needs more bytes in input buffer
43 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen);
45 #endif