summaryrefslogtreecommitdiff
path: root/zconf.h.cmakein
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-10-07 23:00:42 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-10-07 23:13:37 -0700
commit77b47d55f14be032c0ee10da44bbe7591be0abd8 (patch)
tree7e6532ef42e56abe8a2b29b7821b29f58372d259 /zconf.h.cmakein
parentf442c1e89e99ae5a0068a2d32e7284c2623f09fd (diff)
downloadzlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.tar.gz
Add undocumented inflateResetKeep() function for CAB file decoding.
The Microsoft CAB file format compresses each block with completed deflate streams that depend on the sliding window history of the previous block in order to decode. inflateResetKeep() does what inflateReset() does, except the sliding window history from the previous inflate operation is retained.
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r--zconf.h.cmakein1
1 files changed, 1 insertions, 0 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index 84e4680..8450547 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -105,6 +105,7 @@
# define inflateSync z_inflateSync
# define inflateSyncPoint z_inflateSyncPoint
# define inflateUndermine z_inflateUndermine
+# define inflateResetKeep z_inflateResetKeep
# define inflate_copyright z_inflate_copyright
# define inflate_fast z_inflate_fast
# define inflate_table z_inflate_table