summaryrefslogtreecommitdiff
path: root/src/apk_solver.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-09-14 16:48:28 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-09-14 16:48:28 +0300
commit803f55ece50bea9f0f8120dbcfe8068f689d3703 (patch)
treec7a8fc8a878b04f2eb1e861628c172c482b1bc4c /src/apk_solver.h
parent6b1a55825a3bd229d5ea343ed47ac36f6ca91062 (diff)
downloadapk-tools-803f55ece50bea9f0f8120dbcfe8068f689d3703.tar.gz
apk-tools-803f55ece50bea9f0f8120dbcfe8068f689d3703.tar.bz2
apk-tools-803f55ece50bea9f0f8120dbcfe8068f689d3703.tar.xz
apk-tools-803f55ece50bea9f0f8120dbcfe8068f689d3703.zip
solver: make state pointers completely internal
the only bit of information needed in solver commit is the "hard" topology sorting information for trigger ordering. fixes a bug in "apk del" which uses the state pointers to do intermediate calculations between solution solving and commit.
Diffstat (limited to 'src/apk_solver.h')
-rw-r--r--src/apk_solver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/apk_solver.h b/src/apk_solver.h
index 3c14094..29961d0 100644
--- a/src/apk_solver.h
+++ b/src/apk_solver.h
@@ -25,7 +25,6 @@ struct apk_changeset {
#define APK_SOLVERF_UPGRADE 0x0001
#define APK_SOLVERF_AVAILABLE 0x0002
#define APK_SOLVERF_REINSTALL 0x0004
-#define APK_SOLVERF_KEEP_STATE 0x8000
void apk_solver_set_name_flags(struct apk_name *name,
unsigned short solver_flags);
@@ -34,7 +33,6 @@ int apk_solver_solve(struct apk_database *db,
struct apk_dependency_array *world,
struct apk_package_array **solution,
struct apk_changeset *changeset);
-void apk_solver_free(struct apk_database *db);
int apk_solver_commit_changeset(struct apk_database *db,
struct apk_changeset *changeset,
struct apk_dependency_array *world);