1.1 --- a/libfsserver/lib/directories/directory_resource.cc Sun Sep 26 23:54:05 2021 +0200
1.2 +++ b/libfsserver/lib/directories/directory_resource.cc Mon Sep 27 00:12:18 2021 +0200
1.3 @@ -126,4 +126,22 @@
1.4 return IPC_MESSAGE_SENT;
1.5 }
1.6
1.7 +
1.8 +
1.9 +/* NOTE: These methods are effectively the same as the FilePager methods. */
1.10 +
1.11 +/* Subscribe to notifications. */
1.12 +
1.13 +long DirectoryResource::subscribe(l4_cap_idx_t endpoint, notify_flags_t flags)
1.14 +{
1.15 + _endpoint = _provider->subscribe(endpoint, flags);
1.16 + return L4_EOK;
1.17 +}
1.18 +
1.19 +long DirectoryResource::unsubscribe(l4_cap_idx_t endpoint)
1.20 +{
1.21 + _provider->unsubscribe(_endpoint, endpoint);
1.22 + return L4_EOK;
1.23 +}
1.24 +
1.25 // vim: tabstop=4 expandtab shiftwidth=4