diff options
| author | jakob <jakob@memeware.net> | 2017-05-14 19:07:06 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-05-14 19:07:06 -0400 |
| commit | 2ba0b505ce1ee748f42a85f7e27906737fa47fc8 (patch) | |
| tree | eacdebd8beae803b8c04c41d93ccb0dc8d45e35a /src/compress.h | |
| parent | 41a7566c121a865b460649390a75473ac71eff1f (diff) | |
Initial data dumping functionality.
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); |