about summary refs log tree commit diff
path: root/src/libstore/worker-protocol.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-11-30T20·13+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-11-30T20·13+0000
commita711689368fe0915a2f18ea61fe6e953647d0174 (patch)
treed108cd2c072d1cf20efff5c18bd1a59b74664aa5 /src/libstore/worker-protocol.hh
parent765bdfe542d3250329dea98b69db2271419f31b6 (diff)
* First remote operation: isValidPath().
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 000000000000..0ba0c374ec92
--- /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 */