summaryrefslogtreecommitdiff
path: root/netfs/lib/defaultMapper.h
blob: 719c7bffe237d2da95f2bbdf394b2e22154d5542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef NETFS_MAPPING_DEFAULTIMPL_H
#define NETFS_MAPPING_DEFAULTIMPL_H

#include "entCache.h"
#include <mapper.h>

namespace NetFS {
	namespace Mapping {
		class DefaultMapper : public Mapper {
		public:
			Transport mapFileSystem(int uid, int gid) override;
			FileSystem mapTransport(const std::string & un, const std::string & gn) override;

		protected:
			UserEntCache users;
			GroupEntCache groups;
		};
	}
}

#endif