diff options
Diffstat (limited to 'src/apk_archive.h')
-rw-r--r-- | src/apk_archive.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/apk_archive.h b/src/apk_archive.h index a0a289a..320db5e 100644 --- a/src/apk_archive.h +++ b/src/apk_archive.h @@ -20,8 +20,11 @@ typedef int (*apk_archive_entry_parser)(void *ctx, const struct apk_file_info *ae, struct apk_istream *istream); -int apk_tar_parse(struct apk_istream *, apk_archive_entry_parser parser, void *ctx); -int apk_tar_write_entry(struct apk_ostream *, const struct apk_file_info *ae, char *data); +int apk_tar_parse(struct apk_istream *, + apk_archive_entry_parser parser, void *ctx, + int soft_checksums); +int apk_tar_write_entry(struct apk_ostream *, const struct apk_file_info *ae, + char *data); int apk_tar_write_padding(struct apk_ostream *, const struct apk_file_info *ae); int apk_archive_entry_extract(const struct apk_file_info *ae, |