From 259a98985b4f93347923d1b2c3aaa535397aaa89 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 11 Jun 2020 01:57:26 +0200 Subject: Add flags to functions that might logically be expanded in the future Signed-off-by: David Oberhollenzer --- include/sqfs/xattr_writer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/sqfs/xattr_writer.h') diff --git a/include/sqfs/xattr_writer.h b/include/sqfs/xattr_writer.h index 4b93118..8820e51 100644 --- a/include/sqfs/xattr_writer.h +++ b/include/sqfs/xattr_writer.h @@ -61,9 +61,11 @@ extern "C" { * * @memberof sqfs_xattr_writer_t * + * @param flags Currently must be zero or the function fails. + * * @return A pointer to a new xattr writer, NULL on allocation failure. */ -SQFS_API sqfs_xattr_writer_t *sqfs_xattr_writer_create(void); +SQFS_API sqfs_xattr_writer_t *sqfs_xattr_writer_create(sqfs_u32 flags); /** * @brief Begin recording a block of key-value pairs. @@ -74,10 +76,11 @@ SQFS_API sqfs_xattr_writer_t *sqfs_xattr_writer_create(void); * @ref sqfs_xattr_writer_end when you are done. * * @param xwr A pointer to an xattr writer instance. + * @param flags Currently must be zero, or the function will fail. * * @return Zero on success, a negative @ref SQFS_ERROR value on failure. */ -SQFS_API int sqfs_xattr_writer_begin(sqfs_xattr_writer_t *xwr); +SQFS_API int sqfs_xattr_writer_begin(sqfs_xattr_writer_t *xwr, sqfs_u32 flags); /** * @brief Add a key-value pair to the current block. -- cgit v1.2.3