summaryrefslogtreecommitdiff
path: root/src/compress.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compress.h')
-rw-r--r--src/compress.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compress.h b/src/compress.h
index 9d56e74..495a504 100644
--- a/src/compress.h
+++ b/src/compress.h
@@ -21,5 +21,6 @@
#include "io.h"
-/* Decompresses `s` into a newly allocated stream structure. */
-struct stream *inflate_stream(struct stream *s, size_t inflated_len);
+/* Inflates `s` into a newly allocated stream structure. */
+struct stream *stream_inflate(struct stream *s, size_t len,
+ size_t decompressed_len);