summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-12-03 14:52:07 +0200
committerTimo Teräs <timo.teras@iki.fi>2021-12-03 14:53:30 +0200
commit1ab81fdd4cb9b88dad35cc93521650f85837fd6e (patch)
treee446d4db5c60e1dddca717d19030880428cbc5ef /src/apk_package.h
parent4dde7e7e0fc79708119644b14b7123213d0de10d (diff)
downloadapk-tools-1ab81fdd4cb9b88dad35cc93521650f85837fd6e.tar.gz
apk-tools-1ab81fdd4cb9b88dad35cc93521650f85837fd6e.tar.bz2
apk-tools-1ab81fdd4cb9b88dad35cc93521650f85837fd6e.tar.xz
apk-tools-1ab81fdd4cb9b88dad35cc93521650f85837fd6e.zip
db: convert v3 scripts to ipkg on install
fixes #10796
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 c6aa051..1d9ca6e 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -144,6 +144,7 @@ void apk_pkg_from_adb(struct apk_database *db, struct apk_package *pkg, struct a
struct apk_installed_package *apk_pkg_install(struct apk_database *db, struct apk_package *pkg);
void apk_pkg_uninstall(struct apk_database *db, struct apk_package *pkg);
+int apk_ipkg_assign_script(struct apk_installed_package *ipkg, unsigned int type, apk_blob_t blob);
int apk_ipkg_add_script(struct apk_installed_package *ipkg,
struct apk_istream *is,
unsigned int type, unsigned int size);