diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:57:51 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:57:51 +0900 |
commit | bc8d0a48b41d6cc4d79f1c062dda7ed230841644 (patch) | |
tree | e12a8d822c2abccdbdcb194e5953d498652c84ba /src/solver.h | |
parent | a52345de1f81f92a1bd69365def64a91cfd782ff (diff) | |
download | libsolv-bc8d0a48b41d6cc4d79f1c062dda7ed230841644.tar.gz libsolv-bc8d0a48b41d6cc4d79f1c062dda7ed230841644.tar.bz2 libsolv-bc8d0a48b41d6cc4d79f1c062dda7ed230841644.zip |
Imported Upstream version 0.6.21upstream/0.6.21
Change-Id: Ie4bb940b0be2c8a3064162f4e8c40b241f2b1838
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'src/solver.h')
-rw-r--r-- | src/solver.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/solver.h b/src/solver.h index 2ae9c8d..3495fd8 100644 --- a/src/solver.h +++ b/src/solver.h @@ -167,6 +167,7 @@ struct _Solver { int noautotarget; /* true: do not assume targeted for up/dup jobs that contain no installed solvable */ int focus_installed; /* true: resolve update rules first */ int do_yum_obsoletes; /* true: add special yumobs rules */ + int urpmreorder; /* true: do special urpm package reordering */ Map dupmap; /* dup these packages*/ int dupmap_all; /* dup all packages */ @@ -199,6 +200,9 @@ struct _Solver { Map allowuninstallmap; /* ok to uninstall those */ int allowuninstall_all; + Queue *favorq; + Map favormap; /* favored / disfavored packages */ + Map isdisfavormap; #endif /* LIBSOLV_INTERNAL */ }; @@ -229,6 +233,8 @@ typedef struct _Solver Solver; #define SOLVER_DROP_ORPHANED 0x0900 #define SOLVER_USERINSTALLED 0x0a00 #define SOLVER_ALLOWUNINSTALL 0x0b00 +#define SOLVER_FAVOR 0x0c00 +#define SOLVER_DISFAVOR 0x0d00 #define SOLVER_JOBMASK 0xff00 @@ -302,6 +308,7 @@ typedef struct _Solver Solver; #define SOLVER_FLAG_FOCUS_INSTALLED 20 #define SOLVER_FLAG_YUM_OBSOLETES 21 #define SOLVER_FLAG_NEED_UPDATEPROVIDE 22 +#define SOLVER_FLAG_URPM_REORDER 23 #define GET_USERINSTALLED_NAMES (1 << 0) /* package names instead of ids */ #define GET_USERINSTALLED_INVERTED (1 << 1) /* autoinstalled */ |