summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-11-13 19:36:08 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-13 11:58:59 -0800
commit4096383fb57ab33e9adc32a13f20b7a58a2c33c7 (patch)
treef6c1a20f0ea269256a0124955487b911dae6b583 /dive.h
parent61dc19d2e0bc69004b03a990993eda547f4e0093 (diff)
downloadsubsurface-4096383fb57ab33e9adc32a13f20b7a58a2c33c7.tar.gz
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>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 272edf70e..c745255a3 100644
--- a/dive.h
+++ b/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);