From: Michael Schroeder Date: Mon, 28 Nov 2022 09:56:23 +0000 (+0100) Subject: Also commit header file X-Git-Tag: 0.7.23~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea871d83baa3465fb6bc871fb47dcc9332b8b8bd;p=thirdparty%2Flibsolv.git Also commit header file Should have been in commit 607511873490736fafca6dd9081fba5e3fce3e87 --- diff --git a/src/solver.h b/src/solver.h index 287003c0..17863430 100644 --- a/src/solver.h +++ b/src/solver.h @@ -363,7 +363,8 @@ extern void pool_add_userinstalled_jobs(Pool *pool, Queue *q, Queue *job, int fl extern void solver_get_cleandeps(Solver *solv, Queue *cleandepsq); extern int solver_describe_decision(Solver *solv, Id p, Id *infop); -extern void solver_describe_weakdep_decision(Solver *solv, Id p, Queue *whyq); +extern void solver_get_decisionlist(Solver *solv, Id p, Queue *decisionlistq); +extern void solver_get_decisionlist_multiple(Solver *solv, Queue *pq, Queue *decisionlistq); extern int solver_alternatives_count(Solver *solv); extern int solver_get_alternative(Solver *solv, Id alternative, Id *idp, Id *fromp, Id *chosenp, Queue *choices, int *levelp); @@ -382,6 +383,8 @@ extern const char *solver_select2str(Pool *pool, Id select, Id what); extern const char *pool_job2str(Pool *pool, Id how, Id what, Id flagmask); extern const char *solver_alternative2str(Solver *solv, int type, Id id, Id from); +/* deprecated, use solver_allweakdepinfos/solver_weakdepinfo instead */ +extern void solver_describe_weakdep_decision(Solver *solv, Id p, Queue *whyq); /* iterate over all literals of a rule */ #define FOR_RULELITERALS(l, pp, r) \