diff options
author | Michael Schroeder <mls@suse.de> | 2012-03-05 14:01:21 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-03-05 14:01:21 +0100 |
commit | 7dd686ea89c05e2b32f1def76bcdc973efce3f36 (patch) | |
tree | 0838587dafc072e69b01414cbfaf448f2adf05d1 /src/problems.h | |
parent | 9f63ef78d353c21f771726fa2e24ad1622c30671 (diff) | |
download | libsolv-7dd686ea89c05e2b32f1def76bcdc973efce3f36.tar.gz libsolv-7dd686ea89c05e2b32f1def76bcdc973efce3f36.tar.bz2 libsolv-7dd686ea89c05e2b32f1def76bcdc973efce3f36.zip |
- clean up update/feature rule handling in allowuninstall case. Automatically add the CLEANDEPS flags in solutions.
We no longer make the update/featurerule weak, but use a "autouninstall" function
instead that checks if we can solve the problem by removing a package. We also
automatically add CLEANDEPS in that case if all job rules in the problem have
CLEANDEPS set.
Diffstat (limited to 'src/problems.h')
-rw-r--r-- | src/problems.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/problems.h b/src/problems.h index cd56aa2..d01f2fa 100644 --- a/src/problems.h +++ b/src/problems.h @@ -34,9 +34,10 @@ unsigned int solver_solution_count(struct _Solver *solv, Id problem); Id solver_next_solution(struct _Solver *solv, Id problem, Id solution); unsigned int solver_solutionelement_count(struct _Solver *solv, Id problem, Id solution); Id solver_solutionelement_internalid(struct _Solver *solv, Id problem, Id solution); +Id solver_solutionelement_extrajobflags(struct _Solver *solv, Id problem, Id solution); Id solver_next_solutionelement(struct _Solver *solv, Id problem, Id solution, Id element, Id *p, Id *rp); -void solver_take_solutionelement(struct _Solver *solv, Id p, Id rp, Queue *job); +void solver_take_solutionelement(struct _Solver *solv, Id p, Id rp, Id extrajobflags, Queue *job); void solver_take_solution(struct _Solver *solv, Id problem, Id solution, Queue *job); Id solver_findproblemrule(struct _Solver *solv, Id problem); |