source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ws2def.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 828 bytes
RevLine 
[1166]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
17typedef 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
28typedef 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_ */
Note: See TracBrowser for help on using the repository browser.