windows-nt/Source/XPSP1/NT/enduser/stuff/itss/lzx/decoder/decapi.h
2020-09-26 16:20:57 +08:00

32 lines
630 B
C

/*
* decapi.h
*
* Decoder API definitions
*/
bool LZX_DecodeInit(
t_decoder_context *context,
long compression_window_size,
PFNALLOC pfnma,
PFNFREE pfnmf,
PFNOPEN pfnopen,
PFNREAD pfnread,
PFNWRITE pfnwrite,
PFNCLOSE pfnclose,
PFNSEEK pfnseek
);
void LZX_DecodeFree(t_decoder_context *context);
void LZX_DecodeNewGroup(t_decoder_context *context);
int LZX_Decode(
t_decoder_context *context,
long bytes_to_decode,
byte * compressed_input_buffer,
long compressed_input_size,
byte * uncompressed_output_buffer,
long uncompressed_output_size,
long * bytes_decoded
);