aboutsummaryrefslogtreecommitdiff
path: root/src/common/compress_lzma.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 09:41:23 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 10:50:50 -0400
commit880fb3e3a9aba21c0b36aa4aa5659432e90eb827 (patch)
treeb742f5773bf54cbf34db66aae503953772e74761 /src/common/compress_lzma.h
parent91dd4a00f7d4891e24187a849933547128aeeb9f (diff)
downloadtor-880fb3e3a9aba21c0b36aa4aa5659432e90eb827.tar.gz
tor-880fb3e3a9aba21c0b36aa4aa5659432e90eb827.zip
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.
Diffstat (limited to 'src/common/compress_lzma.h')
-rw-r--r--src/common/compress_lzma.h10
1 files changed, 0 insertions, 10 deletions
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;