diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-09-13 20:30:40 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-09-16 09:34:35 +0200 |
commit | 4b994ac359757098ebc09263fff9e2290a58de71 (patch) | |
tree | f88df7f3d5359c8abf2fd781b77f0962bdbb3694 /include/common.h | |
parent | 1e255d0f6c472bb3c710aea1ea8dc5d27c0fba4a (diff) |
Implement a data writer based output stream
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 0cc45c8..196f774 100644 --- a/include/common.h +++ b/include/common.h @@ -166,4 +166,9 @@ int parse_size(const char *what, size_t *out, const char *str, void print_size(sqfs_u64 size, char *buffer, bool round_to_int); +ostream_t *data_writer_ostream_create(const char *filename, + sqfs_block_processor_t *proc, + sqfs_inode_generic_t **inode, + int flags); + #endif /* COMMON_H */ |