diff options
Diffstat (limited to 'src/libstore/store.hh')
-rw-r--r-- | src/libstore/store.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstore/store.hh b/src/libstore/store.hh index 68f7d6190..10d2890b8 100644 --- a/src/libstore/store.hh +++ b/src/libstore/store.hh @@ -66,8 +66,9 @@ bool querySuccessor(const Path & srcPath, Path & sucPath); Paths queryPredecessors(const Path & sucPath); /* Register a substitute. */ -void registerSubstitute(const Transaction & txn, - const Path & srcPath, const Substitute & sub); +typedef list<pair<Path, Substitute> > SubstitutePairs; +void registerSubstitutes(const Transaction & txn, + const SubstitutePairs & subPairs); /* Return the substitutes expression for the given path. */ Substitutes querySubstitutes(const Path & srcPath); |