summaryrefslogtreecommitdiff
path: root/netfs/ice/typeConverter.h
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/ice/typeConverter.h')
-rw-r--r--netfs/ice/typeConverter.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/netfs/ice/typeConverter.h b/netfs/ice/typeConverter.h
index d4b1617..b8d6fcd 100644
--- a/netfs/ice/typeConverter.h
+++ b/netfs/ice/typeConverter.h
@@ -9,16 +9,19 @@
class DLL_PUBLIC TypeConverter {
public:
- TypeConverter(const EntryResolver<uid_t> &, const EntryResolver<gid_t> &);
+ // VFS
+ struct statvfs convert(const NetFS::VFS &) const;
+ NetFS::VFS convert(const struct statvfs &) const;
+};
+
+class DLL_PUBLIC EntryTypeConverter : public TypeConverter {
+ public:
+ EntryTypeConverter(const EntryResolver<uid_t> &, const EntryResolver<gid_t> &);
// Attributes
struct stat convert(const NetFS::Attr &) const;
NetFS::Attr convert(const struct stat &) const;
- // VFS
- struct statvfs convert(const NetFS::VFS &) const;
- NetFS::VFS convert(const struct statvfs &) const;
-
protected:
const EntryResolver<uid_t> & userLookup;
const EntryResolver<gid_t> & groupLookup;