Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/zlib/contrib/minizip/ioapi.h

Issue 8873039: Add an API to unpack Zip files directly from and to file descriptors. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Lint fixes. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* ioapi.h -- IO base function header for compress/uncompress .zip 1 /* ioapi.h -- IO base function header for compress/uncompress .zip
2 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) 2 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
3 3
4 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage. com/zLibDll/minizip.html ) 4 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage. com/zLibDll/minizip.html )
5 5
6 Modifications for Zip64 support 6 Modifications for Zip64 support
7 Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) 7 Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
8 8
9 For more info read MiniZip_info.txt 9 For more info read MiniZip_info.txt
10 10
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 voidpf call_zopen64 OF((const zlib_filefunc64_32_def* pfilefunc,const void*filen ame,int mode)); 190 voidpf call_zopen64 OF((const zlib_filefunc64_32_def* pfilefunc,const void*filen ame,int mode));
191 long call_zseek64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestre am, ZPOS64_T offset, int origin)); 191 long call_zseek64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestre am, ZPOS64_T offset, int origin));
192 ZPOS64_T call_ztell64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestr eam)); 192 ZPOS64_T call_ztell64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestr eam));
193 193
194 void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_fi lefunc64_32,const zlib_filefunc_def* p_filefunc32); 194 void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_fi lefunc64_32,const zlib_filefunc_def* p_filefunc32);
195 195
196 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(fil ename),(mode))) 196 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(fil ename),(mode)))
197 #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(fil estream))) 197 #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(fil estream)))
198 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(fil estream),(pos),(mode))) 198 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(fil estream),(pos),(mode)))
199 199
200 // Google
201 void fill_fdopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def, int fd));
202
200 #ifdef __cplusplus 203 #ifdef __cplusplus
201 } 204 }
202 #endif 205 #endif
203 206
204 #endif 207 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698