亚洲欧美第一页_禁久久精品乱码_粉嫩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成人高清| 欧美在线制服丝袜| 国产日韩欧美制服另类| 日韩高清一区在线| 欧美三级资源在线| 五月天中文字幕一区二区| 国产精品影视在线| 日韩欧美一区二区不卡| 樱桃国产成人精品视频| 91亚洲午夜精品久久久久久| 久久久激情视频| 久久精品国产第一区二区三区| 日本高清视频一区二区| 秋霞电影网一区二区| 欧美在线观看视频一区二区三区| 国产精品嫩草久久久久| 成人午夜激情影院| 国产日韩综合av| 国产一区视频在线看| 欧美一级精品在线| 蜜臀av性久久久久蜜臀av麻豆| 一道本成人在线| 成人欧美一区二区三区白人| 成人黄色一级视频| 中文字幕一区二区三区蜜月 | 亚洲精品国产第一综合99久久| 国产乱人伦偷精品视频免下载| 日韩写真欧美这视频| 麻豆国产精品777777在线| 欧美精品久久99| 麻豆视频观看网址久久| 日韩一区二区三区视频在线观看| 日本成人在线不卡视频| 日韩一区二区电影在线| 久久国产尿小便嘘嘘尿| 久久久久久久久99精品| 国产不卡视频在线观看| 中文字幕一区二区三区不卡| a在线播放不卡| 一区二区在线看| 欧美欧美欧美欧美| 精品一区二区精品| 久久久久久毛片| 99久久99久久精品免费看蜜桃 | 久久久777精品电影网影网 | 欧美激情一区二区三区蜜桃视频| 国产成人夜色高潮福利影视| 国产精品毛片无遮挡高清| 日本高清无吗v一区| 日韩成人一级大片| 久久青草欧美一区二区三区| 本田岬高潮一区二区三区| 亚洲综合在线电影| 欧美岛国在线观看| 99国产欧美久久久精品| 亚洲成av人片在线观看无码| 日韩精品最新网址| 成人av电影在线| 亚洲一区二区三区三| 精品国产精品一区二区夜夜嗨| av网站一区二区三区| 日韩av电影免费观看高清完整版| 国产女同性恋一区二区| 欧美三级午夜理伦三级中视频| 久久福利资源站| 椎名由奈av一区二区三区| 4438x亚洲最大成人网| 成人在线综合网站| 婷婷六月综合亚洲| 国产精品蜜臀在线观看| 欧美一级二级在线观看| 成人激情免费视频| 免费欧美高清视频| 亚洲色图欧洲色图婷婷| 精品久久久久久无| 在线亚洲高清视频| 国产91精品在线观看| 婷婷开心久久网| ...av二区三区久久精品| 日韩美女视频一区二区在线观看| 色婷婷综合视频在线观看| 国产麻豆一精品一av一免费| 日韩专区欧美专区| 亚洲欧美一区二区三区极速播放 | 欧美在线观看一区二区| 国产精品1区2区| 日韩国产欧美一区二区三区| 亚洲图片另类小说| 国产午夜久久久久| 日韩欧美国产一区二区在线播放| 在线视频综合导航| 91免费国产在线观看| 国产白丝网站精品污在线入口| 视频一区二区三区中文字幕| 一区二区三区成人在线视频| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 国产精品综合一区二区| 久久成人免费网站| 午夜精品久久久久久久久| 亚洲黄色小视频| 国产精品国产三级国产aⅴ中文| 26uuu亚洲| 欧美xxxx在线观看| 欧美一二三区在线观看| 欧美日韩国产123区| 777欧美精品| 欧美久久久一区| 制服丝袜激情欧洲亚洲| 欧美色爱综合网| 欧美喷水一区二区| 欧美日韩国产123区| 欧美精品久久久久久久久老牛影院| 欧洲视频一区二区| 欧美日韩一二三| 欧美精品久久99久久在免费线| 3d成人h动漫网站入口| 91精品一区二区三区在线观看| 欧美一区二区三区系列电影| 欧美一级在线观看| 精品国产伦理网| 久久青草欧美一区二区三区| 欧美国产日产图区| 国产精品电影一区二区| 亚洲视频免费看| 亚洲最大成人综合| 日韩国产精品久久久| 国产在线乱码一区二区三区| 国产一区亚洲一区| a级精品国产片在线观看| 日本丶国产丶欧美色综合| 欧美性xxxxx极品少妇| 3d动漫精品啪啪1区2区免费 | 欧美午夜寂寞影院| 欧美一区二区福利在线| 国产午夜精品福利| 一区二区三区毛片| 久久精品国产99国产精品| 国产福利电影一区二区三区| 97精品国产露脸对白| 欧美日韩国产综合视频在线观看| 久久这里只精品最新地址| 中文字幕在线不卡一区| 午夜精品在线看| 国产成人av一区二区三区在线 | 精品国产乱码久久| 亚洲欧美中日韩| 日韩成人午夜精品| 成人免费视频视频在线观看免费| 在线免费精品视频| 国产无人区一区二区三区| 一区二区三区精密机械公司| 精品一区二区国语对白| 在线观看一区日韩| 久久久影视传媒| 亚洲国产成人tv| 成人av网址在线| 日韩一二三区视频| 亚洲女同女同女同女同女同69| 久久精品99久久久| 91国偷自产一区二区开放时间 | 99久久99久久免费精品蜜臀| 日韩一卡二卡三卡四卡| 亚洲免费资源在线播放| 国内精品免费**视频| 欧美精品视频www在线观看| 国产精品久久久久久久裸模| 青草av.久久免费一区| 欧美在线观看一区| 最新中文字幕一区二区三区| 久久国产精品露脸对白| 制服丝袜亚洲色图| 亚洲亚洲精品在线观看| 91亚洲男人天堂| 中文字幕国产一区| 国产综合色精品一区二区三区| 色综合一区二区三区| 欧美国产精品一区二区| 秋霞午夜av一区二区三区| 精品视频123区在线观看| 最近中文字幕一区二区三区| 国产成人在线视频播放| 日韩手机在线导航| 午夜成人免费电影| 欧美日本免费一区二区三区| 亚洲图片欧美色图| 在线观看日韩电影| 怡红院av一区二区三区| 亚洲精品一区二区三区影院| 美女性感视频久久| 日韩欧美在线网站| 日本91福利区| 日韩欧美中文一区| 国产乱国产乱300精品|