121 case BZ_DATA_ERROR_MAGIC:
122 case BZ_UNEXPECTED_EOF:
131 case BZ_CONFIG_ERROR:
133 case BZ_OUTBUFF_FULL:
134 case BZ_SEQUENCE_ERROR:
156 ret = BZ2_bzDecompressInit(&
ctx->
zstr, 0, 0);
199 ctx->
zstr.next_in = (
char *)data;
225 ctx->
zstr.next_out = (
char *)data;
231 ret = BZ2_bzDecompress(&
ctx->
zstr);
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_API void Ht_() free(HtName_(Ht) *ht)
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
#define ZIP_ER_COMPRESSED_DATA
void * malloc(size_t size)
uint64_t uncompressed_size
void error(const char *msg)
static zip_uint64_t maximum_compressed_size(zip_uint64_t uncompressed_size)
static void deallocate(void *ud)
zip_compression_algorithm_t zip_algorithm_bzip2_decompress
zip_compression_algorithm_t zip_algorithm_bzip2_compress
static void * decompress_allocate(zip_uint16_t method, int compression_flags, zip_error_t *error)
static void * allocate(bool compress, int compression_flags, zip_error_t *error)
static void * compress_allocate(zip_uint16_t method, int compression_flags, zip_error_t *error)
static bool start(void *ud, zip_stat_t *st, zip_file_attributes_t *attributes)
static bool end(void *ud)
static zip_uint16_t general_purpose_bit_flags(void *ud)
static int map_error(int ret)
static void end_of_input(void *ud)
static bool input(void *ud, zip_uint8_t *data, zip_uint64_t length)
static zip_compression_status_t process(void *ud, zip_uint8_t *data, zip_uint64_t *length)
enum zip_compression_status zip_compression_status_t
@ ZIP_COMPRESSION_NEED_DATA