diff options
Diffstat (limited to 'netfs/lib/defaultMapper.h')
-rw-r--r-- | netfs/lib/defaultMapper.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/netfs/lib/defaultMapper.h b/netfs/lib/defaultMapper.h index 719c7bf..214f9ed 100644 --- a/netfs/lib/defaultMapper.h +++ b/netfs/lib/defaultMapper.h @@ -1,19 +1,23 @@ #ifndef NETFS_MAPPING_DEFAULTIMPL_H #define NETFS_MAPPING_DEFAULTIMPL_H -#include "entCache.h" +#include "entries.h" +#include "entryResolver.h" #include <mapper.h> namespace NetFS { namespace Mapping { class DefaultMapper : public Mapper { public: + DefaultMapper(); + DefaultMapper(EntryResolverPtr<User> users, EntryResolverPtr<Group> groups); + Transport mapFileSystem(int uid, int gid) override; FileSystem mapTransport(const std::string & un, const std::string & gn) override; protected: - UserEntCache users; - GroupEntCache groups; + EntryResolverPtr<User> users; + EntryResolverPtr<Group> groups; }; } } |