亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? zlib.h

?? 這是一款zip壓縮與解壓縮的編碼,可以通過調用里面壓縮函數和解壓縮函數對相應的文件與文件夾進行壓縮與解壓縮功能的操作
?? H
?? 第 1 頁 / 共 3 頁
字號:

                        /* utility functions */

/*
     The following utility functions are implemented on top of the
   basic stream-oriented functions. To simplify the interface, some
   default options are assumed (compression level and memory usage,
   standard memory allocation functions). The source code of these
   utility functions can easily be modified if you need special options.
*/

ZEXTERN int ZEXPORT compress OF((Bytef *dest,   uLongf *destLen,
                                 const Bytef *source, uLong sourceLen));
/*
     Compresses the source buffer into the destination buffer.  sourceLen is
   the byte length of the source buffer. Upon entry, destLen is the total
   size of the destination buffer, which must be at least 0.1% larger than
   sourceLen plus 12 bytes. Upon exit, destLen is the actual size of the
   compressed buffer.
     This function can be used to compress a whole file at once if the
   input file is mmap'ed.
     compress returns Z_OK if success, Z_MEM_ERROR if there was not
   enough memory, Z_BUF_ERROR if there was not enough room in the output
   buffer.
*/

ZEXTERN int ZEXPORT compress2 OF((Bytef *dest,   uLongf *destLen,
                                  const Bytef *source, uLong sourceLen,
                                  int level));
/*
     Compresses the source buffer into the destination buffer. The level
   parameter has the same meaning as in deflateInit.  sourceLen is the byte
   length of the source buffer. Upon entry, destLen is the total size of the
   destination buffer, which must be at least 0.1% larger than sourceLen plus
   12 bytes. Upon exit, destLen is the actual size of the compressed buffer.

     compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
   memory, Z_BUF_ERROR if there was not enough room in the output buffer,
   Z_STREAM_ERROR if the level parameter is invalid.
*/

ZEXTERN int ZEXPORT uncompress OF((Bytef *dest,   uLongf *destLen,
                                   const Bytef *source, uLong sourceLen));
/*
     Decompresses the source buffer into the destination buffer.  sourceLen is
   the byte length of the source buffer. Upon entry, destLen is the total
   size of the destination buffer, which must be large enough to hold the
   entire uncompressed data. (The size of the uncompressed data must have
   been saved previously by the compressor and transmitted to the decompressor
   by some mechanism outside the scope of this compression library.)
   Upon exit, destLen is the actual size of the compressed buffer.
     This function can be used to decompress a whole file at once if the
   input file is mmap'ed.

     uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
   enough memory, Z_BUF_ERROR if there was not enough room in the output
   buffer, or Z_DATA_ERROR if the input data was corrupted.
*/


typedef voidp gzFile;

ZEXTERN gzFile ZEXPORT gzopen  OF((const char *path, const char *mode));
/*
     Opens a gzip (.gz) file for reading or writing. The mode parameter
   is as in fopen ("rb" or "wb") but can also include a compression level
   ("wb9") or a strategy: 'f' for filtered data as in "wb6f", 'h' for
   Huffman only compression as in "wb1h". (See the description
   of deflateInit2 for more information about the strategy parameter.)

     gzopen can be used to read a file which is not in gzip format; in this
   case gzread will directly read from the file without decompression.

     gzopen returns NULL if the file could not be opened or if there was
   insufficient memory to allocate the (de)compression state; errno
   can be checked to distinguish the two cases (if errno is zero, the
   zlib error is Z_MEM_ERROR).  */

ZEXTERN gzFile ZEXPORT gzdopen  OF((int fd, const char *mode));
/*
     gzdopen() associates a gzFile with the file descriptor fd.  File
   descriptors are obtained from calls like open, dup, creat, pipe or
   fileno (in the file has been previously opened with fopen).
   The mode parameter is as in gzopen.
     The next call of gzclose on the returned gzFile will also close the
   file descriptor fd, just like fclose(fdopen(fd), mode) closes the file
   descriptor fd. If you want to keep fd open, use gzdopen(dup(fd), mode).
     gzdopen returns NULL if there was insufficient memory to allocate
   the (de)compression state.
*/

ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy));
/*
     Dynamically update the compression level or strategy. See the description
   of deflateInit2 for the meaning of these parameters.
     gzsetparams returns Z_OK if success, or Z_STREAM_ERROR if the file was not
   opened for writing.
*/

ZEXTERN int ZEXPORT    gzread  OF((gzFile file, voidp buf, unsigned len));
/*
     Reads the given number of uncompressed bytes from the compressed file.
   If the input file was not in gzip format, gzread copies the given number
   of bytes into the buffer.
     gzread returns the number of uncompressed bytes actually read (0 for
   end of file, -1 for error). */

ZEXTERN int ZEXPORT    gzwrite OF((gzFile file, 
				   const voidp buf, unsigned len));
/*
     Writes the given number of uncompressed bytes into the compressed file.
   gzwrite returns the number of uncompressed bytes actually written
   (0 in case of error).
*/

ZEXTERN int ZEXPORTVA   gzprintf OF((gzFile file, const char *format, ...));
/*
     Converts, formats, and writes the args to the compressed file under
   control of the format string, as in fprintf. gzprintf returns the number of
   uncompressed bytes actually written (0 in case of error).
*/

ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s));
/*
      Writes the given null-terminated string to the compressed file, excluding
   the terminating null character.
      gzputs returns the number of characters written, or -1 in case of error.
*/

ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len));
/*
      Reads bytes from the compressed file until len-1 characters are read, or
   a newline character is read and transferred to buf, or an end-of-file
   condition is encountered.  The string is then terminated with a null
   character.
      gzgets returns buf, or Z_NULL in case of error.
*/

ZEXTERN int ZEXPORT    gzputc OF((gzFile file, int c));
/*
      Writes c, converted to an unsigned char, into the compressed file.
   gzputc returns the value that was written, or -1 in case of error.
*/

ZEXTERN int ZEXPORT    gzgetc OF((gzFile file));
/*
      Reads one byte from the compressed file. gzgetc returns this byte
   or -1 in case of end of file or error.
*/

ZEXTERN int ZEXPORT    gzflush OF((gzFile file, int flush));
/*
     Flushes all pending output into the compressed file. The parameter
   flush is as in the deflate() function. The return value is the zlib
   error number (see function gzerror below). gzflush returns Z_OK if
   the flush parameter is Z_FINISH and all output could be flushed.
     gzflush should be called only when strictly necessary because it can
   degrade compression.
*/

ZEXTERN z_off_t ZEXPORT    gzseek OF((gzFile file,
				      z_off_t offset, int whence));
/* 
      Sets the starting position for the next gzread or gzwrite on the
   given compressed file. The offset represents a number of bytes in the
   uncompressed data stream. The whence parameter is defined as in lseek(2);
   the value SEEK_END is not supported.
     If the file is opened for reading, this function is emulated but can be
   extremely slow. If the file is opened for writing, only forward seeks are
   supported; gzseek then compresses a sequence of zeroes up to the new
   starting position.

      gzseek returns the resulting offset location as measured in bytes from
   the beginning of the uncompressed stream, or -1 in case of error, in
   particular if the file is opened for writing and the new starting position
   would be before the current position.
*/

ZEXTERN int ZEXPORT    gzrewind OF((gzFile file));
/*
     Rewinds the given file. This function is supported only for reading.

   gzrewind(file) is equivalent to (int)gzseek(file, 0L, SEEK_SET)
*/

ZEXTERN z_off_t ZEXPORT    gztell OF((gzFile file));
/*
     Returns the starting position for the next gzread or gzwrite on the
   given compressed file. This position represents a number of bytes in the
   uncompressed data stream.

   gztell(file) is equivalent to gzseek(file, 0L, SEEK_CUR)
*/

ZEXTERN int ZEXPORT gzeof OF((gzFile file));
/*
     Returns 1 when EOF has previously been detected reading the given
   input stream, otherwise zero.
*/

ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
/*
     Flushes all pending output if necessary, closes the compressed file
   and deallocates all the (de)compression state. The return value is the zlib
   error number (see function gzerror below).
*/

ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum));
/*
     Returns the error message for the last error which occurred on the
   given compressed file. errnum is set to zlib error number. If an
   error occurred in the file system and not in the compression library,
   errnum is set to Z_ERRNO and the application may consult errno
   to get the exact error code.
*/

                        /* checksum functions */

/*
     These functions are not related to compression but are exported
   anyway because they might be useful in applications using the
   compression library.
*/

ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));

/*
     Update a running Adler-32 checksum with the bytes buf[0..len-1] and
   return the updated checksum. If buf is NULL, this function returns
   the required initial value for the checksum.
   An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
   much faster. Usage example:

     uLong adler = adler32(0L, Z_NULL, 0);

     while (read_buffer(buffer, length) != EOF) {
       adler = adler32(adler, buffer, length);
     }
     if (adler != original_adler) error();
*/

ZEXTERN uLong ZEXPORT crc32   OF((uLong crc, const Bytef *buf, uInt len));
/*
     Update a running crc with the bytes buf[0..len-1] and return the updated
   crc. If buf is NULL, this function returns the required initial value
   for the crc. Pre- and post-conditioning (one's complement) is performed
   within this function so it shouldn't be done by the application.
   Usage example:

     uLong crc = crc32(0L, Z_NULL, 0);

     while (read_buffer(buffer, length) != EOF) {
       crc = crc32(crc, buffer, length);
     }
     if (crc != original_crc) error();
*/


                        /* various hacks, don't look :) */

/* deflateInit and inflateInit are macros to allow checking the zlib version
 * and the compiler's view of z_stream:
 */
ZEXTERN int ZEXPORT deflateInit_ OF((z_streamp strm, int level,
                                     const char *version, int stream_size));
ZEXTERN int ZEXPORT inflateInit_ OF((z_streamp strm,
                                     const char *version, int stream_size));
ZEXTERN int ZEXPORT deflateInit2_ OF((z_streamp strm, int  level, int  method,
                                      int windowBits, int memLevel,
                                      int strategy, const char *version,
                                      int stream_size));
ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int  windowBits,
                                      const char *version, int stream_size));
#define deflateInit(strm, level) \
        deflateInit_((strm), (level),       ZLIB_VERSION, sizeof(z_stream))
#define inflateInit(strm) \
        inflateInit_((strm),                ZLIB_VERSION, sizeof(z_stream))
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
        deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
                      (strategy),           ZLIB_VERSION, sizeof(z_stream))
#define inflateInit2(strm, windowBits) \
        inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))


#if !defined(_Z_UTIL_H) && !defined(NO_DUMMY_DECL)
    struct internal_state {int dummy;}; /* hack for buggy compilers */
#endif

ZEXTERN const char   * ZEXPORT zError           OF((int err));
ZEXTERN int            ZEXPORT inflateSyncPoint OF((z_streamp z));
ZEXTERN const uLongf * ZEXPORT get_crc_table    OF((void));

#ifdef __cplusplus
}
#endif

#endif /* _ZLIB_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品免费在线播放| 欧美一二三在线| 国产老肥熟一区二区三区| 亚洲高清不卡在线| 日韩国产欧美一区二区三区| 亚洲国产精品一区二区www| 亚洲在线一区二区三区| 一区二区在线电影| 亚洲免费资源在线播放| 亚洲综合色婷婷| 亚洲一二三四区| 天堂成人国产精品一区| 美女一区二区三区在线观看| 美脚の诱脚舐め脚责91| 狠狠色狠狠色综合系列| 国产不卡视频一区| 99视频国产精品| 色成年激情久久综合| 欧美性视频一区二区三区| 欧美日韩日日夜夜| 欧美日韩国产不卡| 亚洲精品一区在线观看| 日本一区二区在线不卡| 亚洲精品国产高清久久伦理二区| 亚洲国产精品综合小说图片区| 日韩黄色小视频| 国产·精品毛片| 色欧美日韩亚洲| 日韩一区二区三区精品视频| 国产婷婷色一区二区三区在线| 亚洲欧美视频在线观看| 免费视频最近日韩| 99久久精品免费看| 日韩亚洲欧美成人一区| 亚洲欧美综合另类在线卡通| 日韩综合小视频| 一本一道综合狠狠老| 欧美三级在线视频| 久久久精品人体av艺术| 亚洲v日本v欧美v久久精品| 韩国成人在线视频| 欧美日韩一区二区三区在线看 | 成人激情黄色小说| 欧美这里有精品| 欧美—级在线免费片| 亚洲午夜精品17c| 成人免费视频一区二区| 91.xcao| 中文文精品字幕一区二区| 日韩中文字幕区一区有砖一区 | 欧美日韩一区三区| 国产精品福利电影一区二区三区四区| 亚洲成人黄色小说| 91美女片黄在线| 久久久影视传媒| 免费观看30秒视频久久| 在线观看一区日韩| 最新高清无码专区| 国产高清一区日本| 日韩免费一区二区三区在线播放| 一区二区三区在线不卡| 成人午夜视频免费看| 欧美sm美女调教| 日韩电影在线免费看| 91视视频在线直接观看在线看网页在线看| 日韩欧美一级在线播放| 爽好久久久欧美精品| 91色婷婷久久久久合中文| 国产欧美一区二区三区网站| 蜜臀精品久久久久久蜜臀 | 午夜精品福利一区二区蜜股av| 国产一区二区三区av电影 | 成熟亚洲日本毛茸茸凸凹| 4438x亚洲最大成人网| 亚洲18色成人| 欧美老人xxxx18| 亚洲午夜精品久久久久久久久| 91国产成人在线| 一区二区三区在线观看动漫| 色哟哟亚洲精品| 亚洲黄色小视频| 色网站国产精品| 亚洲国产日韩综合久久精品| 日本高清视频一区二区| 亚洲综合色在线| 欧美高清dvd| 日本免费新一区视频| 欧美成人伊人久久综合网| 免费在线看成人av| 久久精品人人做| av电影在线不卡| 亚洲国产日韩在线一区模特| 欧美日韩高清不卡| 黄网站免费久久| 欧美激情在线一区二区三区| 91网站黄www| 日韩激情视频在线观看| 久久久不卡影院| 91丨国产丨九色丨pron| 日韩电影免费一区| 久久精品亚洲精品国产欧美| 91美女在线看| 久久精品噜噜噜成人av农村| 国产欧美日韩视频在线观看| 91污片在线观看| 免费在线看成人av| 亚洲人成影院在线观看| 91精品欧美一区二区三区综合在| 激情久久久久久久久久久久久久久久| 欧美激情中文字幕| 69堂精品视频| av电影一区二区| 日韩中文字幕一区二区三区| 国产日产欧美一区二区视频| 欧美视频一区二区三区| 久久国产生活片100| 亚洲欧洲99久久| 精品福利一区二区三区 | 欧美日本一区二区三区| 国产一区二区三区综合| 夜色激情一区二区| 久久久久久久久久久久久女国产乱 | 国产欧美日韩另类视频免费观看| 欧美性生交片4| 成人激情免费视频| 九色porny丨国产精品| 亚洲精选视频在线| 久久久777精品电影网影网| 欧美裸体bbwbbwbbw| 丁香天五香天堂综合| 美日韩一区二区三区| 亚洲国产精品麻豆| 中文字幕一区二区三区在线播放| 精品免费视频一区二区| 欧美老肥妇做.爰bbww视频| 成人av网在线| 国产精品一区二区免费不卡 | 亚洲人成在线观看一区二区| 久久天天做天天爱综合色| 91精品国产福利| 欧美在线一二三四区| 99精品国产热久久91蜜凸| 国产在线播精品第三| 免费成人在线网站| 日本少妇一区二区| 日本一不卡视频| 污片在线观看一区二区| 亚洲综合色视频| 亚洲精选在线视频| 国产精品丝袜91| 中文字幕亚洲一区二区av在线| 国产网站一区二区| 国产日本欧洲亚洲| 国产欧美日韩亚州综合| 欧美高清在线一区| 中文字幕高清不卡| 国产精品动漫网站| 亚洲伦理在线免费看| 午夜精品aaa| 亚洲国产精品久久人人爱蜜臀| 亚洲自拍与偷拍| 午夜精品久久久久久久久久| 亚洲国产精品精华液网站| 午夜免费久久看| 日韩一区欧美二区| 国产一区二区三区精品欧美日韩一区二区三区| 男人的天堂久久精品| 国产一区二区三区在线看麻豆| 久久 天天综合| 成人黄色777网| 在线免费一区三区| 欧美一区二区三区啪啪| 久久这里只有精品视频网| 亚洲国产精品成人综合| 亚洲美女视频在线观看| 日日夜夜免费精品| 国产一区二区导航在线播放| av动漫一区二区| 欧美自拍偷拍一区| 日韩精品一区二区三区三区免费| 久久精品一二三| 亚洲国产视频在线| 精品制服美女久久| 99re成人在线| 日韩一区二区精品| 中文字幕一区在线观看视频| 亚洲自拍偷拍麻豆| 国产激情一区二区三区桃花岛亚洲| 国产精品1024| 欧美视频你懂的| 精品成人免费观看| 一区二区成人在线| 久久综合综合久久综合| 色综合色狠狠综合色| 日韩午夜精品视频| 亚洲黄色尤物视频| 国产成人在线观看免费网站| 欧美日韩国产综合一区二区| 国产精品素人一区二区| 奇米888四色在线精品|