summaryrefslogtreecommitdiff
path: root/include/sqfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-20 21:29:17 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-20 21:29:17 +0100
commitb4c822960aaf5b4349895cc480e959b502f6855e (patch)
treee5aab5b7e23818d9cd5a6367ca751c9c0a43f50d /include/sqfs
parentcf0b7d7f165c40b8501dd3ede27d0073ef4c2f84 (diff)
Add a flag field to the id table create function
Just to be safe in case there needs to be an extension in the future. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs')
-rw-r--r--include/sqfs/id_table.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sqfs/id_table.h b/include/sqfs/id_table.h
index a280250..67990db 100644
--- a/include/sqfs/id_table.h
+++ b/include/sqfs/id_table.h
@@ -50,9 +50,11 @@ extern "C" {
*
* @memberof sqfs_id_table_t
*
+ * @param flags Currently must be set to 0 or creating the table fails.
+ *
* @return A pointer to an ID table object, NULL on allocation failure.
*/
-SQFS_API sqfs_id_table_t *sqfs_id_table_create(void);
+SQFS_API sqfs_id_table_t *sqfs_id_table_create(sqfs_u32 flags);
/**
* @brief Destroy an ID table object and free all memory used by it.