gzguts.h (7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0) gzguts.h (cd8822075a38d0734e74b1735e4b5dbef9789170)
1/* gzguts.h -- zlib internal header definitions for gz* operations
1/* gzguts.h -- zlib internal header definitions for gz* operations
2 * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
2 * Copyright (C) 2004-2019 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5
6#ifdef _LARGEFILE64_SOURCE
7# ifndef _LARGEFILE_SOURCE
8# define _LARGEFILE_SOURCE 1
9# endif
10# ifdef _FILE_OFFSET_BITS

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

34#ifdef _WIN32
35# include <stddef.h>
36#endif
37
38#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
39# include <io.h>
40#endif
41
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5
6#ifdef _LARGEFILE64_SOURCE
7# ifndef _LARGEFILE_SOURCE
8# define _LARGEFILE_SOURCE 1
9# endif
10# ifdef _FILE_OFFSET_BITS

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

34#ifdef _WIN32
35# include <stddef.h>
36#endif
37
38#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
39# include <io.h>
40#endif
41
42#if defined(_WIN32) || defined(__CYGWIN__)
42#if defined(_WIN32)
43# define WIDECHAR
44#endif
45
46#ifdef WINAPI_FAMILY
47# define open _open
48# define read _read
49# define write _write
50# define close _close

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

185 /* just for reading */
186 int how; /* 0: get header, 1: copy, 2: decompress */
187 z_off64_t start; /* where the gzip data started, for rewinding */
188 int eof; /* true if end of input file reached */
189 int past; /* true if read requested past end */
190 /* just for writing */
191 int level; /* compression level */
192 int strategy; /* compression strategy */
43# define WIDECHAR
44#endif
45
46#ifdef WINAPI_FAMILY
47# define open _open
48# define read _read
49# define write _write
50# define close _close

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

185 /* just for reading */
186 int how; /* 0: get header, 1: copy, 2: decompress */
187 z_off64_t start; /* where the gzip data started, for rewinding */
188 int eof; /* true if end of input file reached */
189 int past; /* true if read requested past end */
190 /* just for writing */
191 int level; /* compression level */
192 int strategy; /* compression strategy */
193 int reset; /* true if a reset is pending after a Z_FINISH */
193 /* seek request */
194 z_off64_t skip; /* amount to skip (already rewound if backwards) */
195 int seek; /* true if seek request pending */
196 /* error information */
197 int err; /* error code */
198 char *msg; /* error message */
199 /* zlib inflate or deflate stream */
200 z_stream strm; /* stream structure in-place (not a pointer) */

--- 18 unchanged lines hidden ---
194 /* seek request */
195 z_off64_t skip; /* amount to skip (already rewound if backwards) */
196 int seek; /* true if seek request pending */
197 /* error information */
198 int err; /* error code */
199 char *msg; /* error message */
200 /* zlib inflate or deflate stream */
201 z_stream strm; /* stream structure in-place (not a pointer) */

--- 18 unchanged lines hidden ---