1#ifndef LIBDRAGON_COMPRESS_LZ4_DEC_INTERNAL_H
2#define LIBDRAGON_COMPRESS_LZ4_DEC_INTERNAL_H
34#define LZ4_DECOMPRESS_INPLACE_MARGIN(compressed_size) (((compressed_size) >> 8) + 32)
57int decompress_lz4_full_inplace(
const uint8_t *src,
size_t src_size, uint8_t *dst,
size_t dst_size);
60#define DECOMPRESS_LZ4_STATE_SIZE 176
62void decompress_lz4_init(
void *state,
int fd,
int winsize);
63ssize_t decompress_lz4_read(
void *state,
void *buf,
size_t len);
64void decompress_lz4_reset(
void *state);
65void* decompress_lz4_full(
const char *fn, FILE *fp,
size_t cmp_size,
size_t size);