libcryfs/src/fusepp/fs_interface/Node.h

24 lines
449 B
C
Raw Normal View History

#pragma once
2014-11-15 23:47:38 +01:00
#ifndef FUSEPP_NODE_H_
#define FUSEPP_NODE_H_
#include <boost/filesystem.hpp>
#include <sys/stat.h>
namespace fusepp {
2014-11-15 23:47:38 +01:00
class Node {
public:
2014-11-15 23:47:38 +01:00
virtual ~Node() {}
virtual void stat(struct ::stat *result) const = 0;
virtual void access(int mask) const = 0;
virtual void rename(const boost::filesystem::path &to) = 0;
virtual void utimens(const timespec times[2]) = 0;
};
} /* namespace fusepp */
2014-11-15 23:47:38 +01:00
#endif /* FUSEPP_NODE_H_ */