aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-08-30 23:28:47 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-09-02 12:54:29 +0200
commit070823baa4c3c397c8a5eb0378944187e7f4903c (patch)
tree5c0260ee081c74d4fb1965063e8445f6a9156640 /src/libstore/remote-store.hh
parentc9a08540c3d64d1285928d1ce3d3d416a2547dd9 (diff)
Store: expose the protocol version used by a store
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r--src/libstore/remote-store.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index b488e34ce..16daee8b6 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -97,6 +97,8 @@ public:
void connect() override;
+ unsigned int getProtocol() override;
+
void flushBadConnections();
protected: