diff options
author | Michael Schroeder <mls@suse.de> | 2013-08-21 14:34:46 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-08-21 14:34:46 +0200 |
commit | 6861611dc8a8dcce70578d4494d9fbb7352ff019 (patch) | |
tree | 964f79f29ec36a6dc6875e4e4355c1d3f11cb3f7 /src/rules.h | |
parent | eee4aa9298efb0d87f2e069ca895e0da0b718833 (diff) | |
download | libsolv-6861611dc8a8dcce70578d4494d9fbb7352ff019.tar.gz libsolv-6861611dc8a8dcce70578d4494d9fbb7352ff019.tar.bz2 libsolv-6861611dc8a8dcce70578d4494d9fbb7352ff019.zip |
make solver_describe_decision always return a rule, add solver_rule2solvable()
that way users of describe_decision have the correct rule, they can use
solver_rule2solvable to get the id of the solvable.
Diffstat (limited to 'src/rules.h')
-rw-r--r-- | src/rules.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rules.h b/src/rules.h index 9205b86..42e8285 100644 --- a/src/rules.h +++ b/src/rules.h @@ -138,6 +138,7 @@ extern SolverRuleinfo solver_ruleclass(struct _Solver *solv, Id rid); extern void solver_ruleliterals(struct _Solver *solv, Id rid, Queue *q); extern int solver_rule2jobidx(struct _Solver *solv, Id rid); extern Id solver_rule2job(struct _Solver *solv, Id rid, Id *whatp); +extern Id solver_rule2solvable(struct _Solver *solv, Id rid); #ifdef __cplusplus |