diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
commit | df5520aa2dae5b3ce7abf8733dcdd152898af163 (patch) | |
tree | 00d3047bfb14f682bfb5a21010c731ed649bfed7 /app/bin/archive.h | |
parent | df247efec654e512242e4f4f1b0212034f9e01fe (diff) | |
parent | ec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff) |
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
Diffstat (limited to 'app/bin/archive.h')
-rw-r--r-- | app/bin/archive.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/bin/archive.h b/app/bin/archive.h index cfbb642..8c938b2 100644 --- a/app/bin/archive.h +++ b/app/bin/archive.h @@ -1,15 +1,17 @@ #ifndef HAVE_ARCHIVE_H #define HAVE_ARCHIVE_H -#include <zip.h> #include "common.h" enum ArchiveOps { ARCHIVE_READ, ARCHIVE_WRITE }; // has to be contiguous, see CleanupFiles()! extern int log_zip; extern const char *workingDir; +struct zip; char *GetZipDirectoryName(enum ArchiveOps op); -BOOL_T AddDirectoryToArchive(struct zip * za, const char * dir_path, const char * prefix); +BOOL_T AddDirectoryToArchive(struct zip * za, const char * dir_path, + const char * prefix); BOOL_T CreateArchive(const char * dir_path, const char * fileName); -BOOL_T UnpackArchiveFor(const char * pathName, const char * fileName, const char * tempDir, BOOL_T file_only); +BOOL_T UnpackArchiveFor(const char * pathName, const char * fileName, + const char * tempDir, BOOL_T file_only); #endif |