summaryrefslogtreecommitdiff
path: root/src/fs/virtfile.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/virtfile.h
parent757069bdedabbd904e56d153e2e858db2a2cf2f1 (diff)
downloadmv-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/virtfile.h')
-rw-r--r--src/fs/virtfile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfile.h b/src/fs/virtfile.h
index cf7ded1a4..1cb819a6a 100644
--- a/src/fs/virtfile.h
+++ b/src/fs/virtfile.h
@@ -24,15 +24,17 @@
#include "localconsts.h"
struct VirtFilePrivate;
+struct VirtFsFuncs;
struct VirtFile final
{
- VirtFile();
+ explicit VirtFile(const VirtFsFuncs *restrict const funcs0);
A_DELETE_COPY(VirtFile)
~VirtFile();
+ const VirtFsFuncs *funcs;
VirtFilePrivate *mPrivate;
};