diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18T09·34+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18T09·34+0000 |
commit | a72709afd8ffe35613a6bacd698a36395e095a48 (patch) | |
tree | 2f549bafbed92a53bd6faea1da43667307af7593 /src/libstore/worker-protocol.hh | |
parent | 934c58aa381f5eacc86304ba7f5c6775ff456cd5 (diff) |
* Some refactoring: put the GC options / results in separate structs.
* The garbage collector now also prints the number of blocks freed.
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r-- | src/libstore/worker-protocol.hh | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh index 44db4ad9b141..d887ee59bd95 100644 --- a/src/libstore/worker-protocol.hh +++ b/src/libstore/worker-protocol.hh @@ -15,24 +15,24 @@ namespace nix { typedef enum { wopQuit = 0, - wopIsValidPath, + wopIsValidPath = 1, wopHasSubstitutes = 3, - wopQueryPathHash, - wopQueryReferences, - wopQueryReferrers, - wopAddToStore, - wopAddTextToStore, - wopBuildDerivations, - wopEnsurePath, - wopAddTempRoot, - wopAddIndirectRoot, - wopSyncWithGC, - wopFindRoots, - wopCollectGarbage, - wopExportPath, - wopImportPath, - wopQueryDeriver, - wopSetOptions, + wopQueryPathHash = 4, + wopQueryReferences = 5, + wopQueryReferrers = 6, + wopAddToStore = 7, + wopAddTextToStore = 8, + wopBuildDerivations = 9, + wopEnsurePath = 10, + wopAddTempRoot = 11, + wopAddIndirectRoot = 12, + wopSyncWithGC = 13, + wopFindRoots = 14, + wopExportPath = 16, + wopImportPath = 17, + wopQueryDeriver = 18, + wopSetOptions = 19, + wopCollectGarbage = 20, } WorkerOp; |