forked from lix-project/lix
a824d58b56
* addToStore now adds unconditionally, it doesn't use readOnlyMode. Read-only operation is up to the caller (who can call computeStorePathForPath).
25 lines
427 B
C++
25 lines
427 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,
|
|
wopAddTextToStore,
|
|
wopBuildDerivations,
|
|
wopEnsurePath,
|
|
} WorkerOp;
|
|
|
|
|
|
#endif /* !__WORKER_PROTOCOL_H */
|