summaryrefslogtreecommitdiff
path: root/netfs/lib/defaultMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/lib/defaultMapper.h')
-rw-r--r--netfs/lib/defaultMapper.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/netfs/lib/defaultMapper.h b/netfs/lib/defaultMapper.h
new file mode 100644
index 0000000..9f063a8
--- /dev/null
+++ b/netfs/lib/defaultMapper.h
@@ -0,0 +1,21 @@
+#ifndef NETFS_MAPPING_DEFAULTIMPL_H
+#define NETFS_MAPPING_DEFAULTIMPL_H
+
+#include "baseMapper.h"
+#include "entries.h"
+#include "entryResolver.h"
+#include <mapper.h>
+
+namespace NetFS {
+ namespace Mapping {
+ class DefaultMapper : public Mapper, BaseMapper {
+ public:
+ using BaseMapper::BaseMapper;
+
+ Transport mapFileSystem(int uid, int gid) override;
+ FileSystem mapTransport(const std::string & un, const std::string & gn) override;
+ };
+ }
+}
+
+#endif