diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-24 16:19:59 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-24 16:19:59 +0200 |
commit | 4b5801decc6940c8a4d14fa0ca54df24456977eb (patch) | |
tree | 2f3d41ec6bc3935e9e6cf71a7d69baebc9ca727e /src/solver.h | |
parent | cce3d233cc3adc31348c35a2cddcf6c7ee408b1a (diff) | |
download | libsolv-4b5801decc6940c8a4d14fa0ca54df24456977eb.tar.gz libsolv-4b5801decc6940c8a4d14fa0ca54df24456977eb.tar.bz2 libsolv-4b5801decc6940c8a4d14fa0ca54df24456977eb.zip |
move stringification functions from solverdebug to more correct places
Diffstat (limited to 'src/solver.h')
-rw-r--r-- | src/solver.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/solver.h b/src/solver.h index ae71f58..7e4be95 100644 --- a/src/solver.h +++ b/src/solver.h @@ -298,14 +298,17 @@ extern void solver_calculate_noobsmap(Pool *pool, Queue *job, Map *multiversionm extern void solver_create_state_maps(Solver *solv, Map *installedmap, Map *conflictsmap); /* XXX: why is this not static? */ -Id *solver_create_decisions_obsoletesmap(Solver *solv); +extern Id *solver_create_decisions_obsoletesmap(Solver *solv); -void solver_calc_duchanges(Solver *solv, DUChanges *mps, int nmps); -int solver_calc_installsizechange(Solver *solv); -void solver_trivial_installable(Solver *solv, Queue *pkgs, Queue *res); +extern void solver_calc_duchanges(Solver *solv, DUChanges *mps, int nmps); +extern int solver_calc_installsizechange(Solver *solv); +extern void solver_trivial_installable(Solver *solv, Queue *pkgs, Queue *res); -void pool_job2solvables(Pool *pool, Queue *pkgs, Id how, Id what); -int pool_isemptyupdatejob(Pool *pool, Id how, Id what); +extern void pool_job2solvables(Pool *pool, Queue *pkgs, Id how, Id what); +extern int pool_isemptyupdatejob(Pool *pool, Id how, Id what); + +extern const char *solver_select2str(Pool *pool, Id select, Id what); +extern const char *pool_job2str(Pool *pool, Id how, Id what, Id flagmask); /* iterate over all literals of a rule */ #define FOR_RULELITERALS(l, pp, r) \ |