[Zlib-devel] ABI change in zlib 1.2.4
Mark Adler
madler at alumni.caltech.edu
Fri Apr 2 18:30:54 EDT 2010
On Apr 2, 2010, at 3:19 PM, Enrico Weigelt wrote:
> Perhaps we should have a closer look on what structures we
> export at all in zlib.h - should only be those which are
> absolutely required for the public interface, and no bit more.
There are four structures that are accessible (actually five), with two of them public. Those are:
z_stream: the main interface to zlib (public)
gz_header: for passing gzip file header information when writing or reading gzip files (public)
z_stream->state: either the deflate or the inflate structure containing state information for compression or decompression respectively (private)
gzFile: state for reading and writing gzip files, analogous to stdio's FILE (private)
Mark
More information about the Zlib-devel
mailing list