diff options
Diffstat (limited to 'netfs/daemon/daemonVolume.h')
-rw-r--r-- | netfs/daemon/daemonVolume.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/netfs/daemon/daemonVolume.h b/netfs/daemon/daemonVolume.h index d4b5221..18441f1 100644 --- a/netfs/daemon/daemonVolume.h +++ b/netfs/daemon/daemonVolume.h @@ -4,10 +4,11 @@ #include <volume.h> #include <boost/thread/shared_mutex.hpp> #include <boost/filesystem/path.hpp> +#include <entCache.h> class VolumeServer : public NetFS::Volume { public: - VolumeServer(const boost::filesystem::path & root); + VolumeServer(const boost::filesystem::path & root, const EntCache<User> &, const EntCache<Group> &); virtual ~VolumeServer(); virtual NetFS::DirectoryPrx opendir(const NetFS::ReqEnv &, const std::string & path, const Ice::Current&) override; @@ -44,6 +45,9 @@ class VolumeServer : public NetFS::Volume { private: const boost::filesystem::path root; mutable boost::shared_mutex lock; + + const EntCache<User> & userLookup; + const EntCache<Group> & groupLookup; }; #endif |