Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6429 | siemargl | 1 | /** |
2 | * This file has no copyright assigned and is placed in the Public Domain. |
||
3 | * This file is part of the w64 mingw-runtime package. |
||
4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
||
5 | */ |
||
6 | |||
7 | #ifndef _WS2DEF_ |
||
8 | #define _WS2DEF_ |
||
9 | |||
10 | #include <_mingw.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_ */ |
||
39 |