summaryrefslogtreecommitdiff
path: root/src/apk_archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_archive.h')
-rw-r--r--src/apk_archive.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/apk_archive.h b/src/apk_archive.h
index bb16c48..bd24733 100644
--- a/src/apk_archive.h
+++ b/src/apk_archive.h
@@ -16,6 +16,8 @@
#include "apk_blob.h"
#include "apk_io.h"
+#define APK_EXTRACTF_NO_CHOWN 0x0001
+
typedef int (*apk_archive_entry_parser)(void *ctx,
const struct apk_file_info *ae,
struct apk_istream *istream);
@@ -30,6 +32,7 @@ int apk_tar_write_padding(struct apk_ostream *, const struct apk_file_info *ae);
int apk_archive_entry_extract(int atfd, const struct apk_file_info *ae,
const char *extract_name, const char *hardlink_name,
struct apk_istream *is,
- apk_progress_cb cb, void *cb_ctx);
+ apk_progress_cb cb, void *cb_ctx,
+ unsigned int extract_flags);
#endif