diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/qntan/Qntan.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h index d069558..c38ccc2 100644 --- a/include/qntan/Qntan.h +++ b/include/qntan/Qntan.h @@ -546,6 +546,9 @@ struct Qntan_File { #ifndef Qntan_FileSystem_mkdir # define Qntan_FileSystem_mkdir(A, B, C, D, E) (*A)->mkdir(A, B, C, D, E) #endif +#ifndef Qntan_FileSystem_mkdirs +# define Qntan_FileSystem_mkdirs(A, B, C, D, E) (*A)->mkdirs(A, B, C, D, E) +#endif #ifndef Qntan_FileSystem_unlink # define Qntan_FileSystem_unlink(A, B, C, D) (*A)->unlink(A, B, C, D) #endif @@ -585,6 +588,10 @@ struct Qntan_FileSystem { * "https://pubs.opengroup.org/onlinepubs/009696799/functions/mkdir.html" * just using an async API. */ + void (*mkdirs)( struct Qntan_FileSystem**, char const*path, uint32_t mode, + void(*onDone)(int, Qntan_Cls), Qntan_Cls ); + /* Same idea as `mkdir` but creates all missing parent dirs too. + */ // void (*rmdir)( struct Qntan_FileSystem**, const char*path, // void(*onDone)(int, Qntan_Cls), Qntan_Cls ); // /**/ |
