zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
zlib.h File Reference
#include "zconf.h"

Go to the source code of this file.

Classes

struct  z_stream_s
 

Macros

#define deflateInit(strm, level)   deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
 
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)
 
#define inflateInit(strm)   inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
 
#define inflateInit2(strm, windowBits)   inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
 
#define Z_ASCII   1
 
#define Z_BEST_COMPRESSION   9
 
#define Z_BEST_SPEED   1
 
#define Z_BINARY   0
 
#define Z_BUF_ERROR   (-5)
 
#define Z_DATA_ERROR   (-3)
 
#define Z_DEFAULT_COMPRESSION   (-1)
 
#define Z_DEFAULT_STRATEGY   0
 
#define Z_DEFLATED   8
 
#define Z_ERRNO   (-1)
 
#define Z_FILTERED   1
 
#define Z_FINISH   4
 
#define Z_FULL_FLUSH   3
 
#define Z_HUFFMAN_ONLY   2
 
#define Z_MEM_ERROR   (-4)
 
#define Z_NEED_DICT   2
 
#define Z_NO_COMPRESSION   0
 
#define Z_NO_FLUSH   0
 
#define Z_NULL   0 /* for initializing zalloc, zfree, opaque */
 
#define Z_OK   0
 
#define Z_PARTIAL_FLUSH   1 /* will be removed, use Z_SYNC_FLUSH instead */
 
#define Z_STREAM_END   1
 
#define Z_STREAM_ERROR   (-2)
 
#define Z_SYNC_FLUSH   2
 
#define Z_UNKNOWN   2
 
#define Z_VERSION_ERROR   (-6)
 
#define ZLIB_VERSION   "1.1.4"
 

Typedefs

typedef voidpf alloc_func OF ((voidpf opaque, uInt items, uInt size))
 
typedef struct z_stream_s z_stream
 
typedef z_stream FARz_streamp
 

Functions

 ZEXTERN (int) inflate OF((z_streamp strm
 
 ZEXTERN (uLong) adler32 OF((uLong adler
 

Variables

const Bytefbuf
 
int flush
 
const Bytef uInt len
 
int const char int stream_size
 
int const char * version
 
int windowBits
 

Macro Definition Documentation

#define deflateInit (   strm,
  level 
)    deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))

Definition at line 815 of file zlib.h.

Referenced by compress2(), test_deflate(), test_dict_deflate(), test_flush(), and test_large_deflate().

#define deflateInit2 (   strm,
  level,
  method,
  windowBits,
  memLevel,
  strategy 
)
Value:
deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
(strategy), ZLIB_VERSION, sizeof(z_stream))
#define ZLIB_VERSION
Definition: zlib.h:40
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
Definition: deflate.c:210
int windowBits
Definition: zlib.h:813
GLint level
Definition: gl2ext.h:845

Definition at line 819 of file zlib.h.

Referenced by gz_init(), gz_open(), and png_zlib_claim().

#define inflateInit (   strm)    inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
#define inflateInit2 (   strm,
  windowBits 
)    inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))

Definition at line 822 of file zlib.h.

Referenced by gz_head(), and gz_open().

#define Z_ASCII   1

Definition at line 157 of file zlib.h.

#define Z_BEST_COMPRESSION   9

Definition at line 147 of file zlib.h.

Referenced by test_dict_deflate(), and test_large_deflate().

#define Z_BEST_SPEED   1

Definition at line 146 of file zlib.h.

Referenced by test_large_deflate().

#define Z_BINARY   0

Definition at line 156 of file zlib.h.

Referenced by detect_data_type(), and png_write_finish_row().

#define Z_DEFAULT_COMPRESSION   (-1)
#define Z_DEFAULT_STRATEGY   0

Definition at line 153 of file zlib.h.

Referenced by deflateInit_(), gz_open(), png_write_IHDR(), and test_large_deflate().

#define Z_DEFLATED   8

Definition at line 161 of file zlib.h.

Referenced by check_header(), deflate(), deflateInit2_(), deflateInit_(), gz_init(), gz_open(), and inflate().

#define Z_ERRNO   (-1)
#define Z_FILTERED   1

Definition at line 151 of file zlib.h.

Referenced by deflate_slow(), gz_open(), png_write_IHDR(), test_large_deflate(), and test_one_file().

#define Z_FULL_FLUSH   3

Definition at line 128 of file zlib.h.

Referenced by deflate(), and test_flush().

#define Z_HUFFMAN_ONLY   2

Definition at line 152 of file zlib.h.

Referenced by deflate(), and gz_open().

#define Z_NEED_DICT   2

Definition at line 134 of file zlib.h.

Referenced by gz_decomp(), inflate(), test_dict_inflate(), and uncompress().

#define Z_NO_COMPRESSION   0

Definition at line 145 of file zlib.h.

Referenced by test_large_deflate().

#define Z_PARTIAL_FLUSH   1 /* will be removed, use Z_SYNC_FLUSH instead */

Definition at line 126 of file zlib.h.

Referenced by deflate(), gzsetparams(), png_push_read_zTXt(), png_read_finish_row(), and png_read_row().

#define Z_SYNC_FLUSH   2

Definition at line 127 of file zlib.h.

Referenced by png_process_IDAT_data(), and png_write_flush().

#define Z_UNKNOWN   2

Definition at line 158 of file zlib.h.

Referenced by _tr_flush_block(), and deflateReset().

#define Z_VERSION_ERROR   (-6)
#define ZLIB_VERSION   "1.1.4"

Definition at line 40 of file zlib.h.

Referenced by deflateInit2_(), inflateBackInit_(), inflateInit2_(), main(), test_one_file(), and zlibVersion().

Typedef Documentation

ZEXTERN uLong ZEXPORT crc32_combine64 OF ( (voidpf opaque, uInt items, uInt size )

Definition at line 63 of file zlib.h.

typedef struct z_stream_s z_stream

Definition at line 89 of file zlib.h.

Function Documentation

ZEXTERN ( int  )
ZEXTERN ( uLong  )

Variable Documentation

Definition at line 775 of file zlib.h.

int flush

Definition at line 309 of file zlib.h.

Referenced by deflate().

Definition at line 775 of file zlib.h.

int const char int stream_size

Definition at line 813 of file zlib.h.

int windowBits

Definition at line 813 of file zlib.h.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateReset2().