about summary refs log tree commit diff
path: root/src/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-10T14·46+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-10T14·46+0000
commitd3d5e77810cca11cca95bbb6f0f5e15d23f31eea (patch)
tree09693dd9f6711576a587a37a20194cd82f75a45d /src/globals.hh
parent1eb4da156cca1b1981ab1f60bb9797ed1e93101a (diff)
* Reverse mappings for the successor and substitute mappings.
Diffstat (limited to 'src/globals.hh')
-rw-r--r--src/globals.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/globals.hh b/src/globals.hh
index 0ea2fca092c3..910e47e01cdd 100644
--- a/src/globals.hh
+++ b/src/globals.hh
@@ -33,6 +33,13 @@ extern TableId dbValidPaths;
 extern TableId dbSuccessors;
 
 
+/* dbSuccessorsRev :: Path -> [Path]
+
+   The reverse mapping of dbSuccessors.
+*/
+extern TableId dbSuccessorsRev;
+
+
 /* dbSubstitutes :: Path -> [Path]
 
    Each pair $(p, [ps])$ tells Nix that it can realise any of the
@@ -47,6 +54,13 @@ extern TableId dbSuccessors;
 extern TableId dbSubstitutes;
 
 
+/* dbSubstitutesRev :: Path -> [Path]
+
+   The reverse mapping of dbSubstitutes.
+*/
+extern TableId dbSubstitutesRev;
+
+
 /* Path names. */
 
 /* nixStore is the directory where we generally store atomic and