diff options
Diffstat (limited to 'netfs/fuse/fuseMappersImpl.h')
-rw-r--r-- | netfs/fuse/fuseMappersImpl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/netfs/fuse/fuseMappersImpl.h b/netfs/fuse/fuseMappersImpl.h index a0b1eb3..41d78b8 100644 --- a/netfs/fuse/fuseMappersImpl.h +++ b/netfs/fuse/fuseMappersImpl.h @@ -21,6 +21,20 @@ namespace NetFS { EntryResolverPtr<User> users; EntryResolverPtr<Group> groups; }; + + class DLL_PUBLIC MaskUnknownMapperImpl : public MaskUnknownMapper { + public: + MaskUnknownMapperImpl(); + MaskUnknownMapperImpl(EntryResolverPtr<User> u); + MaskUnknownMapperImpl(EntryResolverPtr<User> u, EntryResolverPtr<Group> g); + + Mapping::Transport mapFileSystem(int uid, int gid) override; + Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; + + protected: + EntryResolverPtr<User> users; + EntryResolverPtr<Group> groups; + }; } } |