diff options
| author | jakob <jakob@memeware.net> | 2017-03-01 19:03:20 -0500 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-03-01 19:03:20 -0500 |
| commit | 0e67a05edcc3ba01221a6bfd14750b5b8090887f (patch) | |
| tree | 94729dcef273244164d6b84d72d17481818baa7f /src/compress.h | |
| parent | d65a3ae8790ae28a90f0ebcf0bc4dc078c67dc35 (diff) | |
First working commit of the rewrite.
Diffstat (limited to 'src/compress.h')
| -rw-r--r-- | src/compress.h | 5 |
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); |