diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-04-16 17:05:27 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-04-16 17:05:27 +0300 |
commit | ec5b63c5e4d719e07c48b0de0dc0b9f3b25d2cf8 (patch) | |
tree | 12885a6778a0a746fc0ff62b0be4b75f368cebc9 /src/apk_package.h | |
parent | 968dfbb8b376de2dc6f2441dc3966d1416ad0046 (diff) | |
download | apk-tools-ec5b63c5e4d719e07c48b0de0dc0b9f3b25d2cf8.tar.gz apk-tools-ec5b63c5e4d719e07c48b0de0dc0b9f3b25d2cf8.tar.bz2 apk-tools-ec5b63c5e4d719e07c48b0de0dc0b9f3b25d2cf8.tar.xz apk-tools-ec5b63c5e4d719e07c48b0de0dc0b9f3b25d2cf8.zip |
pkg: clean up writing of dependencies
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index a848315..1e815d3 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -75,8 +75,6 @@ void apk_deps_del(struct apk_dependency_array **deps, void apk_deps_parse(struct apk_database *db, struct apk_dependency_array **depends, apk_blob_t blob); -int apk_deps_format(char *buf, int size, - struct apk_dependency_array *depends); int apk_deps_write(struct apk_dependency_array *deps, struct apk_ostream *os); int apk_script_type(const char *name); @@ -94,6 +92,6 @@ int apk_pkg_run_script(struct apk_package *pkg, int root_fd, unsigned int type); struct apk_package *apk_pkg_parse_index_entry(struct apk_database *db, apk_blob_t entry); -apk_blob_t apk_pkg_format_index_entry(struct apk_package *pkg, int size, char *buf); +int apk_pkg_write_index_entry(struct apk_package *pkg, struct apk_ostream *os); #endif |