Lines Matching refs:OF
1 /* zlib.h -- interface of the 'zlib' general purpose compression library
8 arising from the use of this software.
14 1. The origin of this software must not be misrepresented; you must not
49 decompression functions, including integrity checks of the uncompressed data.
50 This version of the library supports only one compression method (deflation)
55 or can be done by repeated calls of the compression function. In the latter
64 with an interface similar to that of stdio using the functions that start
77 the consistency of the compressed data, so the library should never crash
78 even in the case of corrupted input.
81 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
82 typedef void (*free_func) OF((voidpf opaque, voidpf address));
88 uInt avail_in; /* number of bytes available at next_in */
89 uLong total_in; /* total number of input bytes read so far */
93 uLong total_out; /* total number of bytes output so far */
104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */
112 for more details on the meanings of these fields.
141 parameter for calls of zalloc and zfree. This can be useful for custom
154 returned by zalloc for objects of exactly 65536 bytes *must* have their
157 any allocation of 64K objects, at the expense of compression ratio, compile
161 reports. After compression, total_in holds the total size of the
207 /* Possible values of the data_type field for deflate() */
220 ZEXTERN const char * ZEXPORT zlibVersion OF((void));
228 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level));
250 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
257 The detailed semantics are as follows. deflate performs one or both of the
263 processing will resume at this point for the next call of deflate().
271 Before the call of deflate(), the application should ensure that at least
272 one of the actions is possible, by providing more input and/or consuming more
276 == 0), or after each call of deflate(). If deflate returns Z_OK and with
297 output buffer, but the output is not aligned to a byte boundary. All of the
306 seven bits of the current block are held to be written as the next byte after
308 be provided enough bits at this point in order to complete decompression of
311 the emission of deflate blocks.
320 with the same value of the flush parameter and more output space (updated
322 avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that
341 deflate() sets strm->adler to the Adler-32 checksum of all input read
343 strm->adler will be the CRC-32 checksum of the input read so far. (See
363 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
378 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm));
382 the caller. In the current version of inflate, the provided input is not
383 read or consumed. The allocation of a sliding window will be deferred to
384 the first call of inflate (if the decompression does not complete on the
395 implementation of inflateInit() does not process any header information --
400 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush));
407 The detailed semantics are as follows. inflate performs one or both of the
413 accordingly, and processing will resume at this point for the next call of
421 Before the call of inflate(), the application should ensure that at least
422 one of the actions is possible, by providing more input and/or consuming more
424 caller of inflate() does not provide both available input and available
427 when the output buffer is full (avail_out == 0), or after each call of
432 The flush parameter of inflate() can be Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FINISH,
439 gets to the end of that block, or when it runs out of data.
443 number of unused bits in the last byte taken from strm->next_in, plus 64 if
445 128 if inflate() returned immediately after decoding an end-of-block code or
446 decoding the complete header up to just before the first byte of the deflate
447 stream. The end-of-block will not be indicated until all of the uncompressed
448 data from that block has been written to strm->next_out. The number of
449 unused bits may in general be greater than seven, except when bit 7 of
450 data_type is set, in which case the number of unused bits will be less than
452 flush options, and so can be used to determine the amount of currently
456 end of each deflate block header is reached, before any actual data in that
457 block is decoded. This allows the caller to determine the length of the
459 256 is added to the value of strm->data_type when inflate() returns
460 immediately after reaching the end of the deflate block header.
464 single call of inflate), the parameter flush should be set to Z_FINISH. In
466 avail_out must be large enough to hold all of the uncompressed data for the
467 operation to complete. (The size of the uncompressed data may have been
468 saved by the compressor for this purpose.) The use of Z_FINISH is not
473 does not complete, either because not all of the stream is provided or not
480 first call. So the effects of the flush parameter in this implementation are
481 on the return value of inflate() as noted below, when inflate() returns early
482 when Z_BLOCK or Z_TREES is used, and when inflate() avoids the allocation of
486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
488 strm->adler to the Adler-32 checksum of all output produced so far (that is,
490 below. At the end of the stream, inflate() checks that its computed Adler-32
498 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
503 or more output produced), Z_STREAM_END if the end of the compressed data has
516 recovery of the data is to be attempted.
520 ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));
538 ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm,
545 This is another version of deflateInit with more compression options. The
549 this version of the library.
551 The windowBits parameter is the base two logarithm of the window size
552 (the size of the history buffer). It should be in the range 8..15 for this
553 version of the library. Larger values of this parameter result in better
554 compression at the expense of memory usage. The default value is 15 if
557 For the current implementation of deflate(), a windowBits value of 8 (a
558 window size of 256 bytes) is not supported. As a result, a request for 8
561 checked against the initialization of inflate(). The remedy is to not use 8
571 compressed data instead of a zlib wrapper. The gzip header will have no
575 being written, strm->adler is a CRC-32 instead of an Adler-32.
578 rejected as invalid, since only the zlib header provides a means of
585 as a function of windowBits and memLevel.
591 encoding). Filtered data consists mostly of small values with a somewhat
593 compress them better. The effect of Z_FILTERED is to force more Huffman
598 correctness of the compressed output even if it is not set appropriately.
599 Z_FIXED prevents the use of dynamic Huffman codes, allowing for a simpler
610 ZEXTERN int ZEXPORT deflateSetDictionary OF((z_streamp strm,
617 deflateReset, and before any call of deflate. When doing raw deflate, this
618 function must be called either before any call of deflate, or immediately
619 after the completion of a deflate block, i.e. after all input has been
620 consumed and all output has been delivered when using any of the flush
625 The dictionary should consist of strings (byte sequences) that are likely
627 used strings preferably put towards the end of the dictionary. Using a
632 Depending on the size of the compression data structures selected by
633 deflateInit or deflateInit2, a part of the dictionary may in effect be
636 useful should be put at the end of the dictionary, not at the front. In
637 addition, the current implementation of deflate will use at most the window
638 size minus 262 bytes of
640 Upon return of this function, strm->adler is set to the Adler-32 value
641 of the dictionary; the decompressor may later use this value to determine
643 applies to the whole dictionary even if only a subset of the dictionary is
654 ZEXTERN int ZEXPORT deflateGetDictionary OF((z_streamp strm,
659 set to the number of bytes in the dictionary, and that many bytes are copied
667 to 258 bytes less in that case, due to how zlib's implementation of deflate
669 up to 258 bytes long. If the application needs the last window-size bytes of
670 input, then that would need to be saved by the application outside of zlib.
676 ZEXTERN int ZEXPORT deflateCopy OF((z_streamp dest,
679 Sets the destination stream as a complete copy of the source stream.
682 tried, for example when there are several ways of pre-processing the input
686 consume lots of memory.
694 ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm));
705 ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
710 interpretation of level and strategy is as in deflateInit2(). This can be
711 used to switch between compression and straight copy of the input data, or
712 to switch to a different kind of input data requiring a different strategy.
713 If the compression approach (which is a function of the level) or the
719 of deflate().
736 there was not enough output space to complete the compression of the
738 in the case of a Z_BUF_ERROR, the parameters are not changed. A return
739 value of Z_BUF_ERROR is not fatal, in which case deflateParams() can be
743 ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm,
753 specific input data. Read the deflate.c source code for the meaning of the
760 ZEXTERN uLong ZEXPORT deflateBound OF((z_streamp strm,
764 deflation of sourceLen bytes. It must be called after deflateInit() or
775 ZEXTERN int ZEXPORT deflatePending OF((z_streamp strm,
779 deflatePending() returns the number of bytes and bits of output that have
782 The number of bits of output not provided are between 0 and 7, where they
790 ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm,
799 than or equal to 16, and that many of the least significant bits of value
807 ZEXTERN int ZEXPORT deflateSetHeader OF((z_streamp strm,
812 after deflateInit2() or deflateReset() and before the first call of
819 the current versions of the command-line version of gzip (up through version
832 ZEXTERN int ZEXPORT inflateInit2 OF((z_streamp strm,
835 This is another version of inflateInit with an extra parameter. The
839 The windowBits parameter is the base two logarithm of the maximum window
840 size (the size of the history buffer). It should be in the range 8..15 for
841 this version of the library. The default value is 15 if inflateInit is used
846 Z_DATA_ERROR instead of trying to allocate a larger window.
849 the zlib header of the compressed stream.
854 looking for any check values for comparison at the end of the stream. This
861 above on the use in deflateInit2() applies to the magnitude of windowBits.
867 CRC-32 instead of an Adler-32. Unlike the gunzip utility and gzread() (see
869 inflate() will return Z_STREAM_END at the end of the gzip member. The state
882 of inflateInit2() does not process any header information -- that is
886 ZEXTERN int ZEXPORT inflateSetDictionary OF((z_streamp strm,
891 sequence. This function must be called immediately after a call of inflate,
893 can be determined from the Adler-32 value returned by that call of inflate.
905 perform any decompression: this will be done by subsequent calls of
909 ZEXTERN int ZEXPORT inflateGetDictionary OF((z_streamp strm,
914 set to the number of bytes in the dictionary, and that many bytes are copied
924 ZEXTERN int ZEXPORT inflateSync OF((z_streamp strm));
927 for the description of deflate with Z_FULL_FLUSH) can be found, or until all
931 All full flush points have this pattern, but not all occurrences of this
937 In the success case, the application may save the current current value of
940 input each time, until success or end of the input data.
943 ZEXTERN int ZEXPORT inflateCopy OF((z_streamp dest,
946 Sets the destination stream as a complete copy of the source stream.
959 ZEXTERN int ZEXPORT inflateReset OF((z_streamp strm));
969 ZEXTERN int ZEXPORT inflateReset2 OF((z_streamp strm,
983 ZEXTERN int ZEXPORT inflatePrime OF((z_streamp strm,
989 middle of a byte. The provided bits will be used before any bytes are used
992 inflateReset(). bits must be less than or equal to 16, and that many of the
993 least significant bits of value will be inserted in the input.
1004 ZEXTERN long ZEXPORT inflateMark OF((z_streamp strm));
1006 This function returns two values, one in the lower 16 bits of the return
1009 zero, then inflate() is currently decoding information outside of a block.
1011 the middle of a stored block, with the lower value equaling the number of
1013 it is the number of bits back from the current bit position in the input of
1015 that case the lower value is the number of bytes already emitted for that
1019 decoding of the code, or if it has completed decoding but is waiting for
1024 output of a code may span boundaries of random access blocks. The current
1032 ZEXTERN int ZEXPORT inflateGetHeader OF((z_streamp strm,
1037 inflateInit2() or inflateReset(), and before the first call of inflate().
1048 contains the maximum number of bytes to write to extra. Once done is true,
1055 of extra, name, or comment are not Z_NULL and the respective field is not
1057 absence. This allows the use of deflateSetHeader() with the returned
1073 ZEXTERN int ZEXPORT inflateBackInit OF((z_streamp strm, int windowBits,
1080 logarithm of the window size, in the range 8..15. window is a caller
1081 supplied buffer of that size. Except for special applications where it is
1086 See inflateBack() for the usage of these routines.
1088 inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
1090 allocated, or Z_VERSION_ERROR if the version of the library does not match
1091 the version of the header file.
1094 typedef unsigned (*in_func) OF((void FAR *,
1096 typedef int (*out_func) OF((void FAR *, unsigned char FAR *, unsigned));
1098 ZEXTERN int ZEXPORT inflateBack OF((z_streamp strm,
1121 behavior of inflate(), which expects a zlib header and trailer around the
1126 routines until it reads a complete deflate stream and writes out all of the
1130 number of bytes of provided input, and a pointer to that input in buf. If
1136 out() are permitted to change the contents of the window provided to
1139 amount of input may be provided by in().
1149 The in_desc and out_desc parameters of inflateBack() is passed as the
1150 first parameter of in() and out() respectively when they are called. These
1156 return values of inflateBack() can be Z_STREAM_END on success, Z_BUF_ERROR
1159 of the error), or Z_STREAM_ERROR if the stream was not properly initialized.
1160 In the case of Z_BUF_ERROR, an input or output error can be distinguished
1168 ZEXTERN int ZEXPORT inflateBackEnd OF((z_streamp strm));
1176 ZEXTERN uLong ZEXPORT zlibCompileFlags OF((void));
1180 1.0: size of uInt
1181 3.2: size of uLong
1182 5.4: size of voidpf (pointer)
1183 7.6: size of z_off_t
1222 The following utility functions are implemented on top of the basic
1225 functions). The source code of these utility functions can be modified if
1229 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1233 the byte length of the source buffer. Upon entry, destLen is the total size
1234 of the destination buffer, which must be at least the value returned by
1235 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1237 parameter of Z_DEFAULT_COMPRESSION.
1244 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1250 length ofof the
1252 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1260 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1267 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
1271 the byte length of the source buffer. Upon entry, destLen is the total size
1272 of the destination buffer, which must be large enough to hold the entire
1273 uncompressed data. (The size of the uncompressed data must have been saved
1275 mechanism outside the scope of this compression library.) Upon exit, destLen
1276 is the actual size of the uncompressed data.
1285 ZEXTERN int ZEXPORT uncompress2 OF((Bytef *dest, uLongf *destLen,
1289 length of the source is *sourceLen. On return, *sourceLen is the number of
1297 an interface similar to that of stdio, using the functions that start with
1305 ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode));
1312 as in "wb9F". (See the description of deflateInit2 for more information
1316 "a" can be used instead of "w" to request that the gzip stream that will
1318 reading and writing to the same gzip file is not supported. The addition of
1320 already exists. On systems that support it, the addition of "e" when
1323 These functions, as well as gzip, will read and decode a sequence of gzip
1324 streams in a file. The append function of gzopen() can be used to create
1327 nor does it look for the end of the gzip streams to begin appending. gzopen
1342 ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode));
1348 The next call of gzclose on the returned gzFile will also close the file
1365 ZEXTERN int ZEXPORT gzbuffer OF((gzFile file, unsigned size));
1372 buffer size of, for example, 64K or 128K bytes will noticeably increase the
1373 speed of decompression (reading).
1381 ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy));
1384 description of deflateInit2 for the meaning of these parameters. Previously
1392 ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len));
1395 the input file is not in gzip format, gzread copies the given number of
1398 After reaching the end of a gzip stream in the input, gzread will continue
1399 to read, looking for another gzip stream. Any number of gzip streams may be
1405 Upon reaching the end of the input, gzread will return with the available
1407 gzclearerr can be used to clear the end of file indicator in order to permit
1410 middle of a gzip stream. Note that gzread does not return -1 in the event
1411 of an incomplete gzip stream. This error is deferred until gzclose(), which
1412 will return Z_BUF_ERROR if the last gzread ended in the middle of a gzip
1416 gzread returns the number of uncompressed bytes actually read, less than
1417 len for end of file, or -1 for error. If len is too large to fit in an int,
1422 ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
1425 Read and decompress up to nitems items of size size from file into buf,
1426 otherwise operating as gzread() does. This duplicates the interface of
1431 gzfread() returns the number of full items read of size size, or zero if
1432 the end of the file was reached and a full item could not be read, or if
1434 order to determine if there was an error. If the multiplication of size and
1438 In the event that the end of file is reached and only a partial item is
1440 multiple of size, then the final partial item is nevetheless read into buf
1441 and the end-of-file flag is set. The length of the partial item read is not
1442 provided, but could be inferred from the result of gztell(). This behavior
1443 is the same as the behavior of fread() implementations in common libraries,
1444 but it prevents the direct use of gzfread() to read a concurrently written
1445 file, reseting and retrying on end-of-file, when size is not 1.
1448 ZEXTERN int ZEXPORT gzwrite OF((gzFile file, voidpc buf, unsigned len));
1451 returns the number of uncompressed bytes written or 0 in case of error.
1454 ZEXTERN z_size_t ZEXPORT gzfwrite OF((voidpc buf, z_size_t size,
1457 Compress and write nitems items of size size from buf to file, duplicating
1458 the interface of stdio's fwrite(), with size_t request and return types. If
1462 gzfwrite() returns the number of full items written of size size, or zero
1463 if there was an error. If the multiplication of size and nitems overflows,
1471 control of the string format, as in fprintf. gzprintf returns the number of
1473 of error. The number of uncompressed bytes written is limited to 8191, or
1483 ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s));
1488 gzputs returns the number of characters written, or -1 in case of error.
1491 ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len));
1495 end-of-file condition is encountered. If any characters are read or if len
1497 are read due to an end-of-file or len is less than one, then the buffer is
1501 for end-of-file or in case of error. If there was an error, the contents at
1505 ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c));
1508 returns the value that was written, or -1 in case of error.
1511 ZEXTERN int ZEXPORT gzgetc OF((gzFile file));
1514 in case of end of file or error. This is implemented as a macro for speed.
1515 As such, it does not do all of the checking the other functions do. I.e.
1520 ZEXTERN int ZEXPORT gzungetc OF((int c, gzFile file));
1523 the next read. At least one character of push-back is always allowed.
1527 output buffer size of pushed characters is allowed. (See gzbuffer above.)
1532 ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush));
1548 ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile file,
1552 or gzwrite on file. The offset represents a number of bytes in the
1558 supported; gzseek then compresses a sequence of zeroes up to the new
1562 the beginning of the uncompressed stream, or -1 in case of error, in
1567 ZEXTERN int ZEXPORT gzrewind OF((gzFile file));
1575 ZEXTERN z_off_t ZEXPORT gztell OF
1578 This position represents a number of bytes in the uncompressed data stream,
1580 the middle of a file using gzdopen().
1586 ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile file));
1588 Return the current compressed (actual) read or write offset of file. This
1589 offset includes the count of bytes that precede the gzip stream, for example
1595 ZEXTERN int ZEXPORT gzeof OF((gzFile file));
1597 Return true (1) if the end-of-file indicator for file has been set while
1598 reading, false (0) otherwise. Note that the end-of-file indicator is set
1599 only if the read tried to go past the end of the input, but came up short.
1602 number of bytes remaining in the input file. This will happen if the input
1603 file size is an exact multiple of the buffer size.
1606 unless the end-of-file indicator is reset by gzclearerr() and the input file
1607 has grown since the previous end of file was detected.
1610 ZEXTERN int ZEXPORT gzdirect OF((gzFile file));
1627 linking statically, using gzdirect() will include all of the zlib code for
1631 ZEXTERN int ZEXPORT gzclose OF((gzFile file));
1640 file operation error, Z_MEM_ERROR if out of memory, Z_BUF_ERROR if the
1641 last read ended in the middle of a gzip stream, or Z_OK on success.
1644 ZEXTERN int ZEXPORT gzclose_r OF((gzFile file));
1645 ZEXTERN int ZEXPORT gzclose_w OF((gzFile file));
1649 using these instead of gzclose() is that they avoid linking in zlib
1656 ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum));
1668 gzerror() should be used to distinguish errors from end-of-file for those
1672 ZEXTERN void ZEXPORT gzclearerr OF((gzFile file));
1674 Clear the error and end-of-file flags for file. This is analogous to the
1689 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1692 return the updated checksum. An Adler-32 value is in the range of a 32-bit
1709 ZEXTERN uLong ZEXPORT adler32_z OF((uLong adler, const Bytef *buf,
1716 ZEXTERN uLong ZEXPORT adler32_combine OF((uLong adler1, uLong adler2,
1719 Combine two Adler-32 checksums into one. For two sequences of bytes, seq1
1721 each, adler1 and adler2. adler32_combine() returns the Adler-32 checksum of
1727 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1730 updated CRC-32. A CRC-32 value is in the range of a 32-bit unsigned integer.
1745 ZEXTERN uLong ZEXPORT crc32_z OF((uLong crc, const Bytef *buf,
1752 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong crc1, uLong crc2, z_off_t len2));
1754 Combine two CRC-32 check values into one. For two sequences of bytes,
1757 check value of seq1 and seq2 concatenated, requiring only crc1, crc2, and
1762 ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t len2));
1768 ZEXTERN uLong ZEXPORT crc32_combine_op OF((uLong crc1, uLong crc2, uLong op));
1770 Give the same result as crc32_combine(), using op in place of len2. op is
1779 * and the compiler's view of z_stream:
1781 ZEXTERN int ZEXPORT deflateInit_ OF((z_streamp strm, int level,
1783 ZEXTERN int ZEXPORT inflateInit_ OF((z_streamp strm,
1785 ZEXTERN int ZEXPORT deflateInit2_ OF((z_streamp strm, int level, int method,
1789 ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
1791 ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits,
1839 ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */
1856 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
1857 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int));
1858 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile));
1859 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
1860 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
1861 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
1862 ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off64_t));
1884 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
1885 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
1886 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
1887 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile));
1888 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
1889 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
1890 ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off_t));
1893 ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *));
1894 ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int));
1895 ZEXTERN z_off_t ZEXPORT gztell OF((gzFile));
1896 ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile));
1897 ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
1898 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
1899 ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t));
1904 ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
1905 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
1906 ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t));
1911 ZEXTERN const char * ZEXPORT zError OF((int));
1912 ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp));
1913 ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void));
1914 ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int));
1915 ZEXTERN int ZEXPORT inflateValidate OF((z_streamp, int));
1916 ZEXTERN unsigned long ZEXPORT inflateCodesUsed OF ((z_streamp));
1917 ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp));
1918 ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp));
1920 ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path,