nRF Connect SDK API 2.8.99
|
#define NRF_COMPRESS_IMPLEMENTATION_DEFINE | ( | name, | |
_id, | |||
_init, | |||
_deinit, | |||
_reset, | |||
_compress, | |||
_decompress_bytes_needed, | |||
_decompress ) |
#include <include/nrf_compress/implementation.h>
Define a compression implementation. This adds a new entry to the iterable section linker list of compression implementations.
name | Name of the compression type. |
_id | ID of the compression type nrf_compress_types. |
_init | Initialization function nrf_compress_init_func_t. |
_deinit | Deinitialization function nrf_compress_deinit_func_t. |
_reset | Reset function nrf_compress_reset_func_t. |
_compress | Compress function or NULL if no compression support nrf_compress_compress_func_t. |
_decompress_bytes_needed | Decompression bytes needed function or NULL if no decompression support nrf_compress_decompress_bytes_needed_t. |
_decompress | Decompression function or NULL if no decompression support nrf_compress_decompress_func_t. |