diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-06-01 11:49:32 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-06-01 11:49:32 +0300 |
commit | 038b672061919296b68b83a1ccead9c31b650c6c (patch) | |
tree | 277f16e61f937139d61e36b2d7b468ddbb87f536 /src/apk_package.h | |
parent | 2165547badcc26be1a0fcb2944f11c0bfea25d8a (diff) | |
download | apk-tools-038b672061919296b68b83a1ccead9c31b650c6c.tar.gz apk-tools-038b672061919296b68b83a1ccead9c31b650c6c.tar.bz2 apk-tools-038b672061919296b68b83a1ccead9c31b650c6c.tar.xz apk-tools-038b672061919296b68b83a1ccead9c31b650c6c.zip |
state: improve error messages from dependency failures
Print more information why installation changeset calculation failed.
Fixes #187.
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index dbd469c..7901ddb 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -112,6 +112,8 @@ int apk_dep_from_blob(struct apk_dependency *dep, struct apk_database *db, apk_blob_t blob); void apk_dep_from_pkg(struct apk_dependency *dep, struct apk_database *db, struct apk_package *pkg); +void apk_blob_push_dep(apk_blob_t *to, struct apk_dependency *dep); + int apk_deps_add(struct apk_dependency_array **depends, struct apk_dependency *dep); void apk_deps_del(struct apk_dependency_array **deps, |