diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-25 20:09:20 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-25 20:13:11 +0200 |
commit | 37bf7752c31d8fda8faad0cf5f89328215305c60 (patch) | |
tree | 2d005da012ae20c62f93b47b713c42aaa46fe589 /include/highlevel.h | |
parent | f49fe3bbf0d52e2afcc1ace8c1f48dee9349d4f8 (diff) |
Add generic read_table function similar to write_table
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/highlevel.h')
-rw-r--r-- | include/highlevel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/highlevel.h b/include/highlevel.h index 16db1cf..cef6190 100644 --- a/include/highlevel.h +++ b/include/highlevel.h @@ -34,6 +34,9 @@ enum RDTREE_FLAGS { int sqfs_write_table(int outfd, sqfs_super_t *super, compressor_t *cmp, const void *data, size_t table_size, uint64_t *start); +void *sqfs_read_table(int fd, compressor_t *cmp, size_t table_size, + uint64_t location); + /* High level helper function to serialize an entire file system tree to a squashfs inode table and directory table. |