NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
ComprOps Struct Reference

#include "lib.h"

Data Fields

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

Detailed Description

Definition at line 63 of file lib.h.

Field Documentation

◆ name

const char* ComprOps::name

Compression name.

Definition at line 65 of file lib.h.

◆ min_level

short ComprOps::min_level

Minimum compression level.

Definition at line 66 of file lib.h.

◆ max_level

short ComprOps::max_level

Maximum compression level.

Definition at line 67 of file lib.h.

◆ open

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

Definition at line 78 of file lib.h.

◆ compress

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

Definition at line 95 of file lib.h.

◆ decompress

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

Definition at line 111 of file lib.h.

◆ close

void(* ComprOps::close) (ComprHandle **ptr)

Definition at line 123 of file lib.h.


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