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

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

?? zlib.h

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? 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一区二区三区免费野_久草精品视频
av一区二区久久| 麻豆精品一区二区三区| 亚洲欧美区自拍先锋| 中文字幕亚洲区| 青娱乐精品视频| 国产激情91久久精品导航| 樱桃视频在线观看一区| 国产91精品精华液一区二区三区| 亚洲韩国精品一区| 亚洲美女在线国产| 亚洲成人精品一区| 136国产福利精品导航| 亚洲在线视频网站| 国产最新精品免费| 精油按摩中文字幕久久| 一区二区久久久| 久久99精品国产91久久来源| 老色鬼精品视频在线观看播放| 国产精品香蕉一区二区三区| 成人午夜视频福利| 日韩欧美中文一区| 一区二区三区丝袜| www.欧美亚洲| 日韩欧美在线不卡| 中文成人av在线| 日韩电影免费一区| 91麻豆精品在线观看| 欧美精品一区二区久久久| 亚洲无线码一区二区三区| 国产成人亚洲精品青草天美| 欧美日韩在线播放三区| 亚洲欧洲精品一区二区精品久久久 | 日本大香伊一区二区三区| 精品国产髙清在线看国产毛片| 伊人一区二区三区| 99精品视频中文字幕| 精品对白一区国产伦| 天堂影院一区二区| 欧美亚洲动漫另类| 亚洲精选视频免费看| 春色校园综合激情亚洲| 久久蜜臀中文字幕| 成人18视频日本| 日韩毛片精品高清免费| 久久成人18免费观看| 日韩三级免费观看| 亚洲国产日韩一区二区| 91成人在线观看喷潮| 亚洲国产精品嫩草影院| 欧美日韩亚洲国产综合| 偷窥少妇高潮呻吟av久久免费| 欧美日韩一级视频| 日韩高清一区在线| 精品国产精品网麻豆系列| 国产不卡视频一区| 一区二区三区 在线观看视频| 欧美午夜一区二区三区免费大片| 亚洲一区影音先锋| 久久亚区不卡日本| 91污片在线观看| 天堂av在线一区| 日韩一区二区精品| 成人h动漫精品一区二区| 一区二区三区中文字幕在线观看| 欧美日韩高清一区二区不卡| 国产乱人伦精品一区二区在线观看| 国产精品久久毛片a| 这里只有精品视频在线观看| 国产成+人+日韩+欧美+亚洲| 亚洲一卡二卡三卡四卡五卡| 精品国产区一区| 在线观看日韩电影| 日日夜夜免费精品视频| 亚洲免费资源在线播放| 日韩欧美另类在线| 欧美性大战久久久久久久蜜臀| 久久精品噜噜噜成人av农村| 国产女主播一区| 精品粉嫩aⅴ一区二区三区四区 | 91久久免费观看| 国内久久精品视频| 国内精品在线播放| 日韩精品一区第一页| 午夜久久久久久| 亚洲国产视频一区| 天天色图综合网| 午夜视频在线观看一区二区三区| 中文文精品字幕一区二区| 26uuu国产日韩综合| 精品国精品国产尤物美女| 欧美激情自拍偷拍| 久久网站热最新地址| 久久伊99综合婷婷久久伊| 国产偷国产偷精品高清尤物| 久久久亚洲午夜电影| 国产精品无码永久免费888| 亚洲欧美日本在线| 亚瑟在线精品视频| 亚洲乱码一区二区三区在线观看| 亚洲美女免费在线| 亚洲国产一区二区三区| 久久精品99久久久| 久久精品免费看| 成人免费视频caoporn| 成人性生交大合| 3d动漫精品啪啪1区2区免费| 欧美精品一区二区三区四区| 国产精品沙发午睡系列990531| 亚洲一区二区三区四区中文字幕| 久久精品国产999大香线蕉| 成人午夜视频免费看| 91精品国产色综合久久不卡电影| 国产视频一区二区三区在线观看| 亚洲成av人综合在线观看| 国产精品综合二区| 欧美乱熟臀69xxxxxx| 国产精品短视频| 国产在线不卡一区| 欧美日本一区二区| 亚洲欧美国产高清| 成人理论电影网| 日韩免费在线观看| 三级久久三级久久久| 色婷婷av一区二区三区软件| 欧美国产禁国产网站cc| 九色porny丨国产精品| 欧美一区二区三区不卡| 日本免费新一区视频| 久久精品人人做人人爽97| 亚洲免费观看高清| 99视频一区二区三区| 中文字幕在线观看一区| 不卡视频在线看| 亚洲欧洲99久久| 欧美在线三级电影| 中文字幕亚洲在| 高清日韩电视剧大全免费| 国产精品美女久久久久久2018| 成人免费福利片| 亚洲日本乱码在线观看| 欧美三区在线观看| 丝袜美腿亚洲一区| 久久青草欧美一区二区三区| 五月天国产精品| 欧美大尺度电影在线| 久久不见久久见免费视频7| 日本一区二区三区在线观看| 国产在线观看一区二区| 17c精品麻豆一区二区免费| 欧美乱妇15p| 成人黄色a**站在线观看| 亚洲一区二区欧美| 欧美精品日韩精品| 成人午夜在线免费| 麻豆精品在线播放| 亚洲黄网站在线观看| 欧美另类高清zo欧美| 麻豆成人av在线| 天天色综合成人网| 日本女优在线视频一区二区| 在线精品亚洲一区二区不卡| 99久久99久久久精品齐齐| 国内精品伊人久久久久影院对白| 亚洲午夜电影在线观看| 国产精品久久一级| 亚洲人精品一区| 亚洲精品成人a在线观看| 国产精品久久久久桃色tv| 中文字幕永久在线不卡| 中文字幕在线播放不卡一区| 亚洲一区二区av电影| 日本欧洲一区二区| 久久66热偷产精品| 成人精品视频一区二区三区 | 国产精品一色哟哟哟| 国产精品不卡一区| 一区二区高清视频在线观看| 亚洲少妇中出一区| 国产精品嫩草影院av蜜臀| 欧美一级欧美一级在线播放| 91啦中文在线观看| 欧美精品欧美精品系列| 国产精品欧美综合在线| 日本不卡123| 九九九精品视频| 99久久精品费精品国产一区二区| 亚洲无线码一区二区三区| 亚洲欧美另类图片小说| 中文字幕国产精品一区二区| 色哟哟国产精品| 激情综合色播激情啊| 国产精品久久久久天堂| 久久蜜桃一区二区| 色综合 综合色| 成人av动漫网站| 欧美日韩精品二区第二页| 久久久久亚洲综合| 亚洲乱码国产乱码精品精98午夜 | 精品三级在线观看| 在线看不卡av|