aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/worker-protocol.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r--src/libstore/worker-protocol.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh
new file mode 100644
index 000000000..0ba0c374e
--- /dev/null
+++ b/src/libstore/worker-protocol.hh
@@ -0,0 +1,16 @@
+#ifndef __WORKER_PROTOCOL_H
+#define __WORKER_PROTOCOL_H
+
+
+#define WORKER_MAGIC_1 0x6e697864
+#define WORKER_MAGIC_2 0x6478696e
+
+
+typedef enum {
+ wopQuit = 0,
+ wopIsValidPath = 1,
+ wopQuerySubstitutes = 2,
+} WorkerOp;
+
+
+#endif /* !__WORKER_PROTOCOL_H */