From 37bf7752c31d8fda8faad0cf5f89328215305c60 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 25 Jul 2019 20:09:20 +0200 Subject: Add generic read_table function similar to write_table Signed-off-by: David Oberhollenzer --- include/highlevel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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. -- cgit v1.2.3