diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-02 13:24:43 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-02 13:34:29 -0700 |
commit | 26a99cd8957db86bdc75d9d1ebf00146cb20c87c (patch) | |
tree | 2f65d57da589c9e5475902fdf08a4aa8c4294bda /gzguts.h | |
parent | 3c9d261809bfafc4350147ade7b74022dd144d32 (diff) | |
download | zlib-26a99cd8957db86bdc75d9d1ebf00146cb20c87c.tar.gz zlib-26a99cd8957db86bdc75d9d1ebf00146cb20c87c.tar.bz2 zlib-26a99cd8957db86bdc75d9d1ebf00146cb20c87c.zip |
Add a transparent write mode to gzopen() when 'T' is in the mode.
Diffstat (limited to 'gzguts.h')
-rw-r--r-- | gzguts.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,11 +136,11 @@ typedef struct { | |||
136 | unsigned want; /* requested buffer size, default is GZBUFSIZE */ | 136 | unsigned want; /* requested buffer size, default is GZBUFSIZE */ |
137 | unsigned char *in; /* input buffer */ | 137 | unsigned char *in; /* input buffer */ |
138 | unsigned char *out; /* output buffer (double-sized when reading) */ | 138 | unsigned char *out; /* output buffer (double-sized when reading) */ |
139 | int direct; /* 0 if processing gzip, 1 if transparent */ | ||
139 | /* just for reading */ | 140 | /* just for reading */ |
140 | int eof; /* true if end of input file reached */ | 141 | int eof; /* true if end of input file reached */ |
141 | z_off64_t start; /* where the gzip data started, for rewinding */ | 142 | z_off64_t start; /* where the gzip data started, for rewinding */ |
142 | int how; /* 0: get header, 1: copy, 2: decompress */ | 143 | int how; /* 0: get header, 1: copy, 2: decompress */ |
143 | int direct; /* true if last read direct, false if gzip */ | ||
144 | /* just for writing */ | 144 | /* just for writing */ |
145 | int level; /* compression level */ | 145 | int level; /* compression level */ |
146 | int strategy; /* compression strategy */ | 146 | int strategy; /* compression strategy */ |