ReactOS 0.4.16-dev-91-g764881a
zlib.h File Reference
#include "ftzconf.h"
Include dependency graph for zlib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  z_stream_s
 

Macros

#define ZLIB_VERSION   "1.1.4"
 
#define Z_NO_FLUSH   0
 
#define Z_PARTIAL_FLUSH   1 /* will be removed, use Z_SYNC_FLUSH instead */
 
#define Z_SYNC_FLUSH   2
 
#define Z_FULL_FLUSH   3
 
#define Z_FINISH   4
 
#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)
 
#define Z_NO_COMPRESSION   0
 
#define Z_BEST_SPEED   1
 
#define Z_BEST_COMPRESSION   9
 
#define Z_DEFAULT_COMPRESSION   (-1)
 
#define Z_FILTERED   1
 
#define Z_HUFFMAN_ONLY   2
 
#define Z_DEFAULT_STRATEGY   0
 
#define Z_BINARY   0
 
#define Z_ASCII   1
 
#define Z_UNKNOWN   2
 
#define Z_DEFLATED   8
 
#define Z_NULL   0 /* for initializing zalloc, zfree, opaque */
 
#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)
 
#define inflateInit2(strm, windowBits)    inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
 

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

int flush
 
const Bytefbuf
 
const Bytef uInt len
 
int windowBits
 
int const charversion
 
int const char int stream_size
 

Macro Definition Documentation

◆ deflateInit

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

Definition at line 815 of file zlib.h.

◆ deflateInit2

#define deflateInit2 (   strm,
  level,
  method,
  windowBits,
  memLevel,
  strategy 
)
Value:
deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
(strategy), ZLIB_VERSION, sizeof(z_stream))
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:237
method
Definition: dragdrop.c:54
GLint level
Definition: gl.h:1546
#define ZLIB_VERSION
Definition: zlib.h:40
int windowBits
Definition: zlib.h:813

Definition at line 819 of file zlib.h.

◆ inflateInit

#define inflateInit (   strm)     inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))

Definition at line 817 of file zlib.h.

◆ inflateInit2

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

Definition at line 822 of file zlib.h.

◆ Z_ASCII

#define Z_ASCII   1

Definition at line 157 of file zlib.h.

◆ Z_BEST_COMPRESSION

#define Z_BEST_COMPRESSION   9

Definition at line 147 of file zlib.h.

◆ Z_BEST_SPEED

#define Z_BEST_SPEED   1

Definition at line 146 of file zlib.h.

◆ Z_BINARY

#define Z_BINARY   0

Definition at line 156 of file zlib.h.

◆ Z_BUF_ERROR

#define Z_BUF_ERROR   (-5)

Definition at line 139 of file zlib.h.

◆ Z_DATA_ERROR

#define Z_DATA_ERROR   (-3)

Definition at line 137 of file zlib.h.

◆ Z_DEFAULT_COMPRESSION

#define Z_DEFAULT_COMPRESSION   (-1)

Definition at line 148 of file zlib.h.

◆ Z_DEFAULT_STRATEGY

#define Z_DEFAULT_STRATEGY   0

Definition at line 153 of file zlib.h.

◆ Z_DEFLATED

#define Z_DEFLATED   8

Definition at line 161 of file zlib.h.

◆ Z_ERRNO

#define Z_ERRNO   (-1)

Definition at line 135 of file zlib.h.

◆ Z_FILTERED

#define Z_FILTERED   1

Definition at line 151 of file zlib.h.

◆ Z_FINISH

#define Z_FINISH   4

Definition at line 129 of file zlib.h.

◆ Z_FULL_FLUSH

#define Z_FULL_FLUSH   3

Definition at line 128 of file zlib.h.

◆ Z_HUFFMAN_ONLY

#define Z_HUFFMAN_ONLY   2

Definition at line 152 of file zlib.h.

◆ Z_MEM_ERROR

#define Z_MEM_ERROR   (-4)

Definition at line 138 of file zlib.h.

◆ Z_NEED_DICT

#define Z_NEED_DICT   2

Definition at line 134 of file zlib.h.

◆ Z_NO_COMPRESSION

#define Z_NO_COMPRESSION   0

Definition at line 145 of file zlib.h.

◆ Z_NO_FLUSH

#define Z_NO_FLUSH   0

Definition at line 125 of file zlib.h.

◆ Z_NULL

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

Definition at line 164 of file zlib.h.

◆ Z_OK

#define Z_OK   0

Definition at line 132 of file zlib.h.

◆ Z_PARTIAL_FLUSH

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

Definition at line 126 of file zlib.h.

◆ Z_STREAM_END

#define Z_STREAM_END   1

Definition at line 133 of file zlib.h.

◆ Z_STREAM_ERROR

#define Z_STREAM_ERROR   (-2)

Definition at line 136 of file zlib.h.

◆ Z_SYNC_FLUSH

#define Z_SYNC_FLUSH   2

Definition at line 127 of file zlib.h.

◆ Z_UNKNOWN

#define Z_UNKNOWN   2

Definition at line 158 of file zlib.h.

◆ Z_VERSION_ERROR

#define Z_VERSION_ERROR   (-6)

Definition at line 140 of file zlib.h.

◆ ZLIB_VERSION

#define ZLIB_VERSION   "1.1.4"

Definition at line 40 of file zlib.h.

Typedef Documentation

◆ OF

typedef void free_func OF((voidpf opaque, voidpf address))

Definition at line 63 of file zlib.h.

◆ z_stream

◆ z_streamp

Definition at line 89 of file zlib.h.

Function Documentation

◆ ZEXTERN() [1/2]

ZEXTERN ( int  )

◆ ZEXTERN() [2/2]

ZEXTERN ( uLong  )

Variable Documentation

◆ buf

Definition at line 775 of file zlib.h.

◆ flush

◆ len

Definition at line 775 of file zlib.h.

◆ stream_size

◆ version

int const char* version

Definition at line 814 of file zlib.h.

◆ windowBits