1.1 --- a/libfsserver/include/fsserver/host_file_accessor.h Thu Apr 22 00:12:16 2021 +0200
1.2 +++ b/libfsserver/include/fsserver/host_file_accessor.h Sat Apr 24 23:15:21 2021 +0200
1.3 @@ -34,7 +34,6 @@
1.4 {
1.5 protected:
1.6 offset_t _size;
1.7 - const char *_path;
1.8 FILE *_fp;
1.9
1.10 /* Data transfer helper methods. */
1.11 @@ -44,15 +43,13 @@
1.12 virtual void flush_populated(Flexpage *flexpage);
1.13
1.14 public:
1.15 - explicit HostFileAccessor(const char *path, fileid_t fileid);
1.16 + explicit HostFileAccessor(FILE *fp, fileid_t fileid);
1.17
1.18 virtual offset_t get_size();
1.19
1.20 virtual void set_size(offset_t size);
1.21
1.22 virtual void close();
1.23 -
1.24 - virtual void open();
1.25 };
1.26
1.27 // vim: tabstop=4 expandtab shiftwidth=4