From 20e30a3dc66c5e7289991705fbe88a4672b54936 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 12 Apr 2023 08:51:22 +0300 Subject: db, index: refactor index writing --- src/apk_package.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/apk_package.h') diff --git a/src/apk_package.h b/src/apk_package.h index 10d3cf2..895811d 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -183,6 +183,7 @@ void apk_ipkg_run_script(struct apk_installed_package *ipkg, struct apk_database unsigned int type, char **argv); struct apk_package *apk_pkg_parse_index_entry(struct apk_database *db, apk_blob_t entry); +int apk_pkg_write_index_header(struct apk_package *pkg, struct apk_ostream *os); int apk_pkg_write_index_entry(struct apk_package *pkg, struct apk_ostream *os); int apk_pkg_version_compare(const struct apk_package *a, const struct apk_package *b); -- cgit v1.2.3-60-g2f50