Deleted Added
full compact
zutil.h (237691) zutil.h (254069)
1/* zutil.h -- internal interface and configuration of the compression library
1/* zutil.h -- internal interface and configuration of the compression library
2 * Copyright (C) 1995-2012 Jean-loup Gailly.
2 * Copyright (C) 1995-2013 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5
6/* WARNING: this file should *not* be used by applications. It is
7 part of the implementation of the compression library and is
8 subject to change. Applications should only use zlib.h.
9 */
10

--- 28 unchanged lines hidden (view full) ---

39/* compile with -Dlocal if your debugger can't find static symbols */
40
41typedef unsigned char uch;
42typedef uch FAR uchf;
43typedef unsigned short ush;
44typedef ush FAR ushf;
45typedef unsigned long ulg;
46
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5
6/* WARNING: this file should *not* be used by applications. It is
7 part of the implementation of the compression library and is
8 subject to change. Applications should only use zlib.h.
9 */
10

--- 28 unchanged lines hidden (view full) ---

39/* compile with -Dlocal if your debugger can't find static symbols */
40
41typedef unsigned char uch;
42typedef uch FAR uchf;
43typedef unsigned short ush;
44typedef ush FAR ushf;
45typedef unsigned long ulg;
46
47extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
47extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
48/* (size given to avoid silly warnings with Visual C++) */
49
50#define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)]
51
52#define ERR_RETURN(strm,err) \
48/* (size given to avoid silly warnings with Visual C++) */
49
50#define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)]
51
52#define ERR_RETURN(strm,err) \
53 return (strm->msg = (char*)ERR_MSG(err), (err))
53 return (strm->msg = ERR_MSG(err), (err))
54/* To be used only when the state is known to be valid */
55
56 /* common constants */
57
58#ifndef DEF_WBITS
59# define DEF_WBITS MAX_WBITS
60#endif
61/* default windowBits for decompression. MAX_WBITS is for compression only */

--- 101 unchanged lines hidden (view full) ---

163
164#if defined(__BORLANDC__) && !defined(MSDOS)
165 #pragma warn -8004
166 #pragma warn -8008
167 #pragma warn -8066
168#endif
169
170/* provide prototypes for these when building zlib without LFS */
54/* To be used only when the state is known to be valid */
55
56 /* common constants */
57
58#ifndef DEF_WBITS
59# define DEF_WBITS MAX_WBITS
60#endif
61/* default windowBits for decompression. MAX_WBITS is for compression only */

--- 101 unchanged lines hidden (view full) ---

163
164#if defined(__BORLANDC__) && !defined(MSDOS)
165 #pragma warn -8004
166 #pragma warn -8008
167 #pragma warn -8066
168#endif
169
170/* provide prototypes for these when building zlib without LFS */
171#if !defined(_WIN32) && (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
171#if !defined(_WIN32) && \
172 (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
172 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
173 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
174#endif
175
176 /* common defaults */
177
178#ifndef OS_CODE
179# define OS_CODE 0x03 /* assume Unix */

--- 73 unchanged lines hidden ---
173 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
174 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
175#endif
176
177 /* common defaults */
178
179#ifndef OS_CODE
180# define OS_CODE 0x03 /* assume Unix */

--- 73 unchanged lines hidden ---