diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-01 13:50:05 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-01 15:48:42 +0200 |
commit | 23a3f10ab62abadf5adcfb9540f2180275ab5b0c (patch) | |
tree | cfe537d4359de7dd3486898dad70c40761947680 /include/meta_reader.h | |
parent | 7073f002b54c690ffa17d9f736a4417485d3c6d6 (diff) |
Add xattr reader implementation to recover xattrs from squashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/meta_reader.h')
-rw-r--r-- | include/meta_reader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/meta_reader.h b/include/meta_reader.h index 2d790d8..8369ad3 100644 --- a/include/meta_reader.h +++ b/include/meta_reader.h @@ -24,6 +24,9 @@ void meta_reader_destroy(meta_reader_t *m); int meta_reader_seek(meta_reader_t *m, uint64_t block_start, size_t offset); +void meta_reader_get_position(meta_reader_t *m, uint64_t *block_start, + size_t *offset); + /* Returns 0 on success. Internally prints to stderr on failure */ int meta_reader_read(meta_reader_t *m, void *data, size_t size); |