diff options
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index bdca965b4..4f9df23b0 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -25,6 +25,13 @@ enum pathconv_arg PC_NULLEMPTY = 0x0020 }; +enum case_checking +{ + PCHECK_RELAXED = 0, + PCHECK_ADJUST = 1, + PCHECK_STRICT = 2 +}; + #define PC_NONULLEMPTY -1 #include <sys/mount.h> @@ -89,6 +96,8 @@ class path_conv DWORD fileattr; + BOOL case_clash; + void check (const char *src, unsigned opt = PC_SYM_FOLLOW, const suffix_info *suffixes = NULL) __attribute__ ((regparm(3))); @@ -171,3 +180,6 @@ struct cwdstuff }; extern cwdstuff cygcwd; + +extern int pathmatch (const char *path1, const char *path2); +extern int pathnmatch (const char *path1, const char *path2, int len); |