ZLIB
Loading...
Searching...
No Matches
gz_header Struct Reference

gzip header information passed to and from zlib routines. More...

#include <zlib.h>

Data Fields

int text
 true if compressed data believed to be text
 
uLong time
 modification time
 
int xflags
 extra flags (not used when writing a gzip file)
 
int os
 operating system
 
Bytef * extra
 pointer to extra field or Z_NULL if none
 
uInt extra_len
 extra field length (valid if extra != Z_NULL)
 
uInt extra_max
 space at extra (only when reading header)
 
Bytef * name
 pointer to zero-terminated file name or Z_NULL
 
uInt name_max
 space at name (only when reading header)
 
Bytef * comment
 pointer to zero-terminated comment or Z_NULL
 
uInt comm_max
 space at comment (only when reading header)
 
int hcrc
 true if there was or will be a header crc
 
int done
 true when done reading gzip header (not used when writing a gzip file)
 

Detailed Description

gzip header information passed to and from zlib routines.

See RFC 1952 for more details on the meanings of these fields.


The documentation for this struct was generated from the following file: