1.1 --- a/libfsserver/include/fsserver/host_file_opener.h Sat Sep 18 18:51:43 2021 +0200
1.2 +++ b/libfsserver/include/fsserver/host_file_opener.h Mon Sep 20 01:16:59 2021 +0200
1.3 @@ -54,12 +54,6 @@
1.4
1.5 virtual bool accessing_file(const char *path, flags_t flags, fileid_t fileid);
1.6
1.7 - /* Convenience methods obtaining different pager types. */
1.8 -
1.9 - virtual long get_directory(const char *path, flags_t flags, fileid_t fileid,
1.10 - offset_t *size, l4_cap_idx_t *cap,
1.11 - object_flags_t *object_flags);
1.12 -
1.13 public:
1.14 explicit HostFileOpener(FilePaging *paging)
1.15 : OpenerResource(paging)
1.16 @@ -68,11 +62,16 @@
1.17
1.18 virtual ~HostFileOpener();
1.19
1.20 - /* Configurable methods. */
1.21 + /* File opening methods. */
1.22
1.23 virtual long get_fileid(const char *path, flags_t flags, fileid_t *fileid);
1.24
1.25 - virtual long make_accessor(const char *path, flags_t flags, fileid_t fileid, Accessor **accessor);
1.26 + virtual long make_accessor(const char *path, flags_t flags, fileid_t fileid,
1.27 + Accessor **accessor);
1.28 +
1.29 + virtual long make_directory_accessor(const char *path, flags_t flags,
1.30 + fileid_t fileid,
1.31 + DirectoryAccessor **accessor);
1.32 };
1.33
1.34 // vim: tabstop=4 expandtab shiftwidth=4