@@ -1456,47 +1456,13 @@ pub mod types {
1456
1456
pub Data4 : [ BYTE , ..8 ] ,
1457
1457
}
1458
1458
1459
- // NOTE(pcwalton, stage0): Remove after snapshot (typeck bug
1460
- // workaround).
1461
- #[ cfg( stage0) ]
1462
- pub struct WSAPROTOCOLCHAIN {
1463
- pub ChainLen : c_int ,
1464
- pub ChainEntries : [ DWORD , ..MAX_PROTOCOL_CHAIN ] ,
1465
- }
1466
- #[ cfg( not( stage0) ) ]
1467
1459
pub struct WSAPROTOCOLCHAIN {
1468
1460
pub ChainLen : c_int ,
1469
1461
pub ChainEntries : [ DWORD , ..MAX_PROTOCOL_CHAIN as uint ] ,
1470
1462
}
1471
1463
1472
1464
pub type LPWSAPROTOCOLCHAIN = * mut WSAPROTOCOLCHAIN ;
1473
1465
1474
- // NOTE(pcwalton, stage0): Remove after snapshot (typeck bug
1475
- // workaround).
1476
- #[ cfg( stage0) ]
1477
- pub struct WSAPROTOCOL_INFO {
1478
- pub dwServiceFlags1 : DWORD ,
1479
- pub dwServiceFlags2 : DWORD ,
1480
- pub dwServiceFlags3 : DWORD ,
1481
- pub dwServiceFlags4 : DWORD ,
1482
- pub dwProviderFlags : DWORD ,
1483
- pub ProviderId : GUID ,
1484
- pub dwCatalogEntryId : DWORD ,
1485
- pub ProtocolChain : WSAPROTOCOLCHAIN ,
1486
- pub iVersion : c_int ,
1487
- pub iAddressFamily : c_int ,
1488
- pub iMaxSockAddr : c_int ,
1489
- pub iMinSockAddr : c_int ,
1490
- pub iSocketType : c_int ,
1491
- pub iProtocol : c_int ,
1492
- pub iProtocolMaxOffset : c_int ,
1493
- pub iNetworkByteOrder : c_int ,
1494
- pub iSecurityScheme : c_int ,
1495
- pub dwMessageSize : DWORD ,
1496
- pub dwProviderReserved : DWORD ,
1497
- pub szProtocol : [ u8 , ..WSAPROTOCOL_LEN +1 ] ,
1498
- }
1499
- #[ cfg( not( stage0) ) ]
1500
1466
pub struct WSAPROTOCOL_INFO {
1501
1467
pub dwServiceFlags1 : DWORD ,
1502
1468
pub dwServiceFlags2 : DWORD ,
0 commit comments