aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 12:14:15 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-24 09:17:01 -0400
commit13269ba93b7453def7084b00eb4a34ad787a7c45 (patch)
tree19df8cfd983804a07a186de756d1a24035ebde7c /src/libstore/remote-store.hh
parent0a30b072779aa605b92f1961fe94218ccd183669 (diff)
Make `RemoteStore::ConnectionHandle` part of class and expose
Will need to do subclass-specific implementations in the next commit. This isn't because there will be multiple variations of the daemon protocol (whew!) but because different clients pick and choose different parts to use.
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r--src/libstore/remote-store.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index b12f5437f..68ec29e6c 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -17,7 +17,6 @@ class Pid;
struct FdSink;
struct FdSource;
template<typename T> class Pool;
-struct ConnectionHandle;
struct RemoteStoreConfig : virtual StoreConfig
{
@@ -182,6 +181,8 @@ protected:
void setOptions() override;
+ struct ConnectionHandle;
+
ConnectionHandle getConnection();
friend struct ConnectionHandle;
@@ -199,5 +200,4 @@ private:
std::shared_ptr<Store> evalStore);
};
-
}