[Zlib-devel] OS_CODE

Mark Adler madler at alumni.caltech.edu
Tue Aug 22 01:36:34 EDT 2006


On Aug 20, 2006, at 10:18 PM, William A. Rowe, Jr. wrote:
> I'm suggesting examining zutil.h to see what would be of interest  
> to many
> users, not simply this application

Yes, I did that.  I may move DEF_MEM_LEVEL out to zlib.h.  I didn't  
find anything else, besides OS_CODE, that would be useful.  The  
preprocessor logic for OS_CODE is complicated and intertwined with  
other function definitions.  So I'll repeat my question: would a  
function that returns the OS_CODE satisfy your needs?

> Consider that other utilities may
> like to examine the internals of a compressed set of files.

I'm not sure I understand this.  You don't need anything in zutil.h  
to examine the internals of a compressed set of files.

mark





More information about the Zlib-devel mailing list