diff options
author | Michael Schroeder <mls@suse.de> | 2012-01-09 17:55:05 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-01-09 17:55:05 +0100 |
commit | 210205a29742d3b4ab9523ef5dd6b3dfe768f5b4 (patch) | |
tree | e3e1cbfa883c34e8f5cb535d4140cdd3e38e7107 /src/solver.h | |
parent | 4c6908cd35063f06478338d66072b6823ff1ac17 (diff) | |
download | libsolv-210205a29742d3b4ab9523ef5dd6b3dfe768f5b4.tar.gz libsolv-210205a29742d3b4ab9523ef5dd6b3dfe768f5b4.tar.bz2 libsolv-210205a29742d3b4ab9523ef5dd6b3dfe768f5b4.zip |
- add solver_get_orphaned and solver_get_recommendations interface
Diffstat (limited to 'src/solver.h')
-rw-r--r-- | src/solver.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/solver.h b/src/solver.h index 70beff7..dd1c8a7 100644 --- a/src/solver.h +++ b/src/solver.h @@ -165,9 +165,7 @@ struct _Solver { Queue problems; /* list of lists of conflicting rules, < 0 for job rules */ Queue solutions; /* refined problem storage space */ - Queue recommendations; /* recommended packages */ - Queue suggestions; /* suggested packages */ - Queue orphaned; /* orphaned packages */ + Queue orphaned; /* orphaned packages (to be removed?) */ int stats_learned; /* statistic */ int stats_unsolvable; /* statistic */ @@ -293,6 +291,10 @@ extern int solver_get_decisionlevel(Solver *solv, Id p); extern void solver_get_decisionqueue(Solver *solv, Queue *decisionq); extern int solver_get_lastdecisionblocklevel(Solver *solv); extern void solver_get_decisionblock(Solver *solv, int level, Queue *decisionq); + +extern void solver_get_orphaned(Solver *solv, Queue *orphanedq); +extern void solver_get_recommendations(Solver *solv, Queue *recommendationsq, Queue *suggestionsq, int noselected); + extern int solver_describe_decision(Solver *solv, Id p, Id *infop); extern void solver_describe_weakdep_decision(Solver *solv, Id p, Queue *whyq); |