gz_header_s Struct Reference

struct gz_header_s

gzip header information passed to and from zlib routines. See RFC 1952 for more details on the meanings of these fields.

Member Data Documentation

uInt comm_max

uInt comm_max

Space at comment (only when reading header)

Bytef * comment

Bytef *comment

Pointer to zero-terminated comment or Z_NULL

int done

intdone

True when done reading gzip header (not used when writing a gzip file)

Bytef * extra

Bytef *extra

Pointer to extra field or Z_NULL if none

uInt extra_len

uInt extra_len

Extra field length (valid if extra != Z_NULL)

uInt extra_max

uInt extra_max

Space at extra (only when reading header)

int hcrc

inthcrc

True if there was or will be a header crc

Bytef * name

Bytef *name

Pointer to zero-terminated file name or Z_NULL

uInt name_max

uInt name_max

Space at name (only when reading header)

int os

intos

Operating system

int text

inttext

True if compressed data believed to be text

uLong time

uLong time

Modification time

int xflags

intxflags

Extra flags (not used when writing a gzip file)