aboutsummaryrefslogtreecommitdiff
path: root/zconf.h
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
parentf442c1e89e99ae5a0068a2d32e7284c2623f09fd (diff)
downloadzlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.tar.gz
zlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.tar.bz2
zlib-77b47d55f14be032c0ee10da44bbe7591be0abd8.zip
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')
-rw-r--r--zconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zconf.h b/zconf.h
index ed16b06..df7ff61 100644
--- a/zconf.h
+++ b/zconf.h
@@ -103,6 +103,7 @@
103# define inflateSync z_inflateSync 103# define inflateSync z_inflateSync
104# define inflateSyncPoint z_inflateSyncPoint 104# define inflateSyncPoint z_inflateSyncPoint
105# define inflateUndermine z_inflateUndermine 105# define inflateUndermine z_inflateUndermine
106# define inflateResetKeep z_inflateResetKeep
106# define inflate_copyright z_inflate_copyright 107# define inflate_copyright z_inflate_copyright
107# define inflate_fast z_inflate_fast 108# define inflate_fast z_inflate_fast
108# define inflate_table z_inflate_table 109# define inflate_table z_inflate_table