diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-09-13 13:37:42 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-09-16 09:34:35 +0200 |
commit | f757737060d4daebb24a32e90d912661428708a8 (patch) | |
tree | a6e96145d4fc540e435c13a69c924329db2edb6d /lib/tar/pax_header.c | |
parent | c1a2cb729bd5bb5fdadf00cb3968bbc541f79750 (diff) |
Remodel libtar/tar2sqfs to read data from an istream_t
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/pax_header.c')
-rw-r--r-- | lib/tar/pax_header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tar/pax_header.c b/lib/tar/pax_header.c index 448976d..a96a32f 100644 --- a/lib/tar/pax_header.c +++ b/lib/tar/pax_header.c @@ -25,7 +25,7 @@ static tar_xattr_t *mkxattr(const char *key, size_t keylen, return xattr; } -int read_pax_header(FILE *fp, sqfs_u64 entsize, unsigned int *set_by_pax, +int read_pax_header(istream_t *fp, sqfs_u64 entsize, unsigned int *set_by_pax, tar_header_decoded_t *out) { char *buffer, *line, *key, *ptr, *value, *end; |