assh/assh_compress.h header reference
Description
This header file contains API descriptors for compression algorithm modules implemented in the library.
See also Compression algorithms and Core and modules.
Members
Type
- struct assh_algo_compress_s
Functions
- const assh_algo_compress_s * assh_algo_compress(const assh_algo_s *algo)
- assh_status_t assh_algo_compress_by_name_static(const assh_algo_s **table, const char *name, size_t name_len, const assh_algo_compress_s **cpa, const assh_algo_name_s **namep)
Constant
- const assh_algo_compress_s assh_compress_none
Members detail
const assh_algo_compress_s * assh_algo_compress(const assh_algo_s *algo)
This function is declared in assh/assh_compress.h source file, line 86.
This function casts and returns the passed pointer if the algorithm class is ASSH_ALGO_COMPRESS. In other cases, NULL is returned.
assh_status_t assh_algo_compress_by_name_static(const assh_algo_s **table, const char *name, size_t name_len, const assh_algo_compress_s **cpa, const assh_algo_name_s **namep)
This function is declared in assh/assh_compress.h source file, line 100.
This function finds a compression algorithm in a NULL terminated array of pointers to algorithm descriptors.
See also assh_algo_by_name_static.
This struct is declared in assh/assh_compress.h source file, line 72.
This struct is the compression algorithm descriptor structure. It can be casted to the assh_algo_s type.
See also Core and modules.
const assh_algo_compress_s assh_compress_none
This constant is declared in assh/assh_compress.h source file, line 119.