diff options
author | Sverker Eriksson <[email protected]> | 2013-10-14 17:46:28 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-18 20:19:51 +0100 |
commit | f10ea68ce28e9b93ce614b5f829b1ca7f4cc753f (patch) | |
tree | eb3d72afb2d16189db998397a1ffdbb7649e67e2 /erts/emulator/beam/erl_zlib.h | |
parent | 38f1140d197e14f6cb4d0040859b0b19876d2a14 (diff) | |
download | otp-f10ea68ce28e9b93ce614b5f829b1ca7f4cc753f.tar.gz otp-f10ea68ce28e9b93ce614b5f829b1ca7f4cc753f.tar.bz2 otp-f10ea68ce28e9b93ce614b5f829b1ca7f4cc753f.zip |
trapping uncompress
Diffstat (limited to 'erts/emulator/beam/erl_zlib.h')
-rw-r--r-- | erts/emulator/beam/erl_zlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_zlib.h b/erts/emulator/beam/erl_zlib.h index 5ac849d21c..160166c66b 100644 --- a/erts/emulator/beam/erl_zlib.h +++ b/erts/emulator/beam/erl_zlib.h @@ -39,6 +39,12 @@ int ZEXPORT erl_zlib_deflate_start(z_stream *streamp, const Bytef* source, int ZEXPORT erl_zlib_deflate_chunk(z_stream *streamp, Bytef* dest, uLongf* destLen); int ZEXPORT erl_zlib_deflate_finish(z_stream *streamp); +int ZEXPORT erl_zlib_inflate_start(z_stream *streamp, const Bytef* source, + uLong sourceLen); +int ZEXPORT erl_zlib_inflate_chunk(z_stream *streamp, Bytef* dest, uLongf* destLen); +int ZEXPORT erl_zlib_inflate_finish(z_stream *streamp); + + /* Use instead of compress */ #define erl_zlib_compress(dest,destLen,source,sourceLen) \ |