From 880fb3e3a9aba21c0b36aa4aa5659432e90eb827 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 25 Apr 2017 09:41:23 -0400 Subject: Combine all *compress/*uncompress backend function into one Since we have a streaming API for each compression backend, we don't need a non-streaming API for each: we can build a common non-streaming API at the front-end. --- src/common/compress_lzma.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/common/compress_lzma.h') diff --git a/src/common/compress_lzma.h b/src/common/compress_lzma.h index 71de56a1c6..79cf9dc652 100644 --- a/src/common/compress_lzma.h +++ b/src/common/compress_lzma.h @@ -17,16 +17,6 @@ const char *tor_lzma_get_version_str(void); const char *tor_lzma_get_header_version_str(void); -int tor_lzma_compress(char **out, size_t *out_len, - const char *in, size_t in_len, - compress_method_t method); - -int tor_lzma_uncompress(char **out, size_t *out_len, - const char *in, size_t in_len, - compress_method_t method, - int complete_only, - int protocol_warn_level); - /** Internal state for an incremental LZMA compression/decompression. */ typedef struct tor_lzma_compress_state_t tor_lzma_compress_state_t; -- cgit v1.2.3-54-g00ecf