From 9ffad2478a04011805132750644eabcb7f0c0e92 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 30 Sep 2019 09:10:44 +0200 Subject: Add flag field to directory writer begin for future expansion Signed-off-by: David Oberhollenzer --- include/sqfs/dir_writer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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. -- cgit v1.2.3