w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

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) ()
 
typedef void(* free_func) ()
 
typedef struct z_stream_s z_stream
 
typedef z_streamz_streamp
 

Functions

static int inflate ()
 
static int inflateEnd ()
 
static int inflateReset ()
 
static uLong adler32 ()
 
static int inflateInit2_ ()
 

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 level
Definition: afm2pl.c:1694
#define ZLIB_VERSION
Definition: zlib.h:40
int deflateInit2_()

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

◆ alloc_func

typedef voidpf(* alloc_func) ()

Definition at line 63 of file zlib.h.

◆ free_func

typedef void(* free_func) ()

Definition at line 64 of file zlib.h.

◆ z_stream

typedef struct z_stream_s z_stream

◆ z_streamp

typedef z_stream* z_streamp

Definition at line 89 of file zlib.h.

Function Documentation

◆ adler32()

static uLong adler32 ( )
static

◆ inflate()

static int inflate ( )
static

◆ inflateEnd()

static int inflateEnd ( )
static

◆ inflateInit2_()

static int inflateInit2_ ( )
static

◆ inflateReset()

static int inflateReset ( )
static