diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-09-09 19:41:19 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-09-09 19:41:19 +0300 |
commit | 4bf13c3d9a58d4f1685401c3569abb40c5649ca3 (patch) | |
tree | cc25666871634eb421fc3b7c54cac18c4ba2a084 /src/apk_solver.h | |
parent | 31e4f588940354625947f283d2e70a473e78c5ac (diff) | |
download | apk-tools-4bf13c3d9a58d4f1685401c3569abb40c5649ca3.tar.gz apk-tools-4bf13c3d9a58d4f1685401c3569abb40c5649ca3.tar.bz2 apk-tools-4bf13c3d9a58d4f1685401c3569abb40c5649ca3.tar.xz apk-tools-4bf13c3d9a58d4f1685401c3569abb40c5649ca3.zip |
del: fix recursive deletion and messages (after solver merge)
Deduce the world dependencies to remove locally, and same for the
additional messages about packages not deleted.
Diffstat (limited to 'src/apk_solver.h')
-rw-r--r-- | src/apk_solver.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/apk_solver.h b/src/apk_solver.h index 5ab3147..03a2de5 100644 --- a/src/apk_solver.h +++ b/src/apk_solver.h @@ -31,7 +31,13 @@ int apk_solver_solve(struct apk_database *db, struct apk_dependency_array *world, struct apk_package_array **solution, struct apk_changeset *changeset); - +int apk_solver_commit_changeset(struct apk_database *db, + struct apk_changeset *changeset, + struct apk_dependency_array *world); +void apk_solver_print_errors(struct apk_database *db, + struct apk_package_array *solution, + struct apk_dependency_array *world, + int unsatisfiable); int apk_solver_commit(struct apk_database *db, unsigned short solver_flags, struct apk_dependency_array *world); |