diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 14:36:25 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 14:36:25 +0000 |
commit | 03f4fafc27bd9f8def1df6a229a17fc2c3f0e0a0 (patch) | |
tree | ac78cb209f336e5c3cd1d145e2ed1444ba2e31c2 /src/libstore/worker-protocol.hh | |
parent | df707d05d1671677efe5935356959722c4cc3a02 (diff) | |
parent | 088dcea0e80bf2861fd9d6b808e76a1669b7122a (diff) |
Merge remote-tracking branch 'upstream/master' into misc-ca
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r-- | src/libstore/worker-protocol.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh index 8b538f6da..f76b13fb4 100644 --- a/src/libstore/worker-protocol.hh +++ b/src/libstore/worker-protocol.hh @@ -6,7 +6,7 @@ namespace nix { #define WORKER_MAGIC_1 0x6e697863 #define WORKER_MAGIC_2 0x6478696f -#define PROTOCOL_VERSION 0x116 +#define PROTOCOL_VERSION 0x117 #define GET_PROTOCOL_MAJOR(x) ((x) & 0xff00) #define GET_PROTOCOL_MINOR(x) ((x) & 0x00ff) @@ -70,6 +70,10 @@ template<class T> T readStorePaths(const Store & store, Source & from); void writeStorePaths(const Store & store, Sink & out, const StorePathSet & paths); +StorePathCAMap readStorePathCAMap(const Store & store, Source & from); + +void writeStorePathCAMap(const Store & store, Sink & out, const StorePathCAMap & paths); + void writeOutputPathMap(const Store & store, Sink & out, const OutputPathMap & paths); } |