NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
ComprOps Struct Reference

#include "lib.h"

Data Fields

const char * name
 Compression name. More...
short min_level
 Minimum compression level. More...
short max_level
 Maximum compression level. More...
void *(* open )(short level)
void *(* compress )(void *cctx, const char *data, size_t dlen, size_t *clen)
void *(* decompress )(void *cctx, const char *cbuf, size_t clen)
void(* close )(void **cctx)

Detailed Description

Definition at line 59 of file lib.h.

Field Documentation

◆ name

const char* ComprOps::name

Compression name.

Definition at line 61 of file lib.h.

◆ min_level

short ComprOps::min_level

Minimum compression level.

Definition at line 62 of file lib.h.

◆ max_level

short ComprOps::max_level

Maximum compression level.

Definition at line 63 of file lib.h.

◆ open

void*(* ComprOps::open) (short level)

Definition at line 74 of file lib.h.

◆ compress

void*(* ComprOps::compress) (void *cctx, const char *data, size_t dlen, size_t *clen)

Definition at line 91 of file lib.h.

◆ decompress

void*(* ComprOps::decompress) (void *cctx, const char *cbuf, size_t clen)

Definition at line 107 of file lib.h.

◆ close

void(* ComprOps::close) (void **cctx)

Definition at line 119 of file lib.h.

The documentation for this struct was generated from the following file: