summaryrefslogtreecommitdiff
path: root/src/apk_io.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-07-23 13:51:12 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-07-23 13:51:12 +0300
commita0e9c909f74293354935c5d5c530812b5d705822 (patch)
treec5f536c75129fcf17adf1cbe0d46e3ca9daf74fe /src/apk_io.h
parent6c41c6f32eda9a58de6ba36b9cc715aaf090181c (diff)
downloadapk-tools-a0e9c909f74293354935c5d5c530812b5d705822.tar.gz
apk-tools-a0e9c909f74293354935c5d5c530812b5d705822.tar.bz2
apk-tools-a0e9c909f74293354935c5d5c530812b5d705822.tar.xz
apk-tools-a0e9c909f74293354935c5d5c530812b5d705822.zip
extract: rework uvol name logic
Add uvol_name to struct apk_file_info so it can be passed down the extract callbacks in future work. Modify uvol name to not include the path, but just the filename portion.
Diffstat (limited to 'src/apk_io.h')
-rw-r--r--src/apk_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_io.h b/src/apk_io.h
index 50464a9..3ad0790 100644
--- a/src/apk_io.h
+++ b/src/apk_io.h
@@ -44,6 +44,7 @@ struct apk_file_meta {
struct apk_file_info {
const char *name;
const char *link_target;
+ const char *uvol_name;
const char *uname;
const char *gname;
off_t size;