projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.6.36
[platform/upstream/libsolv.git]
/
src
/
policy.h
diff --git
a/src/policy.h
b/src/policy.h
index
d034f0d
..
68f4db9
100644
(file)
--- a/
src/policy.h
+++ b/
src/policy.h
@@
-19,6
+19,8
@@
extern "C" {
#define POLICY_MODE_CHOOSE 0
#define POLICY_MODE_RECOMMEND 1
#define POLICY_MODE_SUGGEST 2
#define POLICY_MODE_CHOOSE 0
#define POLICY_MODE_RECOMMEND 1
#define POLICY_MODE_SUGGEST 2
+#define POLICY_MODE_CHOOSE_NOREORDER 3 /* internal, do not use */
+#define POLICY_MODE_SUPPLEMENT 4 /* internal, do not use */
#define POLICY_ILLEGAL_DOWNGRADE 1
#define POLICY_ILLEGAL_DOWNGRADE 1
@@
-36,6
+38,12
@@
extern void policy_update_recommendsmap(Solver *solv);
extern void policy_create_obsolete_index(Solver *solv);
extern void policy_create_obsolete_index(Solver *solv);
+extern void pool_best_solvables(Pool *pool, Queue *plist, int flags);
+
+/* internal, do not use */
+extern void prune_to_best_version(Pool *pool, Queue *plist);
+extern void policy_prefer_favored(Solver *solv, Queue *plist);
+
#ifdef __cplusplus
}
#ifdef __cplusplus
}