lix/src/libstore/worker-protocol.hh
Eelco Dolstra 0565b5f2b3 * More remote operations.
* Added new operation hasSubstitutes(), which is more efficient than
  querySubstitutes().size() > 0.
2006-11-30 22:43:55 +00:00

26 lines
451 B
C++

#ifndef __WORKER_PROTOCOL_H
#define __WORKER_PROTOCOL_H
#define WORKER_MAGIC_1 0x6e697864
#define WORKER_MAGIC_2 0x6478696e
typedef enum {
wopQuit,
wopIsValidPath,
wopQuerySubstitutes,
wopHasSubstitutes,
wopQueryPathHash,
wopQueryReferences,
wopQueryReferrers,
wopAddToStore,
wopAddToStoreFixed,
wopAddTextToStore,
wopBuildDerivations,
wopEnsurePath,
} WorkerOp;
#endif /* !__WORKER_PROTOCOL_H */