4#ifndef ZIP7_INC_LZMA2_DEC_H
5#define ZIP7_INC_LZMA2_DEC_H
25#define Lzma2Dec_CONSTRUCT(p) LzmaDec_CONSTRUCT(&(p)->decoder)
26#define Lzma2Dec_Construct(p) Lzma2Dec_CONSTRUCT(p)
27#define Lzma2Dec_FreeProbs(p, alloc) LzmaDec_FreeProbs(&(p)->decoder, alloc)
28#define Lzma2Dec_Free(p, alloc) LzmaDec_Free(&(p)->decoder, alloc)
94#define Lzma2Dec_GetUnpackExtra(p) ((p)->isExtraMode ? (p)->unpackSize : 0)
unsigned int UInt32
Definition 7zTypes.h:180
size_t SizeT
Definition 7zTypes.h:247
#define EXTERN_C_BEGIN
Definition 7zTypes.h:20
int SRes
Definition 7zTypes.h:45
#define EXTERN_C_END
Definition 7zTypes.h:21
const ISzAlloc * ISzAllocPtr
Definition 7zTypes.h:457
unsigned char Byte
Definition 7zTypes.h:171
SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc)
SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
void Lzma2Dec_Init(CLzma2Dec *p)
SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
ELzma2ParseStatus Lzma2Dec_Parse(CLzma2Dec *p, SizeT outSize, const Byte *src, SizeT *srcLen, int checkFinishBlock)
SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc)
SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc)
ELzma2ParseStatus
Definition Lzma2Dec.h:67
@ LZMA2_PARSE_STATUS_NEW_CHUNK
Definition Lzma2Dec.h:76
@ LZMA2_PARSE_STATUS_NEW_BLOCK
Definition Lzma2Dec.h:75
ELzmaFinishMode
Definition LzmaDec.h:86
ELzmaStatus
Definition LzmaDec.h:107
@ LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK
Definition LzmaDec.h:112
unsigned state
Definition Lzma2Dec.h:15
Byte isExtraMode
Definition Lzma2Dec.h:18
UInt32 unpackSize
Definition Lzma2Dec.h:21
UInt32 packSize
Definition Lzma2Dec.h:20
Byte needInitLevel
Definition Lzma2Dec.h:17
CLzmaDec decoder
Definition Lzma2Dec.h:22
Byte control
Definition Lzma2Dec.h:16
Byte _pad_
Definition Lzma2Dec.h:19