summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-30 09:10:44 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-30 09:10:44 +0200
commit9ffad2478a04011805132750644eabcb7f0c0e92 (patch)
tree8b20c7f343113efdaa258eae563aa799be0177d6 /include
parent825acfdfe4628523ff2a9ea86cd91c4c280f8e86 (diff)
Add flag field to directory writer begin for future expansion
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/sqfs/dir_writer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sqfs/dir_writer.h b/include/sqfs/dir_writer.h
index 0679be3..b47628b 100644
--- a/include/sqfs/dir_writer.h
+++ b/include/sqfs/dir_writer.h
@@ -91,10 +91,11 @@ SQFS_API void sqfs_dir_writer_destroy(sqfs_dir_writer_t *writer);
* @memberof sqfs_dir_writer_t
*
* @param writer A pointer to a directory writer object.
+ * @param flags A currently unused flag field. Must be set to 0.
*
* @return Zero on success, a @ref E_SQFS_ERROR value on failure.
*/
-SQFS_API int sqfs_dir_writer_begin(sqfs_dir_writer_t *writer);
+SQFS_API int sqfs_dir_writer_begin(sqfs_dir_writer_t *writer, sqfs_u16 flags);
/**
* @brief Add add a directory entry.