50#ifndef MUTT_COMPRESS_LIB_H
51#define MUTT_COMPRESS_LIB_H
95 void *(*compress)(
ComprHandle *handle,
const char *data,
size_t dlen,
size_t *clen);
111 void *(*decompress)(
ComprHandle *handle,
const char *cbuf,
size_t clen);
const char * compress_list(void)
Get a list of compression backend names.
const struct ComprOps compr_zlib_ops
void ComprHandle
Opaque type for compression data.
const struct ComprOps compr_lz4_ops
const struct ComprOps compr_zstd_ops
const struct ComprOps * compress_get_ops(const char *compr)
Get the API functions for a compress backend.
const char * name
Compression name.
short max_level
Maximum compression level.
short min_level
Minimum compression level.
void(* close)(ComprHandle **ptr)