| 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_ */ |