summaryrefslogtreecommitdiff
path: root/src/fs/zip.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-25 19:10:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-25 19:11:57 +0300
commite6198149823ee18e4167b0e6dd34cfb7f2e2f496 (patch)
tree013181d9d8e4f06433838cffaabf6159aa2f775b /src/fs/zip.h
parent0bb68a88e6dc6a04685825e80b4e3dca1dc097d2 (diff)
downloadplus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.gz
plus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.bz2
plus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.tar.xz
plus-e6198149823ee18e4167b0e6dd34cfb7f2e2f496.zip
Implement basic VirtFsZip for virtual fs based on zip archives.
Api similar to VirtFs. For now unused.
Diffstat (limited to 'src/fs/zip.h')
-rw-r--r--src/fs/zip.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fs/zip.h b/src/fs/zip.h
index a54b08129..412dbcef9 100644
--- a/src/fs/zip.h
+++ b/src/fs/zip.h
@@ -26,13 +26,12 @@
#include <string>
#include <vector>
-struct VirtFile;
+struct VirtZipEntry;
struct ZipLocalHeader;
namespace Zip
{
- bool readArchiveInfo(const std::string &restrict archiveName,
- std::vector<ZipLocalHeader*> &restrict headers);
+ bool readArchiveInfo(VirtZipEntry *const entry);
std::string getZlibError(const int err);
void reportZlibError(const std::string &text,
const int err);