forked from lix-project/lix
e25fad691a
syncWithGC() to allow clients to register GC roots without needing write access to the global roots directory or the GC lock.
27 lines
465 B
C++
27 lines
465 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,
|
|
wopAddTempRoot,
|
|
wopSyncWithGC
|
|
} WorkerOp;
|
|
|
|
|
|
#endif /* !__WORKER_PROTOCOL_H */
|