xtreemfs/cpp/include/fuse/cached_directory_entries.h
2020-09-22 02:25:22 +02:00

32 lines
603 B
C++

/*
* Copyright (c) 2011 by Michael Berlin, Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
#ifndef CPP_INCLUDE_FUSE_CACHED_DIRECTORY_ENTRIES_H_
#define CPP_INCLUDE_FUSE_CACHED_DIRECTORY_ENTRIES_H_
#include <stdint.h>
#include <boost/thread/mutex.hpp>
namespace xtreemfs {
namespace pbrpc {
class DirectoryEntries;
} // namespace pbrpc
struct CachedDirectoryEntries {
uint64_t offset;
xtreemfs::pbrpc::DirectoryEntries* dir_entries;
boost::mutex mutex;
};
} // namespace xtreemfs
#endif // CPP_INCLUDE_FUSE_CACHED_DIRECTORY_ENTRIES_H_