zutil.h File Reference

(r1785/r751)

#include <string.h>

Go to the source code of this file.

Defines

#define ZStream   z_stream
#define ZLIB_VERSION   "0.92"
#define ZLIB_VERSIONNO   0.92
#define ZLIB_MAJOR_VERSIONNO   0
#define ZLIB_MINOR_VERSIONNO   99
#define ERR_MSG(err)   (char*)z_errmsg[Z_NEED_DICT-(err)]
#define ERR_RETURN(strm, err)   return (err)
 * To be used only when the state is known to be valid */
#define DEFLATED   8
#define DEF_WBITS   15
#define MAX_MEM_LEVEL   9
#define MAX_WBITS   15
#define DEF_MEM_LEVEL   8
#define STORED_BLOCK   0
#define STATIC_TREES   1
#define DYN_TREES   2
#define MIN_MATCH   3
#define MAX_MATCH   258
#define PRESET_DICT   0x20
#define Z_NO_FLUSH   0
#define Z_PARTIAL_FLUSH   1
#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_UNCOMPRESSED_ERROR   (-7)
#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
#define OS_CODE   0x0b
#define zmemcpy   memcpy
#define zmemcmp   memcmp
#define zmemzero(dest, len)   memset(dest, 0, len)
#define _FTPRINTF   TRACEUSER( "Neville", _T("%s"),x)
#define Assert(cond, msg)
#define Trace(x)
#define Tracev(x)
#define Tracevv(x)
#define Tracec(c, x)
#define Tracecv(c, x)
#define z_error(m)   ERROR3(m);
#define ZALLOC(strm, items, size)   (*((strm)->zalloc))((strm)->opaque, (items), (size))
#define ZFREE(strm, addr)   (*((strm)->zfree))((strm)->opaque, (void*)(addr))
#define TRY_FREE(s, p)   {if (p) ZFREE(s, p);}

Typedefs

typedef void FAR * voidpf
typedef void * voidp
typedef unsigned char Byte
typedef UINT32 uInt
typedef UINT32 uLong
typedef Byte FAR Bytef
typedef char FAR charf
typedef INT32 FAR intf
typedef uInt FAR uIntf
typedef uLong FAR uLongf
typedef unsigned char uch
typedef uch FAR uchf
typedef unsigned short ush
typedef ush FAR ushf
typedef UINT32 ulg
typedef uLong(* check_func )(uLong check, const Bytef *buf, uInt len)


Define Documentation

#define _FTPRINTF   TRACEUSER( "Neville", _T("%s"),x)
 

Definition at line 305 of file zutil.h.

#define Assert cond,
msg   ) 
 

Definition at line 326 of file zutil.h.

#define DEF_MEM_LEVEL   8
 

Definition at line 217 of file zutil.h.

#define DEF_WBITS   15
 

Definition at line 182 of file zutil.h.

#define DEFLATED   8
 

Definition at line 180 of file zutil.h.

#define DYN_TREES   2
 

Definition at line 225 of file zutil.h.

#define ERR_MSG err   )     (char*)z_errmsg[Z_NEED_DICT-(err)]
 

Definition at line 163 of file zutil.h.

#define ERR_RETURN strm,
err   )     return (err)
 

* To be used only when the state is known to be valid */

Definition at line 171 of file zutil.h.

#define MAX_MATCH   258
 

Definition at line 229 of file zutil.h.

#define MAX_MEM_LEVEL   9
 

Definition at line 206 of file zutil.h.

#define MAX_WBITS   15
 

Definition at line 209 of file zutil.h.

#define MIN_MATCH   3
 

Definition at line 228 of file zutil.h.

#define OS_CODE   0x0b
 

Definition at line 298 of file zutil.h.

#define PRESET_DICT   0x20
 

Definition at line 232 of file zutil.h.

#define STATIC_TREES   1
 

Definition at line 224 of file zutil.h.

#define STORED_BLOCK   0
 

Definition at line 223 of file zutil.h.

#define Trace  ) 
 

Definition at line 327 of file zutil.h.

#define Tracec c,
 ) 
 

Definition at line 330 of file zutil.h.

#define Tracecv c,
 ) 
 

Definition at line 331 of file zutil.h.

#define Tracev  ) 
 

Definition at line 328 of file zutil.h.

#define Tracevv  ) 
 

Definition at line 329 of file zutil.h.

#define TRY_FREE s,
p   )     {if (p) ZFREE(s, p);}
 

Definition at line 346 of file zutil.h.

#define Z_ASCII   1
 

Definition at line 280 of file zutil.h.

#define Z_BEST_COMPRESSION   9
 

Definition at line 270 of file zutil.h.

#define Z_BEST_SPEED   1
 

Definition at line 269 of file zutil.h.

#define Z_BINARY   0
 

Definition at line 279 of file zutil.h.

#define Z_BUF_ERROR   (-5)
 

Definition at line 260 of file zutil.h.

#define Z_DATA_ERROR   (-3)
 

Definition at line 258 of file zutil.h.

#define Z_DEFAULT_COMPRESSION   (-1)
 

Definition at line 271 of file zutil.h.

#define Z_DEFAULT_STRATEGY   0
 

Definition at line 276 of file zutil.h.

#define Z_DEFLATED   8
 

Definition at line 284 of file zutil.h.

#define Z_ERRNO   (-1)
 

Definition at line 256 of file zutil.h.

#define z_error  )     ERROR3(m);
 

Definition at line 337 of file zutil.h.

#define Z_FILTERED   1
 

Definition at line 274 of file zutil.h.

#define Z_FINISH   4
 

Definition at line 250 of file zutil.h.

#define Z_FULL_FLUSH   3
 

Definition at line 249 of file zutil.h.

#define Z_HUFFMAN_ONLY   2
 

Definition at line 275 of file zutil.h.

#define Z_MEM_ERROR   (-4)
 

Definition at line 259 of file zutil.h.

#define Z_NEED_DICT   2
 

Definition at line 255 of file zutil.h.

#define Z_NO_COMPRESSION   0
 

Definition at line 268 of file zutil.h.

#define Z_NO_FLUSH   0
 

Definition at line 246 of file zutil.h.

#define Z_NULL   0
 

Definition at line 287 of file zutil.h.

#define Z_OK   0
 

Definition at line 253 of file zutil.h.

#define Z_PARTIAL_FLUSH   1
 

Definition at line 247 of file zutil.h.

#define Z_STREAM_END   1
 

Definition at line 254 of file zutil.h.

#define Z_STREAM_ERROR   (-2)
 

Definition at line 257 of file zutil.h.

#define Z_SYNC_FLUSH   2
 

Definition at line 248 of file zutil.h.

#define Z_UNCOMPRESSED_ERROR   (-7)
 

Definition at line 263 of file zutil.h.

#define Z_UNKNOWN   2
 

Definition at line 281 of file zutil.h.

#define Z_VERSION_ERROR   (-6)
 

Definition at line 261 of file zutil.h.

#define ZALLOC strm,
items,
size   )     (*((strm)->zalloc))((strm)->opaque, (items), (size))
 

Definition at line 343 of file zutil.h.

#define ZFREE strm,
addr   )     (*((strm)->zfree))((strm)->opaque, (void*)(addr))
 

Definition at line 345 of file zutil.h.

#define ZLIB_MAJOR_VERSIONNO   0
 

Definition at line 144 of file zutil.h.

#define ZLIB_MINOR_VERSIONNO   99
 

Definition at line 145 of file zutil.h.

#define ZLIB_VERSION   "0.92"
 

Definition at line 140 of file zutil.h.

#define ZLIB_VERSIONNO   0.92
 

Definition at line 141 of file zutil.h.

#define zmemcmp   memcmp
 

Definition at line 300 of file zutil.h.

#define zmemcpy   memcpy
 

Definition at line 299 of file zutil.h.

#define zmemzero dest,
len   )     memset(dest, 0, len)
 

Definition at line 301 of file zutil.h.

#define ZStream   z_stream
 

Definition at line 136 of file zutil.h.


Typedef Documentation

typedef unsigned char Byte
 

Definition at line 153 of file zutil.h.

typedef Byte FAR Bytef
 

Definition at line 157 of file zutil.h.

typedef char FAR charf
 

Definition at line 158 of file zutil.h.

typedef uLong(* check_func)(uLong check, const Bytef *buf, uInt len)
 

Definition at line 334 of file zutil.h.

typedef INT32 FAR intf
 

Definition at line 159 of file zutil.h.

typedef unsigned char uch
 

Definition at line 234 of file zutil.h.

typedef uch FAR uchf
 

Definition at line 235 of file zutil.h.

typedef UINT32 uInt
 

Definition at line 154 of file zutil.h.

typedef uInt FAR uIntf
 

Definition at line 160 of file zutil.h.

typedef UINT32 ulg
 

Definition at line 238 of file zutil.h.

typedef UINT32 uLong
 

Definition at line 155 of file zutil.h.

typedef uLong FAR uLongf
 

Definition at line 161 of file zutil.h.

typedef unsigned short ush
 

Definition at line 236 of file zutil.h.

typedef ush FAR ushf
 

Definition at line 237 of file zutil.h.

typedef void* voidp
 

Definition at line 151 of file zutil.h.

typedef void FAR* voidpf
 

Definition at line 150 of file zutil.h.


Generated on Sat Nov 10 03:49:25 2007 for Camelot by  doxygen 1.4.4