11 #ifndef TOR_COMPRESS_LZMA_H
12 #define TOR_COMPRESS_LZMA_H
30 char **out,
size_t *out_len,
31 const char **in,
size_t *in_len,
35 #define tor_lzma_compress_free(st) \
36 FREE_AND_NULL(tor_lzma_compress_state_t, \
37 tor_lzma_compress_free_, (st))
int tor_lzma_method_supported(void)
const char * tor_lzma_get_version_str(void)
const char * tor_lzma_get_header_version_str(void)
tor_compress_output_t tor_lzma_compress_process(tor_lzma_compress_state_t *state, char **out, size_t *out_len, const char **in, size_t *in_len, int finish)
size_t tor_lzma_compress_state_size(const tor_lzma_compress_state_t *state)
size_t tor_lzma_get_total_allocation(void)
void tor_lzma_compress_free_(tor_lzma_compress_state_t *state)
tor_lzma_compress_state_t * tor_lzma_compress_new(int compress, compress_method_t method, compression_level_t compression_level)