From 803f55ece50bea9f0f8120dbcfe8068f689d3703 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 14 Sep 2011 16:48:28 +0300 Subject: 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. --- src/apk_solver.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/apk_solver.h') 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); -- cgit v1.2.3-60-g2f50