summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2023-04-12 08:51:22 +0300
committerTimo Teräs <timo.teras@iki.fi>2023-04-12 10:09:33 +0300
commit20e30a3dc66c5e7289991705fbe88a4672b54936 (patch)
treed9b1df543b82df6d173f2df70b4d5b7536908943 /src/apk_package.h
parent0c4fc6519a78b307f4a113f8da36cf21368df882 (diff)
downloadapk-tools-20e30a3dc66c5e7289991705fbe88a4672b54936.tar.gz
apk-tools-20e30a3dc66c5e7289991705fbe88a4672b54936.tar.bz2
apk-tools-20e30a3dc66c5e7289991705fbe88a4672b54936.tar.xz
apk-tools-20e30a3dc66c5e7289991705fbe88a4672b54936.zip
db, index: refactor index writing
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h1
1 files changed, 1 insertions, 0 deletions
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);