Manually re-apply diff: zip.h

This commit is contained in:
James Addison
2023-11-17 16:06:14 +00:00
parent c3407c59a1
commit 3bffe8ca46
2 changed files with 10 additions and 17 deletions

View File

@@ -313,6 +313,11 @@ extern int ZEXPORT zipWriteInFileInZip(zipFile file,
Write data in the zipfile
*/
extern int ZEXPORT zipFlush (zipFile file);
/*
Flush the zipfile output
*/
extern int ZEXPORT zipCloseFileInZip(zipFile file);
/*
Close the current file in the zipfile

View File

@@ -1,26 +1,14 @@
--- zip.h.orig 2010-02-15 12:58:22.000000000 +0100
+++ zip.h 2014-05-24 13:47:52.838188589 +0200
@@ -144,6 +144,11 @@
zipcharpc* globalcomment,
zlib_filefunc64_def* pzlib_filefunc_def));
+extern zipFile ZEXPORT zipOpen3 OF((const void *pathname,
+ int append,
+ zipcharpc* globalcomment,
+ zlib_filefunc64_32_def* pzlib_filefunc64_32_def));
+
extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file,
const char* filename,
const zip_fileinfo* zipfi,
@@ -311,6 +316,11 @@
--- zip.h.orig 2023-11-17 16:21:50.363864777 +0000
+++ zip.h 2023-11-17 16:26:04.675858368 +0000
@@ -313,6 +313,11 @@
Write data in the zipfile
*/
+extern int ZEXPORT zipFlush OF((zipFile file));
+extern int ZEXPORT zipFlush (zipFile file);
+/*
+ Flush the zipfile output
+*/
+
extern int ZEXPORT zipCloseFileInZip OF((zipFile file));
extern int ZEXPORT zipCloseFileInZip(zipFile file);
/*
Close the current file in the zipfile