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

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

?? zlib.h

?? 一個delphi下壓縮成zip文件的例子
?? H
?? 第 1 頁 / 共 3 頁
字號:
/* zlib.h -- interface of the 'zlib' general purpose compression library
  version 1.0.4, Jul 24th, 1996.

  Copyright (C) 1995-1996 Jean-loup Gailly and Mark Adler

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

  Jean-loup Gailly        Mark Adler
  gzip@prep.ai.mit.edu    madler@alumni.caltech.edu


  The data format used by the zlib library is described by RFCs (Request for
  Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt
  (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
*/

#ifndef _ZLIB_H
#define _ZLIB_H

#ifdef __cplusplus
extern "C" {
#endif

#include "zconf.h"

#define ZLIB_VERSION "1.0.4"

/* 
     The 'zlib' compression library provides in-memory compression and
  decompression functions, including integrity checks of the uncompressed
  data.  This version of the library supports only one compression method
  (deflation) but other algorithms may be added later and will have the same
  stream interface.

     For compression the application must provide the output buffer and
  may optionally provide the input buffer for optimization. For decompression,
  the application must provide the input buffer and may optionally provide
  the output buffer for optimization.

     Compression can be done in a single step if the buffers are large
  enough (for example if an input file is mmap'ed), or can be done by
  repeated calls of the compression function.  In the latter case, the
  application must provide more input and/or consume the output
  (providing more output space) before each call.

     The library does not install any signal handler. It is recommended to
  add at least a handler for SIGSEGV when decompressing; the library checks
  the consistency of the input data whenever possible but may go nuts
  for some forms of corrupted input.
*/

typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
typedef void   (*free_func)  OF((voidpf opaque, voidpf address));

struct internal_state;

typedef struct z_stream_s {
    Bytef    *next_in;  /* next input byte */
    uInt     avail_in;  /* number of bytes available at next_in */
    uLong    total_in;  /* total nb of input bytes read so far */

    Bytef    *next_out; /* next output byte should be put there */
    uInt     avail_out; /* remaining free space at next_out */
    uLong    total_out; /* total nb of bytes output so far */

    char     *msg;      /* last error message, NULL if no error */
    struct internal_state FAR *state; /* not visible by applications */

    alloc_func zalloc;  /* used to allocate the internal state */
    free_func  zfree;   /* used to free the internal state */
    voidpf     opaque;  /* private data object passed to zalloc and zfree */

    int     data_type;  /* best guess about the data type: ascii or binary */
    uLong   adler;      /* adler32 value of the uncompressed data */
    uLong   reserved;   /* reserved for future use */
} z_stream;

typedef z_stream FAR *z_streamp;

/*
   The application must update next_in and avail_in when avail_in has
   dropped to zero. It must update next_out and avail_out when avail_out
   has dropped to zero. The application must initialize zalloc, zfree and
   opaque before calling the init function. All other fields are set by the
   compression library and must not be updated by the application.

   The opaque value provided by the application will be passed as the first
   parameter for calls of zalloc and zfree. This can be useful for custom
   memory management. The compression library attaches no meaning to the
   opaque value.

   zalloc must return Z_NULL if there is not enough memory for the object.
   On 16-bit systems, the functions zalloc and zfree must be able to allocate
   exactly 65536 bytes, but will not be required to allocate more than this
   if the symbol MAXSEG_64K is defined (see zconf.h). WARNING: On MSDOS,
   pointers returned by zalloc for objects of exactly 65536 bytes *must*
   have their offset normalized to zero. The default allocation function
   provided by this library ensures this (see zutil.c). To reduce memory
   requirements and avoid any allocation of 64K objects, at the expense of
   compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).

   The fields total_in and total_out can be used for statistics or
   progress reports. After compression, total_in holds the total size of
   the uncompressed data and may be saved for use in the decompressor
   (particularly if the decompressor wants to decompress everything in
   a single step).
*/

                        /* constants */

#define Z_NO_FLUSH      0
#define Z_PARTIAL_FLUSH 1
#define Z_SYNC_FLUSH    2
#define Z_FULL_FLUSH    3
#define Z_FINISH        4
/* Allowed flush values; see deflate() below for details */

#define Z_OK            0
#define Z_STREAM_END    1
#define Z_NEED_DICT     2
#define Z_ERRNO        (-1)
#define Z_STREAM_ERROR (-2)
#define Z_DATA_ERROR   (-3)
#define Z_MEM_ERROR    (-4)
#define Z_BUF_ERROR    (-5)
#define Z_VERSION_ERROR (-6)
/* Return codes for the compression/decompression functions. Negative
 * values are errors, positive values are used for special but normal events.
 */

#define Z_NO_COMPRESSION         0
#define Z_BEST_SPEED             1
#define Z_BEST_COMPRESSION       9
#define Z_DEFAULT_COMPRESSION  (-1)
/* compression levels */

#define Z_FILTERED            1
#define Z_HUFFMAN_ONLY        2
#define Z_DEFAULT_STRATEGY    0
/* compression strategy; see deflateInit2() below for details */

#define Z_BINARY   0
#define Z_ASCII    1
#define Z_UNKNOWN  2
/* Possible values of the data_type field */

#define Z_DEFLATED   8
/* The deflate compression method (the only one supported in this version) */

#define Z_NULL  0  /* for initializing zalloc, zfree, opaque */

#define zlib_version zlibVersion()
/* for compatibility with versions < 1.0.2 */

                        /* basic functions */

extern const char * EXPORT zlibVersion OF((void));
/* The application can compare zlibVersion and ZLIB_VERSION for consistency.
   If the first character differs, the library code actually used is
   not compatible with the zlib.h header file used by the application.
   This check is automatically made by deflateInit and inflateInit.
 */

/* 
extern int EXPORT deflateInit OF((z_streamp strm, int level));

     Initializes the internal stream state for compression. The fields
   zalloc, zfree and opaque must be initialized before by the caller.
   If zalloc and zfree are set to Z_NULL, deflateInit updates them to
   use default allocation functions.

     The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
   1 gives best speed, 9 gives best compression, 0 gives no compression at
   all (the input data is simply copied a block at a time).
   Z_DEFAULT_COMPRESSION requests a default compromise between speed and
   compression (currently equivalent to level 6).

     deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
   enough memory, Z_STREAM_ERROR if level is not a valid compression level,
   Z_VERSION_ERROR if the zlib library version (zlib_version) is incompatible
   with the version assumed by the caller (ZLIB_VERSION).
   msg is set to null if there is no error message.  deflateInit does not
   perform any compression: this will be done by deflate().
*/


extern int EXPORT deflate OF((z_streamp strm, int flush));
/*
  Performs one or both of the following actions:

  - Compress more input starting at next_in and update next_in and avail_in
    accordingly. If not all input can be processed (because there is not
    enough room in the output buffer), next_in and avail_in are updated and
    processing will resume at this point for the next call of deflate().

  - Provide more output starting at next_out and update next_out and avail_out
    accordingly. This action is forced if the parameter flush is non zero.
    Forcing flush frequently degrades the compression ratio, so this parameter
    should be set only when necessary (in interactive applications).
    Some output may be provided even if flush is not set.

  Before the call of deflate(), the application should ensure that at least
  one of the actions is possible, by providing more input and/or consuming
  more output, and updating avail_in or avail_out accordingly; avail_out
  should never be zero before the call. The application can consume the
  compressed output when it wants, for example when the output buffer is full
  (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
  and with zero avail_out, it must be called again after making room in the
  output buffer because there might be more output pending.

    If the parameter flush is set to Z_PARTIAL_FLUSH, the current compression
  block is terminated and flushed to the output buffer so that the
  decompressor can get all input data available so far. For method 9, a future
  variant on method 8, the current block will be flushed but not terminated.
  Z_SYNC_FLUSH has the same effect as partial flush except that the compressed
  output is byte aligned (the compressor can clear its internal bit buffer)
  and the current block is always terminated; this can be useful if the
  compressor has to be restarted from scratch after an interruption (in which
  case the internal state of the compressor may be lost).
    If flush is set to Z_FULL_FLUSH, the compression block is terminated, a
  special marker is output and the compression dictionary is discarded; this
  is useful to allow the decompressor to synchronize if one compressed block
  has been damaged (see inflateSync below).  Flushing degrades compression and
  so should be used only when necessary.  Using Z_FULL_FLUSH too often can
  seriously degrade the compression. If deflate returns with avail_out == 0,
  this function must be called again with the same value of the flush
  parameter and more output space (updated avail_out), until the flush is
  complete (deflate returns with non-zero avail_out).

    If the parameter flush is set to Z_FINISH, pending input is processed,
  pending output is flushed and deflate returns with Z_STREAM_END if there
  was enough output space; if deflate returns with Z_OK, this function must be
  called again with Z_FINISH and more output space (updated avail_out) but no
  more input data, until it returns with Z_STREAM_END or an error. After
  deflate has returned Z_STREAM_END, the only possible operations on the
  stream are deflateReset or deflateEnd.
  
    Z_FINISH can be used immediately after deflateInit if all the compression
  is to be done in a single step. In this case, avail_out must be at least
  0.1% larger than avail_in plus 12 bytes.  If deflate does not return
  Z_STREAM_END, then it must be called again as described above.

    deflate() may update data_type if it can make a good guess about
  the input data type (Z_ASCII or Z_BINARY). In doubt, the data is considered
  binary. This field is only for information purposes and does not affect
  the compression algorithm in any manner.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
这里只有精品免费| 在线免费不卡电影| 久久在线观看免费| 激情综合色播激情啊| 日韩精品在线网站| 免费的成人av| 久久亚洲二区三区| 成人爽a毛片一区二区免费| 久久九九99视频| 不卡免费追剧大全电视剧网站| 国产精品毛片久久久久久久| 色视频一区二区| 亚洲高清视频中文字幕| 日韩色在线观看| 国产成人超碰人人澡人人澡| 亚洲女性喷水在线观看一区| 欧美日韩中字一区| 秋霞午夜鲁丝一区二区老狼| 精品久久人人做人人爰| 成人av影院在线| 午夜av电影一区| 久久精品亚洲精品国产欧美kt∨ | 国产精品一区在线观看乱码| 国产欧美中文在线| 欧洲色大大久久| 国内精品久久久久影院色| 国产精品久久看| 日本福利一区二区| 91精品国产综合久久久蜜臀粉嫩 | 国产精品国产馆在线真实露脸| 91麻豆精东视频| 视频在线观看91| 久久精品免视看| 欧美日韩一级二级| 成人免费毛片嘿嘿连载视频| 亚洲成人你懂的| 国产欧美日本一区视频| 欧美日韩国产高清一区二区三区 | 欧美aaaaaa午夜精品| 中文字幕欧美激情一区| 欧美精品色一区二区三区| 国产成人综合网| 丝袜美腿亚洲一区二区图片| 国产精品毛片久久久久久| 日韩三区在线观看| 欧美性猛交xxxxxxxx| 成人性视频免费网站| 日韩avvvv在线播放| 一区二区三区免费观看| 国产蜜臀97一区二区三区| 日韩欧美一级特黄在线播放| 91久久一区二区| av亚洲产国偷v产偷v自拍| 久久99精品视频| 日本欧美韩国一区三区| 亚洲综合视频网| 亚洲少妇30p| 国产欧美一二三区| 久久综合五月天婷婷伊人| 91精品麻豆日日躁夜夜躁| 欧美日韩一区二区在线视频| 99精品视频一区二区三区| 国产成人av福利| 韩国欧美国产1区| 久久国产尿小便嘘嘘| 调教+趴+乳夹+国产+精品| 一区二区激情视频| 亚洲精品视频在线观看免费| 国产精品亲子伦对白| 国产精品乱子久久久久| 国产亚洲欧美中文| 国产免费成人在线视频| 国产女主播一区| 国产精品女主播av| 国产精品久久久一区麻豆最新章节| 久久亚洲一区二区三区明星换脸 | 91精品视频网| 91精品国产91久久久久久最新毛片 | 欧美专区日韩专区| 色婷婷综合久久久中文字幕| 99精品国产视频| 一本色道a无线码一区v| 色综合久久综合| 欧美日韩一区在线观看| 777午夜精品视频在线播放| 7777精品伊人久久久大香线蕉超级流畅| 欧美三级午夜理伦三级中视频| 在线视频一区二区三| 欧美老女人第四色| 日韩欧美在线不卡| 久久亚洲精品国产精品紫薇| 欧美国产精品中文字幕| 亚洲日本在线a| 亚洲国产精品久久艾草纯爱 | 日韩av中文字幕一区二区三区| 日韩精品电影一区亚洲| 国内外精品视频| hitomi一区二区三区精品| 91国偷自产一区二区开放时间| 在线亚洲高清视频| 日韩欧美的一区| 国产精品每日更新在线播放网址| 亚洲精品视频在线观看网站| 日日摸夜夜添夜夜添国产精品| 国产一区二区在线观看免费 | 欧美色偷偷大香| 日韩欧美国产wwwww| 国产女人aaa级久久久级| 一区二区三区小说| 久草精品在线观看| av成人免费在线观看| 欧美色综合久久| 国产三级一区二区| 亚洲精品国产成人久久av盗摄| 欧美aaaaaa午夜精品| www.成人网.com| 欧美一区二区三区在线电影 | 亚洲免费观看高清完整版在线观看熊 | 精品日韩在线观看| 亚洲精选视频在线| 国内不卡的二区三区中文字幕| 一本一道综合狠狠老| 精品毛片乱码1区2区3区| 一区二区三区在线视频观看| 激情综合色综合久久| 欧美在线观看视频一区二区| 久久综合av免费| 婷婷久久综合九色国产成人| 成人三级在线视频| 欧美一区二区福利在线| 中文字幕一区二区三区不卡在线 | 久久超碰97中文字幕| 一本一道波多野结衣一区二区| 日韩欧美国产综合在线一区二区三区| 国产精品国产三级国产专播品爱网 | 成人晚上爱看视频| 欧美成人精品福利| 亚洲高清中文字幕| 91在线免费看| 久久久久久亚洲综合| 日本女优在线视频一区二区| 色婷婷国产精品久久包臀| 国产午夜精品福利| 看片的网站亚洲| 欧美日韩精品欧美日韩精品| 一区在线观看免费| 国模少妇一区二区三区| 欧美一级日韩免费不卡| 亚洲精品乱码久久久久久日本蜜臀| 国产高清久久久久| 精品国产伦一区二区三区观看方式 | 色综合久久综合网| 成人欧美一区二区三区小说| 国产精品一区免费视频| 26uuu精品一区二区在线观看| 天天免费综合色| 欧美日韩中文精品| 亚洲精品一二三区| 91免费观看视频| 亚洲视频免费观看| 色综合久久久久综合99| 成人免费一区二区三区视频| 丁香桃色午夜亚洲一区二区三区| 久久影音资源网| 高潮精品一区videoshd| 国产亚洲欧美激情| 成人一区二区三区视频在线观看| 精品成人一区二区| 国产在线播精品第三| 精品国产免费一区二区三区四区| 久久99国产精品免费网站| 日韩美女视频一区二区在线观看| 日本欧美一区二区三区| 日韩三级精品电影久久久| 精品一区二区精品| 欧美国产一区二区| 99re亚洲国产精品| 亚洲黄色尤物视频| 欧美高清视频在线高清观看mv色露露十八 | 欧美一区日韩一区| 国产乱理伦片在线观看夜一区| 久久久久久久综合色一本| 菠萝蜜视频在线观看一区| 国产精品久久久久久久久图文区 | 日韩 欧美一区二区三区| 欧美一区二区三区电影| 国产乱色国产精品免费视频| 国产精品视频免费| 色中色一区二区| 婷婷久久综合九色综合绿巨人| 欧美不卡一区二区三区| 丁香六月久久综合狠狠色| 亚洲美腿欧美偷拍| 3atv在线一区二区三区| 国产精品自在在线| 玉足女爽爽91| 精品国产髙清在线看国产毛片| 成人av网站大全| 青青草成人在线观看| 国产精品三级av在线播放|