#include <zlib.h> struct gz_header_s { // fields int text; uLong time; int xflags; int os; Bytef* extra; uInt extra_len; uInt extra_max; Bytef* name; uInt name_max; Bytef* comment; uInt comm_max; int hcrc; int done; };