diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-09-14 16:48:28 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-09-14 16:48:28 +0300 |
commit | 803f55ece50bea9f0f8120dbcfe8068f689d3703 (patch) | |
tree | c7a8fc8a878b04f2eb1e861628c172c482b1bc4c /src/apk_package.h | |
parent | 6b1a55825a3bd229d5ea343ed47ac36f6ca91062 (diff) | |
download | apk-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_package.h')
-rw-r--r-- | src/apk_package.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index f752c87..b6bcffd 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -94,6 +94,7 @@ struct apk_package { size_t installed_size, size; time_t build_time; unsigned repos; + unsigned int topology_hard; struct apk_checksum csum; }; APK_ARRAY(apk_package_array, struct apk_package *); |