diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-18 23:20:22 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-18 23:26:41 +0200 |
| commit | 53fffa12f1207ca2870b3da29e5433fda6d2b0d7 (patch) | |
| tree | 544c297464938a4502951b9678b5988c6de13b75 /thirdparty/minizip/unzip.h | |
| parent | 5681b7b60a13737847fe59ab7b43ee0884dc6ac5 (diff) | |
| download | redot-engine-53fffa12f1207ca2870b3da29e5433fda6d2b0d7.tar.gz | |
minizip: Reapply Godot-specific changes for seek support
I have not assessed whether they are still all relevant.
Diffstat (limited to 'thirdparty/minizip/unzip.h')
| -rw-r--r-- | thirdparty/minizip/unzip.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/thirdparty/minizip/unzip.h b/thirdparty/minizip/unzip.h index 3183968b77..54e65ad8ab 100644 --- a/thirdparty/minizip/unzip.h +++ b/thirdparty/minizip/unzip.h @@ -202,6 +202,10 @@ extern int ZEXPORT unzClose OF((unzFile file)); these files MUST be closed with unzipCloseCurrentFile before call unzipClose. return UNZ_OK if there is no problem. */ +/* GODOT start */ +extern void* unzGetOpaque(unzFile file); +/* GODOT end */ + extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, unz_global_info *pglobal_info)); @@ -390,6 +394,13 @@ extern int ZEXPORT unzReadCurrentFile OF((unzFile file, (UNZ_ERRNO for IO error, or zLib error for uncompress error) */ +/* GODOT start */ +extern int ZEXPORT unzSeekCurrentFile(unzFile file, int pos); +/* + Seek to position in uncompressed data +*/ +/* GODOT end */ + extern z_off_t ZEXPORT unztell OF((unzFile file)); extern ZPOS64_T ZEXPORT unztell64 OF((unzFile file)); |
