summaryrefslogtreecommitdiffstats
path: root/thirdparty/minizip/unzip.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-08-18 23:20:22 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-08-18 23:26:41 +0200
commit53fffa12f1207ca2870b3da29e5433fda6d2b0d7 (patch)
tree544c297464938a4502951b9678b5988c6de13b75 /thirdparty/minizip/unzip.h
parent5681b7b60a13737847fe59ab7b43ee0884dc6ac5 (diff)
downloadredot-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.h11
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));