summaryrefslogtreecommitdiff
path: root/lib/sqfs/data_reader.c
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 /lib/sqfs/data_reader.c
parent694e953cb8f2ce9e2da5c3d41cf056e3911ceca4 (diff)
Make raw fragment table accessible through fragment/data readers
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/data_reader.c')
-rw-r--r--lib/sqfs/data_reader.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqfs/data_reader.c b/lib/sqfs/data_reader.c
index 96ccb39..5697b3e 100644
--- a/lib/sqfs/data_reader.c
+++ b/lib/sqfs/data_reader.c
@@ -167,3 +167,8 @@ fail_frag:
stderr);
return -1;
}
+
+const frag_reader_t *data_reader_get_fragment_reader(const data_reader_t *data)
+{
+ return data->frag;
+}