summaryrefslogtreecommitdiff
path: root/src/fs/virtfsdir.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-27 18:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-27 18:16:39 +0300
commit6388446b85e1fa5deccc6d5c1683fba88ef53d99 (patch)
treedaaa6c764a34aece74de45dddc5b1e276d61774d /src/fs/virtfsdir.h
parent757069bdedabbd904e56d153e2e858db2a2cf2f1 (diff)
downloadplus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.gz
plus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.bz2
plus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.tar.xz
plus-6388446b85e1fa5deccc6d5c1683fba88ef53d99.zip
Add functions pointers into VirtFile.
From VirtFs call if possible pointer from VirtFile.
Diffstat (limited to 'src/fs/virtfsdir.h')
-rw-r--r--src/fs/virtfsdir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfsdir.h b/src/fs/virtfsdir.h
index 4fa1c20a5..d090f5366 100644
--- a/src/fs/virtfsdir.h
+++ b/src/fs/virtfsdir.h
@@ -31,6 +31,7 @@
struct VirtDirEntry;
struct VirtFile;
+struct VirtFsFuncs;
struct VirtList;
namespace VirtFsDir
@@ -44,6 +45,8 @@ namespace VirtFsDir
const SkipError skipError);
bool removeFromSearchPath(std::string oldDir);
bool removeFromSearchPathSilent(std::string oldDir);
+ void init();
+ void initFuncs(VirtFsFuncs *restrict const ptr);
void deinit();
std::vector<VirtDirEntry*> &getEntries();
bool exists(const std::string &restrict name);