X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fsolver.h;h=3d63b6fe75e0c9d3c3a729d6241d1c7d56d16c13;hb=3e66491a072e55bfb150092422dcfb374b97b630;hp=c8f51fcb80ecd56ce848ad86ee5b118d6d9e6fb8;hpb=77c0a018bfb0590b708141e5266b7cb0156ca639;p=platform%2Fupstream%2Flibsolv.git diff --git a/src/solver.h b/src/solver.h index c8f51fc..3d63b6f 100644 --- a/src/solver.h +++ b/src/solver.h @@ -109,6 +109,7 @@ struct _Solver { * > 0: level of decision when installed, * < 0: level of decision when conflict */ + int decisioncnt_jobs; int decisioncnt_update; int decisioncnt_keep; int decisioncnt_resolve; @@ -159,7 +160,7 @@ struct _Solver { int keepexplicitobsoletes; /* true: honor obsoletes during multiinstall */ int bestobeypolicy; /* true: stay in policy with the best rules */ int noautotarget; /* true: do not assume targeted for up/dup jobs that contain no installed solvable */ - + int focus_installed; /* true: resolve update rules first */ Map dupmap; /* dup these packages*/ int dupmap_all; /* dup all packages */ @@ -287,6 +288,7 @@ typedef struct _Solver Solver; #define SOLVER_FLAG_DUP_ALLOW_NAMECHANGE 17 #define SOLVER_FLAG_KEEP_ORPHANS 18 #define SOLVER_FLAG_BREAK_ORPHANS 19 +#define SOLVER_FLAG_FOCUS_INSTALLED 20 #define GET_USERINSTALLED_NAMES (1 << 0) /* package names instead if ids */ #define GET_USERINSTALLED_INVERTED (1 << 1) /* autoinstalled */