[Zlib-devel] ABI change in zlib 1.2.4

Enrico Weigelt weigelt at metux.de
Sat Apr 3 06:30:31 EDT 2010


* Mark Adler <madler at alumni.caltech.edu> schrieb:

Hi,

> 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)

do they have to be completely public or is it okay to publish 
just the typedef w/o the struct decl. ?

> 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)

Are these accessible from outside of zlib code ?


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt at metux.de
 mobile: +49 174 7066481   icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------




More information about the Zlib-devel mailing list