about summary refs log tree commit diff
path: root/src/fstate.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-10T18·48+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-10T18·48+0000
commite5fbf5804192fa62d0edab0f6b323cc0c8d890f9 (patch)
treeecc024478f0e30692cb12560b9a8b9ae79c30bcf /src/fstate.hh
parent8511571f653fcfbb724061dac330c544b6048722 (diff)
* A command to register successor fstate expressions.
  Unifying substitutes and successors isn't very feasible for now,
  since substitutes are only used when no path with a certain is
  known.  Therefore, a normal form of some expression stored as a
  substitute would not be used unless the expression itself was
  missing.

Diffstat (limited to 'src/fstate.hh')
-rw-r--r--src/fstate.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fstate.hh b/src/fstate.hh
index 8a873a5acd..9a8955aeb9 100644
--- a/src/fstate.hh
+++ b/src/fstate.hh
@@ -93,5 +93,8 @@ ATerm termFromHash(const Hash & hash, string * p = 0);
 /* Write an aterm to the Nix store directory, and return its hash. */
 Hash writeTerm(ATerm t, const string & suffix, string * p = 0);
 
+/* Register a successor. */
+void registerSuccessor(const Hash & fsHash, const Hash & scHash);
+
 
 #endif /* !__EVAL_H */