diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-06-11 01:57:26 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-06-11 15:36:08 +0200 |
commit | 259a98985b4f93347923d1b2c3aaa535397aaa89 (patch) | |
tree | 0a008ffc3d59cfaeffaf0aed7e79d53dd7eef081 /include/sqfs/data_reader.h | |
parent | ec5ba7eb521626a85d2ab22e97eb1298b2ff6f55 (diff) |
Add flags to functions that might logically be expanded in the future
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/data_reader.h')
-rw-r--r-- | include/sqfs/data_reader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sqfs/data_reader.h b/include/sqfs/data_reader.h index 58022c9..c967a70 100644 --- a/include/sqfs/data_reader.h +++ b/include/sqfs/data_reader.h @@ -62,13 +62,15 @@ extern "C" { * underlying filesystem image. * @param block_size The data block size from the super block. * @param cmp A compressor to use for uncompressing blocks read from disk. + * @param flags Currently must be 0 or the function will fail. * * @return A pointer to a new data reader object. NULL means * allocation failure. */ SQFS_API sqfs_data_reader_t *sqfs_data_reader_create(sqfs_file_t *file, size_t block_size, - sqfs_compressor_t *cmp); + sqfs_compressor_t *cmp, + sqfs_u32 flags); /** * @brief Read and decode the fragment table from disk. |