mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add subsurface_access()
For our usage the method will acept UTF-8 paths, which are converted to UTF-16 on Win32. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
61dc19d2e0
commit
4096383fb5
5 changed files with 26 additions and 2 deletions
1
dive.h
1
dive.h
|
@ -653,6 +653,7 @@ extern int subsurface_rename(const char *path, const char *newpath);
|
|||
extern int subsurface_open(const char *path, int oflags, mode_t mode);
|
||||
extern FILE *subsurface_fopen(const char *path, const char *mode);
|
||||
extern void *subsurface_opendir(const char *path);
|
||||
extern int subsurface_access(const char *path, int mode);
|
||||
extern struct zip *subsurface_zip_open_readonly(const char *path, int flags, int *errorp);
|
||||
extern int subsurface_zip_close(struct zip *zip);
|
||||
extern void subsurface_console_init(bool dedicated);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue