summaryrefslogtreecommitdiff
path: root/src/rules.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-08-21 14:34:46 +0200
committerMichael Schroeder <mls@suse.de>2013-08-21 14:34:46 +0200
commit6861611dc8a8dcce70578d4494d9fbb7352ff019 (patch)
tree964f79f29ec36a6dc6875e4e4355c1d3f11cb3f7 /src/rules.h
parenteee4aa9298efb0d87f2e069ca895e0da0b718833 (diff)
downloadlibsolv-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.h1
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