diff options
Diffstat (limited to 'netfs/fuse/fuseMappersImpl.h')
-rw-r--r-- | netfs/fuse/fuseMappersImpl.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/netfs/fuse/fuseMappersImpl.h b/netfs/fuse/fuseMappersImpl.h new file mode 100644 index 0000000..fd9e2aa --- /dev/null +++ b/netfs/fuse/fuseMappersImpl.h @@ -0,0 +1,33 @@ +#ifndef NETFS_MAPPING_CLIENTIMPL_H +#define NETFS_MAPPING_CLIENTIMPL_H + +#include "baseMapper.h" +#include "entries.h" +#include "entryResolver.h" +#include <fuseMappers.h> +#include <visibility.h> + +namespace NetFS { + namespace Client { + std::string to_octal(const Ice::Int &); + Ice::Int from_octal(const std::string &); + + class DLL_PUBLIC HideUnknownMapperImpl : public HideUnknownMapper, Mapping::BaseMapper { + public: + using BaseMapper::BaseMapper; + + Mapping::Transport mapFileSystem(int uid, int gid) override; + Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; + }; + + class DLL_PUBLIC MaskUnknownMapperImpl : public MaskUnknownMapper, Mapping::BaseMapper { + public: + using BaseMapper::BaseMapper; + + Mapping::Transport mapFileSystem(int uid, int gid) override; + Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; + }; + } +} + +#endif |