5#ifndef LIBDRAGON_COMPRESS_LZH5_h
6#define LIBDRAGON_COMPRESS_LZH5_h
21#define DECOMPRESS_LZH5_STATE_SIZE (6096+16)
26#define DECOMPRESS_LZH5_DEFAULT_WINDOW_SIZE (8192)
ssize_t decompress_lzh5_read(void *state, void *buf, size_t len)
Read decompressed data from the LZH5 stream.
int decompress_lzh5_pos(void *state)
Get the current position in the decompressed stream.
void * decompress_lzh5_full(const char *fn, FILE *fp, size_t cmp_size, size_t size)
Decompress a full LZH5 file into a buffer.
void decompress_lzh5_init(void *state, FILE *fp, int winsize)
Initialize the LZH5 decompressor state.