diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sqfs/io.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sqfs/io.h b/include/sqfs/io.h index 402b6de..4291e71 100644 --- a/include/sqfs/io.h +++ b/include/sqfs/io.h @@ -154,6 +154,15 @@ struct sqfs_file_t { * directly to the caller. */ int (*truncate)(sqfs_file_t *file, sqfs_u64 size); + + /** + * @brief Get the original name of the file used for opening it. + * + * @param file A pointer to the file object. + * + * @return A pointer to a string representing the file name. + */ + const char *(*get_filename)(sqfs_file_t *file); }; /** |