diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-12 20:14:44 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 13:38:25 +0200 |
commit | e811851deba9c45f3d9b3c5b4ad5eaa7945382d5 (patch) | |
tree | 4a5084324ab2a76d3c205f34bb0871de58ac192a /include/tar | |
parent | 2694532a5479d157903b6c600d9b1d5c145a4e4c (diff) |
Mass rename istream_t/ostream_t with sqfs_ prefix
istream_t becomes sqfs_istream_t and ostream_t becomes sqfs_ostream_t
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/tar')
-rw-r--r-- | include/tar/tar.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/tar/tar.h b/include/tar/tar.h index 24ec408..60c2a3d 100644 --- a/include/tar/tar.h +++ b/include/tar/tar.h @@ -51,25 +51,26 @@ extern "C" { The counter is an incremental record counter used if additional headers need to be generated. */ -int write_tar_header(ostream_t *fp, const struct stat *sb, const char *name, +int write_tar_header(sqfs_ostream_t *fp, + const struct stat *sb, const char *name, const char *slink_target, const sqfs_xattr_t *xattr, unsigned int counter); -int write_hard_link(ostream_t *fp, const struct stat *sb, const char *name, +int write_hard_link(sqfs_ostream_t *fp, const struct stat *sb, const char *name, const char *target, unsigned int counter); /* round up to block size and skip the entire entry */ -int read_header(istream_t *fp, tar_header_decoded_t *out); +int read_header(sqfs_istream_t *fp, tar_header_decoded_t *out); void clear_header(tar_header_decoded_t *hdr); -dir_iterator_t *tar_open_stream(istream_t *stream); +dir_iterator_t *tar_open_stream(sqfs_istream_t *stream); /* Write zero bytes to an output file to padd it to the tar record size. Returns 0 on success. On failure, prints error message to stderr. */ -int padd_file(ostream_t *fp, sqfs_u64 size); +int padd_file(sqfs_ostream_t *fp, sqfs_u64 size); void free_sparse_list(sparse_map_t *sparse); |