z_stream_s Struct Reference

struct z_stream_s

Encapsulates a zip stream

Member Data Documentation

uLong adler

uLong adler

Adler32 value of the uncompressed data

uInt avail_in

uInt avail_in

Number of bytes available at next_in

uInt avail_out

uInt avail_out

Remaining free space at next_out

int data_type

int data_type

Best guess about the data type: binary or text

char * msg

char * msg

Last error message, NULL if no error

Bytef * next_in

Bytef * next_in

Next input byte

Bytef * next_out

Bytef * next_out

Next output byte should be put there

voidpf opaque

voidpf opaque

Private data object passed to zalloc and zfree

uLong reserved

uLong reserved

Reserved for future use

struct internal_state FAR * state

struct internal_state FAR * state

Not visible by applications

uLong total_in

uLong total_in

Total nb of input bytes read so far

uLong total_out

uLong total_out

Total nb of bytes output so far

alloc_func zalloc

alloc_func zalloc

Used to allocate the internal state

free_func zfree

free_func zfree

Used to free the internal state