ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ws2def.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 828 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6 #ifndef _WS2DEF_
7 #define _WS2DEF_
8
9 #include <_mingw.h>
10 #include <winapifamily.h>
11
12 /* FIXME FIXME FIXME FIXME FIXME: Much more data need moving here.
13 * This holds only SCOPE_LEVEL and SCOPE_ID so that compilations
14 * do not fail.
15 */
16
17 typedef enum _SCOPE_LEVEL {
18 ScopeLevelInterface = 1,
19 ScopeLevelLink = 2,
20 ScopeLevelSubnet = 3,
21 ScopeLevelAdmin = 4,
22 ScopeLevelSite = 5,
23 ScopeLevelOrganization = 8,
24 ScopeLevelGlobal = 14,
25 ScopeLevelCount = 16
26 } SCOPE_LEVEL;
27
28 typedef struct _SCOPE_ID {
29 __C89_NAMELESS union {
30 __C89_NAMELESS struct {
31 ULONG Zone : 28;
32 ULONG Level : 4;
33 };
34 ULONG Value;
35 };
36 } SCOPE_ID, *PSCOPE_ID;
37
38 #endif /* _WS2DEF_ */