diff options
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r-- | src/libstore/worker-protocol.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh index ff47fdd67c1a..bb5d9d7b3481 100644 --- a/src/libstore/worker-protocol.hh +++ b/src/libstore/worker-protocol.hh @@ -2,6 +2,9 @@ #define __WORKER_PROTOCOL_H +namespace nix { + + #define WORKER_MAGIC_1 0x6e697864 #define WORKER_MAGIC_2 0x6478696e @@ -21,6 +24,7 @@ typedef enum { wopAddTempRoot, wopAddIndirectRoot, wopSyncWithGC, + wopFindRoots, } WorkerOp; @@ -34,4 +38,11 @@ typedef enum { #define DEFAULT_SOCKET_PATH "/daemon.socket" +Path readStorePath(Source & from); +PathSet readStorePaths(Source & from); + + +} + + #endif /* !__WORKER_PROTOCOL_H */ |