diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-27 18:16:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-27 18:16:39 +0300 |
commit | 6388446b85e1fa5deccc6d5c1683fba88ef53d99 (patch) | |
tree | daaa6c764a34aece74de45dddc5b1e276d61774d /src/fs/virtfszip.h | |
parent | 757069bdedabbd904e56d153e2e858db2a2cf2f1 (diff) | |
download | mv-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.gz mv-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.bz2 mv-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.xz mv-6388446b85e1fa5deccc6d5c1683fba88ef53d99.zip |
Add functions pointers into VirtFile.
From VirtFs call if possible pointer from VirtFile.
Diffstat (limited to 'src/fs/virtfszip.h')
-rw-r--r-- | src/fs/virtfszip.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfszip.h b/src/fs/virtfszip.h index 9ccd59ed5..81feb3693 100644 --- a/src/fs/virtfszip.h +++ b/src/fs/virtfszip.h @@ -31,6 +31,7 @@ struct VirtFile; struct VirtList; +struct VirtFsFuncs; struct VirtZipEntry; struct ZipLocalHeader; @@ -44,6 +45,8 @@ namespace VirtFsZip const Append append); bool removeFromSearchPath(std::string oldDir); bool removeFromSearchPathSilent(std::string oldDir); + void init(); + void initFuncs(VirtFsFuncs *restrict const ptr); void deinit(); std::vector<VirtZipEntry*> &getEntries(); bool exists(const std::string &restrict name); |