| OLD | NEW |
| 1 /* unzip.c -- IO for uncompress .zip files using zlib | 1 /* unzip.c -- IO for uncompress .zip files using zlib |
| 2 Version 1.1, February 14h, 2010 | 2 Version 1.1, February 14h, 2010 |
| 3 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html
) | 3 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html
) |
| 4 | 4 |
| 5 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.
com/zLibDll/minizip.html ) | 5 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.
com/zLibDll/minizip.html ) |
| 6 | 6 |
| 7 Modifications of Unzip for Zip64 | 7 Modifications of Unzip for Zip64 |
| 8 Copyright (C) 2007-2008 Even Rouault | 8 Copyright (C) 2007-2008 Even Rouault |
| 9 | 9 |
| 10 Modifications for Zip64 support on both zip and unzip | 10 Modifications for Zip64 support on both zip and unzip |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 } unz64_s; | 193 } unz64_s; |
| 194 | 194 |
| 195 | 195 |
| 196 #ifndef NOUNCRYPT | 196 #ifndef NOUNCRYPT |
| 197 #include "crypt.h" | 197 #include "crypt.h" |
| 198 #endif | 198 #endif |
| 199 | 199 |
| 200 /* =========================================================================== | 200 /* =========================================================================== |
| 201 Read a byte from a gz_stream; update next_in and avail_in. Return EOF | 201 Read a byte from a gz_stream; update next_in and avail_in. Return EOF |
| 202 for end of file. | 202 for end of file. |
| 203 IN assertion: the stream s has been sucessfully opened for reading. | 203 IN assertion: the stream s has been successfully opened for reading. |
| 204 */ | 204 */ |
| 205 | 205 |
| 206 | 206 |
| 207 local int unz64local_getByte OF(( | 207 local int unz64local_getByte OF(( |
| 208 const zlib_filefunc64_32_def* pzlib_filefunc_def, | 208 const zlib_filefunc64_32_def* pzlib_filefunc_def, |
| 209 voidpf filestream, | 209 voidpf filestream, |
| 210 int *pi)); | 210 int *pi)); |
| 211 | 211 |
| 212 local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, v
oidpf filestream, int *pi) | 212 local int unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, v
oidpf filestream, int *pi) |
| 213 { | 213 { |
| (...skipping 1897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2111 &s->cur_file_info_internal, | 2111 &s->cur_file_info_internal, |
| 2112 NULL,0,NULL,0,NULL,0); | 2112 NULL,0,NULL,0,NULL,0); |
| 2113 s->current_file_ok = (err == UNZ_OK); | 2113 s->current_file_ok = (err == UNZ_OK); |
| 2114 return err; | 2114 return err; |
| 2115 } | 2115 } |
| 2116 | 2116 |
| 2117 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos) | 2117 extern int ZEXPORT unzSetOffset (unzFile file, uLong pos) |
| 2118 { | 2118 { |
| 2119 return unzSetOffset64(file,pos); | 2119 return unzSetOffset64(file,pos); |
| 2120 } | 2120 } |
| OLD | NEW |