aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_zlib.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-06-12 15:33:08 +0200
committerSverker Eriksson <[email protected]>2013-06-12 15:33:08 +0200
commit5abf95afb89eb6c2a93f68c08694710e23bab546 (patch)
tree523d017b1629989468f97af70eae1c192853f7b7 /erts/emulator/beam/erl_zlib.h
parentb16dc3553bb2c5618169ede09fe479d83f7bcf40 (diff)
parent1f8d9f43766fea0e706db8923075ab65a7677daf (diff)
downloadotp-5abf95afb89eb6c2a93f68c08694710e23bab546.tar.gz
otp-5abf95afb89eb6c2a93f68c08694710e23bab546.tar.bz2
otp-5abf95afb89eb6c2a93f68c08694710e23bab546.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/erl_zlib.h')
-rw-r--r--erts/emulator/beam/erl_zlib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_zlib.h b/erts/emulator/beam/erl_zlib.h
index 9054a5e428..eb2e14f585 100644
--- a/erts/emulator/beam/erl_zlib.h
+++ b/erts/emulator/beam/erl_zlib.h
@@ -31,6 +31,14 @@
(s)->zfree = erl_zlib_zfree_callback; \
} while (0)
+/*
+ * Chunked interface, used by term_to_binary among others.
+ */
+int ZEXPORT erl_zlib_deflate_start(z_stream *streamp, const Bytef* source,
+ uLong sourceLen, int level);
+int ZEXPORT erl_zlib_deflate_chunk(z_stream *streamp, Bytef* dest, uLongf* destLen);
+int ZEXPORT erl_zlib_deflate_finish(z_stream *streamp);
+
/* Use instead of compress
*/
#define erl_zlib_compress(dest,destLen,source,sourceLen) \