1.1 --- a/libfsserver/include/fsserver/host_file_opener.h Sun Aug 01 22:48:12 2021 +0200
1.2 +++ b/libfsserver/include/fsserver/host_file_opener.h Mon Aug 02 19:39:10 2021 +0200
1.3 @@ -48,12 +48,20 @@
1.4
1.5 virtual fileid_t _get_fileid(const char *path, bool create);
1.6
1.7 + /* Convenience methods determining different object types. */
1.8 +
1.9 + virtual bool accessing_directory(const char *path, flags_t flags, fileid_t fileid);
1.10 +
1.11 + virtual bool accessing_file(const char *path, flags_t flags, fileid_t fileid);
1.12 +
1.13 public:
1.14 explicit HostFileOpener(FilePaging *paging)
1.15 : OpenerResource(paging)
1.16 {
1.17 }
1.18
1.19 + virtual ~HostFileOpener();
1.20 +
1.21 /* Configurable methods. */
1.22
1.23 virtual long get_fileid(const char *path, flags_t flags, fileid_t *fileid);