gz_header_s Struct Reference

#include <zlib.h>

struct gz_header_s

Detailed Description

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

Member Attribute Documentation

comm_max

uInt comm_max

Space at comment (only when reading header)

comment

Bytef *comment

Pointer to zero-terminated comment or Z_NULL

done

int done

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

extra

Bytef *extra

Pointer to extra field or Z_NULL if none

extra_len

uInt extra_len

Extra field length (valid if extra != Z_NULL)

extra_max

uInt extra_max

Space at extra (only when reading header)

hcrc

int hcrc

True if there was or will be a header crc

name

Bytef *name

Pointer to zero-terminated file name or Z_NULL

name_max

uInt name_max

Space at name (only when reading header)

os

int os

Operating system

text

int text

True if compressed data believed to be text

time

uLong time

Modification time

xflags

int xflags

Extra flags (not used when writing a gzip file)