summaryrefslogtreecommitdiff
path: root/include/data_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/data_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/data_reader.h')
-rw-r--r--include/data_reader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/data_reader.h b/include/data_reader.h
index 7de8e1a..a4964ee 100644
--- a/include/data_reader.h
+++ b/include/data_reader.h
@@ -2,6 +2,7 @@
#ifndef DATA_READER_H
#define DATA_READER_H
+#include "frag_reader.h"
#include "squashfs.h"
#include "compress.h"
#include "fstree.h"
@@ -34,4 +35,6 @@ void data_reader_destroy(data_reader_t *data);
int data_reader_dump_file(data_reader_t *data, file_info_t *fi, int outfd,
bool allow_sparse);
+const frag_reader_t *data_reader_get_fragment_reader(const data_reader_t *data);
+
#endif /* DATA_READER_H */