From 2ba0b505ce1ee748f42a85f7e27906737fa47fc8 Mon Sep 17 00:00:00 2001 From: jakob Date: Sun, 14 May 2017 19:07:06 -0400 Subject: Initial data dumping functionality. --- src/compress.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compress.h') 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); -- cgit v1.3