aboutsummaryrefslogtreecommitdiff
path: root/zlib.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 /zlib.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 'zlib.h')
-rw-r--r--zlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zlib.h b/zlib.h
index 96c2c14..99cd058 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1687,6 +1687,7 @@ ZEXTERN const char * ZEXPORT zError OF((int));
1687ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); 1687ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp));
1688ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); 1688ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void));
1689ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); 1689ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int));
1690ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp));
1690#ifndef Z_SOLO 1691#ifndef Z_SOLO
1691 ZEXTERN unsigned long ZEXPORT gzflags OF((void)); 1692 ZEXTERN unsigned long ZEXPORT gzflags OF((void));
1692#endif 1693#endif