aboutsummaryrefslogtreecommitdiff
path: root/include/sqfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-12 19:40:41 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 13:38:25 +0200
commit2694532a5479d157903b6c600d9b1d5c145a4e4c (patch)
tree2a9088f44f51994170032c0ae76aca21e9f1c4aa /include/sqfs
parent1f506a17903f5eeaded9065e42726c1a09dc6f89 (diff)
libio: replace OSTREAM_OPEN_* flags with SQFS_FILE_OPEN_* flags
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs')
-rw-r--r--include/sqfs/io.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/sqfs/io.h b/include/sqfs/io.h
index 4cdb574..a1fb169 100644
--- a/include/sqfs/io.h
+++ b/include/sqfs/io.h
@@ -76,7 +76,14 @@ typedef enum {
*/
SQFS_FILE_OPEN_NO_CHARSET_XFRM = 0x04,
- SQFS_FILE_OPEN_ALL_FLAGS = 0x07,
+ /**
+ * @brief Do not use sparse file I/O APIs, always fill in zero bytes
+ *
+ * This flag currently has no effect on @ref sqfs_open_file.
+ */
+ SQFS_FILE_OPEN_NO_SPARSE = 0x08,
+
+ SQFS_FILE_OPEN_ALL_FLAGS = 0x0F,
} SQFS_FILE_OPEN_FLAGS;
/**