Home | History | Annotate | Download | only in src

Lines Matching full:gzip

23   jloup@gzip.org          madler@alumni.caltech.edu
28 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
63 The library also supports reading and writing files in gzip (.gz) format
65 with "gz". The gzip format is different from the zlib format. gzip is a
66 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
68 This library can optionally read and write gzip streams in memory as well.
71 and on communications channels. The gzip format was designed for single-
109 gzip header information passed to and from zlib routines. See RFC 1952
115 int xflags; /* extra flags (not used when writing a gzip file) */
125 int done; /* true when done reading gzip header (not used
126 when writing a gzip file) */
425 the zlib or gzip format, this will cause inflate() to return immediately
483 inflate() can decompress and check either zlib-wrapped or gzip-wrapped
485 initializing with inflateInit2(). Any information contained in the gzip
488 perform their own processing of the gzip header and trailer. When processing
489 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
490 producted so far. The CRC-32 is checked against the gzip trailer.
551 windowBits can also be greater than 15 for optional gzip encoding. Add
552 16 to windowBits to write a simple gzip header and trailer around the
553 compressed data instead of a zlib wrapper. The gzip header will have no
556 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
748 deflateSetHeader() provides gzip header information for when a gzip
752 in the provided gz_header structure are written to the gzip header (xflag is
756 available there. If hcrc is true, a gzip header crc is included. Note that
757 the current versions of the command-line version of gzip (up through version
759 gzip file" and give up.
761 If deflateSetHeader is not used, the default gzip header has text false,
763 fields. The gzip header is returned to the default state by deflateReset().
791 not looking for a zlib or gzip header, not generating a check value, and not
797 the uncompressed data as is done in the zlib, gzip, and zip formats. For
801 windowBits can also be greater than 15 for optional gzip decoding. Add
802 32 to windowBits to enable zlib and gzip decoding with automatic header
803 detection, or add 16 to decode only the gzip format (the zlib format will
804 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
966 inflateGetHeader() requests that gzip header information be stored in the
969 As inflate() processes the gzip stream, head->done is zero until the header
972 no gzip header information forthcoming. Note that Z_BLOCK or Z_TREES can be
976 The text, time, xflags, and os fields are filled in with the gzip header
997 retrieve the header from the next gzip stream.
1047 A raw deflate stream is one with no zlib or gzip header or trailer.
1048 This routine would normally be used in a utility that reads zip or gzip
1052 behavior of inflate(), which expects either a zlib or gzip header and
1130 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
1131 and decode gzip streams (to avoid linking crc code)
1215 /* gzip file access functions */
1218 This library supports reading and writing files in gzip (.gz) format with
1220 "gz". The gzip format is different from the zlib format. gzip is a gzip
1224 typedef struct gzFile_s *gzFile; /* semi-opaque gzip file descriptor */
1229 Opens a gzip (.gz) file for reading or writing. The mode parameter is as
1236 the gzip format.
1238 "a" can be used instead of "w" to request that the gzip stream that will
1240 reading and writing to the same gzip file is not supported. The addition of
1245 These functions, as well as gzip, will read and decode a sequence of gzip
1248 appending, gzopen does not test whether the file begins with a gzip stream,
1249 nor does it look for the end of the gzip streams to begin appending. gzopen
1250 will simply append a gzip stream to the existing file.
1252 gzopen can be used to read a file which is not in gzip format; in this
1255 byte gzip header.
1316 the input file is not in gzip format, gzread copies the given number of
1319 After reaching the end of a gzip stream in the input, gzread will continue
1320 to read, looking for another gzip stream. Any number of gzip streams may be
1322 If something other than a gzip stream is encountered after a gzip stream,
1325 gzread can be used to read a gzip file that is being concurrently written.
1329 gzread to be tried again. Z_OK indicates that a gzip stream was completed
1331 middle of a gzip stream. Note that gzread does not return -1 in the event
1332 of an incomplete gzip stream. This error is deferred until gzclose(), which
1333 will return Z_BUF_ERROR if the last gzread ended in the middle of a gzip
1419 gzip stream is completed in the output. If gzwrite() is called again, a new
1420 gzip stream will be started in the output. gzread() is able to read such
1421 concatented gzip streams.
1460 reading a gzip stream from the middle of a file using gzdopen().
1469 includes the count of bytes that precede the gzip stream, for example when
1493 (0) if file is a gzip stream being decompressed.
1496 does not contain a gzip stream.
1500 is a gzip file. Therefore if gzbuffer() is used, it should be called before
1508 gzip file reading and decompression, which may not be desired.)
1521 last read ended in the middle of a gzip stream, or Z_OK on success.
1555 clearerr() function in stdio. This is useful for continuing to read a gzip