diff options
Diffstat (limited to 'src/compress.h')
| -rw-r--r-- | src/compress.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compress.h b/src/compress.h index 070151f..cfb2487 100644 --- a/src/compress.h +++ b/src/compress.h @@ -24,3 +24,6 @@ /* Inflates `s` into a newly allocated stream structure. */ struct stream *stream_inflate(struct stream *s, size_t len, size_t decompressed_len); + +/* Deflates `s` into a newly allocated stream structure. */ +struct stream *stream_deflate(struct stream *s, size_t len); |