Blame | Last modification | View Log | RSS feed
/* Lzma86Dec.h -- LZMA + x86 (BCJ) Filter Decoder2008-08-05Igor PavlovPublic domain */#ifndef __LZMA86DEC_H#define __LZMA86DEC_H#ifdef __cplusplusextern "C" {#endif#include "Types.h"/*Lzma86_GetUnpackSize:In:src - input datasrcLen - input data sizeOut:unpackSize - size of uncompressed streamReturn code:SZ_OK - OKSZ_ERROR_INPUT_EOF - Error in headers*/SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize);/*Lzma86_Decode:In:dest - output datadestLen - output data sizesrc - input datasrcLen - input data sizeOut:destLen - processed output sizesrcLen - processed input sizeReturn code:SZ_OK - OKSZ_ERROR_DATA - Data errorSZ_ERROR_MEM - Memory allocation errorSZ_ERROR_UNSUPPORTED - unsupported fileSZ_ERROR_INPUT_EOF - it needs more bytes in input buffer*/SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen);#ifdef __cplusplus}#endif#endif