summaryrefslogtreecommitdiff
path: root/include/frag_reader.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-20 02:15:30 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-20 02:15:58 +0200
commit1bb19e4e6980019d0e4ac348f99d9d2cf0074d6b (patch)
treea1970c2a579975f8d018238ae93e7b6bb349c3ee /include/frag_reader.h
parent694e953cb8f2ce9e2da5c3d41cf056e3911ceca4 (diff)
Make raw fragment table accessible through fragment/data readers
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/frag_reader.h')
-rw-r--r--include/frag_reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/frag_reader.h b/include/frag_reader.h
index 5c538e4..cf16153 100644
--- a/include/frag_reader.h
+++ b/include/frag_reader.h
@@ -33,4 +33,8 @@ void frag_reader_destroy(frag_reader_t *f);
int frag_reader_read(frag_reader_t *f, size_t index, size_t offset,
void *buffer, size_t size);
+const sqfs_fragment_t *frag_reader_get_table(const frag_reader_t *f);
+
+size_t frag_reader_get_fragment_count(const frag_reader_t *f);
+
#endif /* FRAG_READER_H */