Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / include / share.h
blob09a54ad284f502ccd6126ed5ff800c47b46f6e19
1 /*
2 * share.h
3 * This file has no copyright assigned and is placed in the Public Domain.
4 * This file is a part of the mingw-runtime package.
5 * No warranty is given; refer to the file DISCLAIMER within the package.
7 * Constants for file sharing functions.
9 */
11 #ifndef _SHARE_H_
12 #define _SHARE_H_
14 /* All the headers include this file. */
15 #include <_mingw.h>
17 #define _SH_COMPAT 0x00 /* Compatibility */
18 #define _SH_DENYRW 0x10 /* Deny read/write */
19 #define _SH_DENYWR 0x20 /* Deny write */
20 #define _SH_DENYRD 0x30 /* Deny read */
21 #define _SH_DENYNO 0x40 /* Deny nothing */
23 #ifndef _NO_OLDNAMES
25 /* Non ANSI names */
26 #define SH_DENYRW _SH_DENYRW
27 #define SH_DENYWR _SH_DENYWR
28 #define SH_DENYRD _SH_DENYRD
29 #define SH_DENYNO _SH_DENYNO
31 #endif /* Not _NO_OLDNAMES */
33 #endif /* Not _SHARE_H_ */