forked from lix-project/lix
0565b5f2b3
* Added new operation hasSubstitutes(), which is more efficient than querySubstitutes().size() > 0.
26 lines
451 B
C++
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 */
|