diff options
Diffstat (limited to 'lib/sqfs/frag_reader.c')
-rw-r--r-- | lib/sqfs/frag_reader.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sqfs/frag_reader.c b/lib/sqfs/frag_reader.c index 6fa160b..b8991b3 100644 --- a/lib/sqfs/frag_reader.c +++ b/lib/sqfs/frag_reader.c @@ -179,3 +179,13 @@ fail_range: fputs("attempted to read past fragment block limits\n", stderr); return -1; } + +const sqfs_fragment_t *frag_reader_get_table(const frag_reader_t *f) +{ + return f->tbl; +} + +size_t frag_reader_get_fragment_count(const frag_reader_t *f) +{ + return f->num_fragments; +} |