diff options
Diffstat (limited to '')
-rw-r--r-- | src/client/Client.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/Client.hxx b/src/client/Client.hxx index 006ffc98c..56cd947ff 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -39,6 +39,7 @@ class EventLoop; class Path; struct Partition; class Database; +class Storage; class Client final : private FullyBufferedSocket, TimeoutMonitor { public: @@ -173,8 +174,12 @@ public: /** * Wrapper for Instance::GetDatabase(). */ + gcc_pure const Database *GetDatabase(Error &error) const; + gcc_pure + const Storage *GetStorage() const; + private: /* virtual methods from class BufferedSocket */ virtual InputResult OnSocketInput(void *data, size_t length) override; |