home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 March / CMCD0304.ISO / Software / Freeware / Programare / nullsoft / nsis20.exe / Source / zlib / ZCONF.H < prev    next >
C/C++ Source or Header  |  2002-08-02  |  1KB  |  59 lines

  1. /* zconf.h -- configuration of the zlib compression library
  2.  * Copyright (C) 1995-1998 Jean-loup Gailly.
  3.  * For conditions of distribution and use, see copyright notice in zlib.h 
  4.  */
  5.  
  6. /* @(#) $Id: ZCONF.H,v 1.1.1.1 2002/08/02 10:01:35 kichik Exp $ */
  7.  
  8. #ifndef _ZCONF_H
  9. #define _ZCONF_H
  10.  
  11.  
  12. #define MAX_MEM_LEVEL 9
  13.  
  14. /* Maximum value for windowBits in deflateInit2 and inflateInit2.
  15.  * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
  16.  * created by gzip. (Files created by minigzip can still be extracted by
  17.  * gzip.)
  18.  */
  19. #ifndef MAX_WBITS
  20. #  define MAX_WBITS   15 /* 32K LZ77 window */
  21. #endif
  22.  
  23. #define OF(args)  args
  24.  
  25.  
  26. #ifndef ZEXPORT
  27. #  define ZEXPORT
  28. #endif
  29. #ifndef ZEXPORTVA
  30. #  define ZEXPORTVA
  31. #endif
  32. #ifndef ZEXTERN
  33. #  define ZEXTERN extern
  34. #endif
  35.  
  36. #ifndef FAR
  37. #  define FAR
  38. #endif
  39.  
  40. typedef unsigned char  Byte;  /* 8 bits */
  41. typedef unsigned int   uInt;  /* 16 bits or more */
  42. typedef unsigned long  uLong; /* 32 bits or more */
  43.  
  44. typedef Byte  FAR Bytef;
  45. typedef char  FAR charf;
  46. typedef int   FAR intf;
  47. typedef uInt  FAR uIntf;
  48. typedef uLong FAR uLongf;
  49.  
  50. typedef void FAR *voidpf;
  51. typedef void     *voidp;
  52.  
  53. #ifndef z_off_t
  54. #  define  z_off_t long
  55. #endif
  56.  
  57.  
  58. #endif /* _ZCONF_H */
  59.