summaryrefslogtreecommitdiff
path: root/include/sqfs/meta_reader.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-10 10:53:09 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-10 10:53:09 +0200
commit5367faefd2490e09abed41f655c3db55d36752ad (patch)
tree1f9ed54dde8d31d72442bd1f2459156fafb071cc /include/sqfs/meta_reader.h
parentc17de5d4c2699c6c5b4759f009ce8cb6560d2f13 (diff)
Cleanup: mark arguments const where possible
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/meta_reader.h')
-rw-r--r--include/sqfs/meta_reader.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sqfs/meta_reader.h b/include/sqfs/meta_reader.h
index 989e857..c03c0f6 100644
--- a/include/sqfs/meta_reader.h
+++ b/include/sqfs/meta_reader.h
@@ -104,7 +104,7 @@ SQFS_API int sqfs_meta_reader_seek(sqfs_meta_reader_t *m, uint64_t block_start,
* @param block_start Absolute position where the current block is.
* @param offset A byte offset into the uncompressed block.
*/
-SQFS_API void sqfs_meta_reader_get_position(sqfs_meta_reader_t *m,
+SQFS_API void sqfs_meta_reader_get_position(const sqfs_meta_reader_t *m,
uint64_t *block_start,
size_t *offset);
@@ -179,7 +179,8 @@ SQFS_API int sqfs_meta_reader_read_dir_ent(sqfs_meta_reader_t *m,
* @return Zero on success, an @ref E_SQFS_ERROR value on failure.
*/
SQFS_API
-int sqfs_meta_reader_read_inode(sqfs_meta_reader_t *ir, sqfs_super_t *super,
+int sqfs_meta_reader_read_inode(sqfs_meta_reader_t *ir,
+ const sqfs_super_t *super,
uint64_t block_start, size_t offset,
sqfs_inode_generic_t **out);