From 0e67a05edcc3ba01221a6bfd14750b5b8090887f Mon Sep 17 00:00:00 2001 From: jakob Date: Wed, 1 Mar 2017 19:03:20 -0500 Subject: First working commit of the rewrite. --- src/compress.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/compress.h') 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); -- cgit v1.3