aboutsummaryrefslogtreecommitdiff
path: root/zlib.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-01-07 09:54:40 -0800
committerMark Adler <madler@alumni.caltech.edu>2012-01-07 14:03:07 -0800
commit263b1a05b04e442896d7941f87d022a2f35a9220 (patch)
tree465a40cf714deb72b89504c1f3f9665db3feafd6 /zlib.h
parent19761b8506f15d6eeeb6ccfab33a11abce0f40e7 (diff)
downloadzlib-263b1a05b04e442896d7941f87d022a2f35a9220.tar.gz
zlib-263b1a05b04e442896d7941f87d022a2f35a9220.tar.bz2
zlib-263b1a05b04e442896d7941f87d022a2f35a9220.zip
Allow deflatePrime() to insert bits in the middle of a stream.
This allows the insertion of multiple empty static blocks for the purpose of efficiently bringing a stream to a byte boundary.
Diffstat (limited to 'zlib.h')
-rw-r--r--zlib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/zlib.h b/zlib.h
index 20e13db..8c2c56e 100644
--- a/zlib.h
+++ b/zlib.h
@@ -734,8 +734,9 @@ ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm,
734 than or equal to 16, and that many of the least significant bits of value 734 than or equal to 16, and that many of the least significant bits of value
735 will be inserted in the output. 735 will be inserted in the output.
736 736
737 deflatePrime returns Z_OK if success, or Z_STREAM_ERROR if the source 737 deflatePrime returns Z_OK if success, Z_BUF_ERROR if there was not enough
738 stream state was inconsistent. 738 room in the internal buffer to insert the bits, or Z_STREAM_ERROR if the
739 source stream state was inconsistent.
739*/ 740*/
740 741
741ZEXTERN int ZEXPORT deflateSetHeader OF((z_streamp strm, 742ZEXTERN int ZEXPORT deflateSetHeader OF((z_streamp strm,