summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-07-16 16:31:59 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-07-22 15:30:08 +0300
commit7af34db6cfed5792b8acd4a4fd4da56de8381673 (patch)
treecd4823b746a03f81e976a929065d5655e0f8db80 /src/print.c
parent7b58f909fac0dd309355b244af60dc7374d7ef76 (diff)
downloadapk-tools-7af34db6cfed5792b8acd4a4fd4da56de8381673.tar.gz
apk-tools-7af34db6cfed5792b8acd4a4fd4da56de8381673.tar.bz2
apk-tools-7af34db6cfed5792b8acd4a4fd4da56de8381673.tar.xz
apk-tools-7af34db6cfed5792b8acd4a4fd4da56de8381673.zip
adb: support seamless de/compression of adb files
Add compression header of adb files. Support uncompressed and deflate compression at this time.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c
index 3cab694..1662e3d 100644
--- a/src/print.c
+++ b/src/print.c
@@ -39,6 +39,7 @@ const char *apk_error_str(int error)
case APKE_SIGNATURE_FAIL: return "signing failure";
case APKE_SIGNATURE_UNTRUSTED: return "UNTRUSTED signature";
case APKE_SIGNATURE_INVALID: return "BAD signature";
+ case APKE_ADB_COMPRESSION: return "ADB compression not supported";
case APKE_ADB_HEADER: return "ADB header error";
case APKE_ADB_SCHEMA: return "ADB schema error";
case APKE_ADB_BLOCK: return "ADB block error";