z_stream_s Struct Reference

#include <stdapis/zlib.h>

struct z_stream_s

Detailed Description

Encapsulates a zip stream

Member Attribute Documentation

adler

uLong adler

Adler32 value of the uncompressed data

avail_in

uInt avail_in

Number of bytes available at next_in

avail_out

uInt avail_out

Remaining free space at next_out

data_type

intdata_type

Best guess about the data type: binary or text

msg

char *msg

Last error message, NULL if no error

next_in

Bytef *next_in

Next input byte

next_out

Bytef *next_out

Next output byte should be put there

opaque

voidpf opaque

Private data object passed to zalloc and zfree

reserved

uLong reserved

Reserved for future use

state

struct internal_state FAR *state

Not visible by applications

total_in

uLong total_in

Total nb of input bytes read so far

total_out

uLong total_out

Total nb of bytes output so far

zalloc

alloc_func zalloc

Used to allocate the internal state

zfree

free_func zfree

Used to free the internal state