Rev 6639 | Rev 6704 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6639 | Rev 6673 | ||
---|---|---|---|
Line 224... | Line 224... | ||
224 | ;struct gzFile_s { |
224 | ;struct gzFile_s { |
225 | ; unsigned have; |
225 | ; unsigned have; |
226 | ; unsigned char *next; |
226 | ; unsigned char *next; |
227 | ; z_off64_t pos; |
227 | ; z_off64_t pos; |
228 | ;}; |
228 | ;}; |
229 | ;int gzgetc_ OF((gzFile file)); /* backward compatibility */ |
- | |
- | 229 | ||
230 | ;if Z_PREFIX_SET |
230 | if Z_PREFIX_SET eq 1 |
231 | ;# undef z_gzgetc |
231 | ;# undef z_gzgetc |
232 | ;# define z_gzgetc(g) \ |
232 | ;# define z_gzgetc(g) \ |
233 | ; ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) |
233 | ; ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) |
234 | ;#else |
234 | else |
235 | ;# define gzgetc(g) \ |
235 | ;# define gzgetc(g) \ |
236 | ; ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) |
236 | ; ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) |
237 | end if |
237 | end if |
Line 238... | Line -... | ||
238 | - | ||
239 | ; provide 64-bit offset functions if _LARGEFILE64_SOURCE defined, and/or |
- | |
240 | ; change the regular functions to 64 bits if _FILE_OFFSET_BITS is 64 (if |
- | |
241 | ; both are true, the application gets the *64 functions, and the regular |
- | |
242 | ; functions are changed to 64 bits) -- in case these are set on systems |
- | |
243 | ; without large file support, _LFS64_LARGEFILE must also be true |
- | |
244 | - | ||
245 | ; undocumented functions |
- | |
246 | ;const char * zError OF((int)); |
- | |
247 | ;int inflateSyncPoint OF((z_streamp)); |
- | |
248 | ;const z_crc_t FAR * get_crc_table OF((void)); |
- | |
249 | ;int inflateUndermine OF((z_streamp, int)); |
- | |
250 | ;int inflateResetKeep OF((z_streamp)); |
- | |
251 | ;#if defined(_WIN32) && !defined(Z_SOLO) |
- | |
252 | ;gzFile gzopen_w OF((const wchar_t *path, |
- | |
253 | ; const char *mode)); |
238 |