59 char tmp[256] = { 0 };
67 len += snprintf(tmp + len,
sizeof(tmp) - len,
", ");
69 len += snprintf(tmp + len,
sizeof(tmp) - len,
"%s", (*ops)->name);
84 if (!compr || !*compr)
89 if (strcmp(compr, (*ops)->name) == 0)
const char * compress_list(void)
Get a list of compression backend names.
const struct ComprOps * compress_get_ops(const char *compr)
Get the API functions for a compress backend.
static const struct ComprOps * CompressOps[]
Backend implementations.
const struct ComprOps compr_zlib_ops
const struct ComprOps compr_lz4_ops
const struct ComprOps compr_zstd_ops
Convenience wrapper for the library headers.
char * mutt_str_dup(const char *str)
Copy a string, safely.