diff options
Diffstat (limited to 'src/fs/zip.h')
-rw-r--r-- | src/fs/zip.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/zip.h b/src/fs/zip.h index 145be5c88..a54b08129 100644 --- a/src/fs/zip.h +++ b/src/fs/zip.h @@ -26,12 +26,18 @@ #include <string> #include <vector> +struct VirtFile; struct ZipLocalHeader; namespace Zip { bool readArchiveInfo(const std::string &restrict archiveName, std::vector<ZipLocalHeader*> &restrict headers); + std::string getZlibError(const int err); + void reportZlibError(const std::string &text, + const int err); + uint8_t *readCompressedFile(const ZipLocalHeader *restrict const header); + uint8_t *readFile(const ZipLocalHeader *restrict const header); } // namespace Zip #endif // UTILS_ZIP_H |