about summary refs log tree commit diff
path: root/src/libstore/worker-protocol.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-28T16·49+0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-28T16·49+0200
commitfe34b91289793178323b4924ee63c9e3ed636d11 (patch)
treedd4e89274d5c58d50bc628461bc52f7a036bf6b7 /src/libstore/worker-protocol.hh
parente681b1f064f88b46cd75d374937bd07e5d6e95d1 (diff)
Tunnel progress messages from the daemon to the client
This makes the progress bar work for non-root users.
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r--src/libstore/worker-protocol.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh
index 6c6766b36124..9daeb46add1a 100644
--- a/src/libstore/worker-protocol.hh
+++ b/src/libstore/worker-protocol.hh
@@ -57,6 +57,9 @@ typedef enum {
 #define STDERR_WRITE 0x64617416 // data for sink
 #define STDERR_LAST  0x616c7473
 #define STDERR_ERROR 0x63787470
+#define STDERR_START_ACTIVITY 0x53545254
+#define STDERR_STOP_ACTIVITY  0x53544f50
+#define STDERR_RESULT         0x52534c54
 
 
 Path readStorePath(Store & store, Source & from);