1#ifndef LIBDRAGON_COMPRESS_APLIB_DEC_INTERNAL_H
2#define LIBDRAGON_COMPRESS_APLIB_DEC_INTERNAL_H
6#define DECOMPRESS_APLIB_FULL_USE_ASM 1
8#define DECOMPRESS_APLIB_FULL_USE_ASM 0
13#define DECOMPRESS_APLIB_STATE_SIZE 348
15void decompress_aplib_init(
void *state,
int fd,
int winsize);
16ssize_t decompress_aplib_read(
void *state,
void *buf,
size_t len);
17void decompress_aplib_reset(
void *state);
19#if DECOMPRESS_APLIB_FULL_USE_ASM
20int decompress_aplib_full_inplace(
const uint8_t* in,
size_t cmp_size, uint8_t *out,
size_t size);
22void* decompress_aplib_full(
const char *fn,
int fd,
size_t cmp_size,
size_t size);