Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
LzmaDec.h File Reference
#include "7zTypes.h"

Go to the source code of this file.

Data Structures

struct  CLzmaProps
 
struct  CLzmaDec
 

Macros

#define LZMA_PROPS_SIZE   5
 
#define LZMA_REQUIRED_INPUT_MAX   20
 
#define LzmaDec_CONSTRUCT(p)
 
#define LzmaDec_Construct(p)
 

Enumerations

enum  ELzmaFinishMode { LZMA_FINISH_ANY , LZMA_FINISH_END }
 
enum  ELzmaStatus {
  LZMA_STATUS_NOT_SPECIFIED , LZMA_STATUS_FINISHED_WITH_MARK , LZMA_STATUS_NOT_FINISHED , LZMA_STATUS_NEEDS_MORE_INPUT ,
  LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK
}
 

Functions

SRes LzmaProps_Decode (CLzmaProps *p, const Byte *data, unsigned size)
 
void LzmaDec_Init (CLzmaDec *p)
 
SRes LzmaDec_AllocateProbs (CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc)
 
void LzmaDec_FreeProbs (CLzmaDec *p, ISzAllocPtr alloc)
 
SRes LzmaDec_Allocate (CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc)
 
void LzmaDec_Free (CLzmaDec *p, ISzAllocPtr alloc)
 
SRes LzmaDec_DecodeToDic (CLzmaDec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
 
SRes LzmaDec_DecodeToBuf (CLzmaDec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
 
SRes LzmaDecode (Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc)
 

Variables

EXTERN_C_BEGIN typedef UInt16 CLzmaProb
 

Macro Definition Documentation

◆ LZMA_PROPS_SIZE

#define LZMA_PROPS_SIZE   5

◆ LZMA_REQUIRED_INPUT_MAX

#define LZMA_REQUIRED_INPUT_MAX   20

◆ LzmaDec_CONSTRUCT

#define LzmaDec_CONSTRUCT ( p)
Value:
{ (p)->dic = NULL; (p)->probs = NULL; }
#define NULL
Definition getopt1.c:37

◆ LzmaDec_Construct

#define LzmaDec_Construct ( p)
Value:
#define LzmaDec_CONSTRUCT(p)
Definition LzmaDec.h:76

Enumeration Type Documentation

◆ ELzmaFinishMode

Enumerator
LZMA_FINISH_ANY 
LZMA_FINISH_END 

◆ ELzmaStatus

Enumerator
LZMA_STATUS_NOT_SPECIFIED 
LZMA_STATUS_FINISHED_WITH_MARK 
LZMA_STATUS_NOT_FINISHED 
LZMA_STATUS_NEEDS_MORE_INPUT 
LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK 

Function Documentation

◆ LzmaDec_Allocate()

SRes LzmaDec_Allocate ( CLzmaDec * p,
const Byte * props,
unsigned propsSize,
ISzAllocPtr alloc )

◆ LzmaDec_AllocateProbs()

SRes LzmaDec_AllocateProbs ( CLzmaDec * p,
const Byte * props,
unsigned propsSize,
ISzAllocPtr alloc )

◆ LzmaDec_DecodeToBuf()

SRes LzmaDec_DecodeToBuf ( CLzmaDec * p,
Byte * dest,
SizeT * destLen,
const Byte * src,
SizeT * srcLen,
ELzmaFinishMode finishMode,
ELzmaStatus * status )

◆ LzmaDec_DecodeToDic()

SRes LzmaDec_DecodeToDic ( CLzmaDec * p,
SizeT dicLimit,
const Byte * src,
SizeT * srcLen,
ELzmaFinishMode finishMode,
ELzmaStatus * status )

◆ LzmaDec_Free()

void LzmaDec_Free ( CLzmaDec * p,
ISzAllocPtr alloc )

◆ LzmaDec_FreeProbs()

void LzmaDec_FreeProbs ( CLzmaDec * p,
ISzAllocPtr alloc )

◆ LzmaDec_Init()

void LzmaDec_Init ( CLzmaDec * p)

◆ LzmaDecode()

SRes LzmaDecode ( Byte * dest,
SizeT * destLen,
const Byte * src,
SizeT * srcLen,
const Byte * propData,
unsigned propSize,
ELzmaFinishMode finishMode,
ELzmaStatus * status,
ISzAllocPtr alloc )

◆ LzmaProps_Decode()

SRes LzmaProps_Decode ( CLzmaProps * p,
const Byte * data,
unsigned size )

Variable Documentation

◆ CLzmaProb