1.1 --- a/libfsserver/include/fsserver/host_file_opener.h Thu Apr 22 00:12:16 2021 +0200
1.2 +++ b/libfsserver/include/fsserver/host_file_opener.h Sat Apr 24 23:15:21 2021 +0200
1.3 @@ -27,25 +27,17 @@
1.4
1.5
1.6
1.7 -/* Collection types. */
1.8 -
1.9 -typedef std::map<fileid_t, const char *> FilePaths;
1.10 -typedef std::pair<fileid_t, const char *> FilePathEntry;
1.11 -
1.12 -
1.13 -
1.14 /* Support for providing access to files. */
1.15
1.16 class HostFileOpener : public OpenerResource
1.17 {
1.18 protected:
1.19 - FilePaths _paths;
1.20
1.21 /* Configurable methods. */
1.22
1.23 virtual fileid_t get_fileid(const char *path);
1.24
1.25 - virtual Accessor *make_accessor(fileid_t fileid);
1.26 + virtual Accessor *make_accessor(const char *path, fileid_t fileid);
1.27
1.28 public:
1.29 explicit HostFileOpener(Pages *pages)