1.1 --- a/libfsserver/include/fsserver/file_paging.h Fri Jul 16 00:40:22 2021 +0200
1.2 +++ b/libfsserver/include/fsserver/file_paging.h Sun Jul 18 00:47:14 2021 +0200
1.3 @@ -50,9 +50,9 @@
1.4
1.5 /* Pager initialisation methods. */
1.6
1.7 - PageMapper *get_mapper(const char *path, fileid_t fileid);
1.8 + long get_mapper(const char *path, flags_t flags, fileid_t fileid, PageMapper **mapper);
1.9
1.10 - Pager *get_pager(const char *path, fileid_t fileid, map_flags_t flags);
1.11 + long get_pager(const char *path, flags_t flags, Pager **pager);
1.12
1.13 /* Configurable methods. */
1.14
1.15 @@ -60,9 +60,9 @@
1.16
1.17 /* Configurable methods requiring implementation. */
1.18
1.19 - virtual fileid_t get_fileid(const char *path) = 0;
1.20 + virtual fileid_t get_fileid(const char *path, flags_t flags) = 0;
1.21
1.22 - virtual Accessor *make_accessor(const char *path, fileid_t fileid) = 0;
1.23 + virtual long make_accessor(const char *path, flags_t flags, fileid_t fileid, Accessor **accessor) = 0;
1.24
1.25 /* Mapper registry access. */
1.26