summaryrefslogtreecommitdiff
path: root/src/solver.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:54:40 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:54:40 +0900
commit70c6207bfdb27f170377015f65f22e8ba50f6a10 (patch)
treec7de4059dfc4518bbbf5c3b8a5925f441487b743 /src/solver.h
parent9d82811ac90c5db61fca60e3e7c95ba58bc66393 (diff)
downloadlibsolv-70c6207bfdb27f170377015f65f22e8ba50f6a10.tar.gz
libsolv-70c6207bfdb27f170377015f65f22e8ba50f6a10.tar.bz2
libsolv-70c6207bfdb27f170377015f65f22e8ba50f6a10.zip
Imported Upstream version 0.6.13upstream/0.6.13
Change-Id: I9fed388d0b8658275d9089b22473596379566069 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'src/solver.h')
-rw-r--r--src/solver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/solver.h b/src/solver.h
index 1a47ae0..2ae9c8d 100644
--- a/src/solver.h
+++ b/src/solver.h
@@ -195,6 +195,10 @@ struct _Solver {
int keep_orphans; /* how to treat orphans */
int break_orphans; /* how to treat orphans */
Queue *brokenorphanrules; /* broken rules of orphaned packages */
+
+ Map allowuninstallmap; /* ok to uninstall those */
+ int allowuninstall_all;
+
#endif /* LIBSOLV_INTERNAL */
};
@@ -223,7 +227,8 @@ typedef struct _Solver Solver;
#define SOLVER_DISTUPGRADE 0x0700
#define SOLVER_VERIFY 0x0800
#define SOLVER_DROP_ORPHANED 0x0900
-#define SOLVER_USERINSTALLED 0x0a00
+#define SOLVER_USERINSTALLED 0x0a00
+#define SOLVER_ALLOWUNINSTALL 0x0b00
#define SOLVER_JOBMASK 0xff00