diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-07 23:00:42 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-07 23:13:37 -0700 |
commit | 77b47d55f14be032c0ee10da44bbe7591be0abd8 (patch) | |
tree | 7e6532ef42e56abe8a2b29b7821b29f58372d259 /zlib.h | |
parent | f442c1e89e99ae5a0068a2d32e7284c2623f09fd (diff) | |
download | zlib-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1687,6 +1687,7 @@ ZEXTERN const char * ZEXPORT zError OF((int)); | |||
1687 | ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); | 1687 | ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); |
1688 | ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); | 1688 | ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); |
1689 | ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); | 1689 | ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); |
1690 | ZEXTERN 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 |