@@ -87,13 +87,14 @@ pub use types::common::c95::{FILE, c_void, fpos_t};
87
87
pub use types:: common:: c99:: { int8_t, int16_t, int32_t, int64_t} ;
88
88
pub use types:: common:: c99:: { uint8_t, uint16_t, uint32_t, uint64_t} ;
89
89
pub use types:: common:: posix88:: { DIR , dirent_t} ;
90
+ pub use types:: os:: common:: posix01:: { timeval} ;
90
91
pub use types:: os:: common:: bsd44:: { addrinfo, in_addr, in6_addr, sockaddr_storage} ;
91
92
pub use types:: os:: common:: bsd44:: { ip_mreq, ip6_mreq, sockaddr, sockaddr_un} ;
92
93
pub use types:: os:: common:: bsd44:: { sa_family_t, sockaddr_in, sockaddr_in6, socklen_t} ;
93
94
pub use types:: os:: arch:: c95:: { c_char, c_double, c_float, c_int, c_uint} ;
94
95
pub use types:: os:: arch:: c95:: { c_long, c_short, c_uchar, c_ulong} ;
95
96
pub use types:: os:: arch:: c95:: { c_ushort, clock_t, ptrdiff_t} ;
96
- pub use types:: os:: arch:: c95:: { size_t, time_t} ;
97
+ pub use types:: os:: arch:: c95:: { size_t, time_t, suseconds_t } ;
97
98
pub use types:: os:: arch:: c99:: { c_longlong, c_ulonglong} ;
98
99
pub use types:: os:: arch:: c99:: { intptr_t, uintptr_t} ;
99
100
pub use types:: os:: arch:: posix88:: { dev_t, ino_t, mode_t} ;
@@ -113,7 +114,7 @@ pub use consts::os::posix88::{STDERR_FILENO, STDIN_FILENO, S_IXUSR};
113
114
pub use consts:: os:: posix88:: { STDOUT_FILENO , W_OK , X_OK } ;
114
115
pub use consts:: os:: bsd44:: { AF_INET , AF_INET6 , SOCK_STREAM , SOCK_DGRAM } ;
115
116
pub use consts:: os:: bsd44:: { IPPROTO_IP , IPPROTO_IPV6 , IPPROTO_TCP , TCP_NODELAY } ;
116
- pub use consts:: os:: bsd44:: { SOL_SOCKET , SO_KEEPALIVE } ;
117
+ pub use consts:: os:: bsd44:: { SOL_SOCKET , SO_KEEPALIVE , SO_ERROR } ;
117
118
pub use consts:: os:: bsd44:: { SO_REUSEADDR , SO_BROADCAST , SHUT_WR , IP_MULTICAST_LOOP } ;
118
119
pub use consts:: os:: bsd44:: { IP_ADD_MEMBERSHIP , IP_DROP_MEMBERSHIP } ;
119
120
pub use consts:: os:: bsd44:: { IPV6_ADD_MEMBERSHIP , IPV6_DROP_MEMBERSHIP } ;
@@ -170,14 +171,13 @@ pub use funcs::bsd43::{shutdown};
170
171
#[ cfg( unix) ] pub use consts:: os:: posix88:: { ECONNREFUSED , ECONNRESET , EPERM , EPIPE } ;
171
172
#[ cfg( unix) ] pub use consts:: os:: posix88:: { ENOTCONN , ECONNABORTED , EADDRNOTAVAIL , EINTR } ;
172
173
#[ cfg( unix) ] pub use consts:: os:: posix88:: { EADDRINUSE , ENOENT , EISDIR , EAGAIN , EWOULDBLOCK } ;
173
- #[ cfg( unix) ] pub use consts:: os:: posix88:: { ECANCELED , SIGINT } ;
174
+ #[ cfg( unix) ] pub use consts:: os:: posix88:: { ECANCELED , SIGINT , EINPROGRESS } ;
174
175
#[ cfg( unix) ] pub use consts:: os:: posix88:: { SIGTERM , SIGKILL , SIGPIPE , PROT_NONE } ;
175
176
#[ cfg( unix) ] pub use consts:: os:: posix01:: { SIG_IGN , WNOHANG } ;
176
177
#[ cfg( unix) ] pub use consts:: os:: bsd44:: { AF_UNIX } ;
177
178
178
- #[ cfg( unix) ] pub use types:: os:: common:: posix01:: { pthread_t, timespec, timezone, timeval } ;
179
+ #[ cfg( unix) ] pub use types:: os:: common:: posix01:: { pthread_t, timespec, timezone} ;
179
180
180
- #[ cfg( unix) ] pub use types:: os:: arch:: c95:: { suseconds_t} ;
181
181
#[ cfg( unix) ] pub use types:: os:: arch:: posix88:: { uid_t, gid_t} ;
182
182
#[ cfg( unix) ] pub use types:: os:: arch:: posix01:: { pthread_attr_t} ;
183
183
#[ cfg( unix) ] pub use types:: os:: arch:: posix01:: { stat, utimbuf} ;
@@ -195,6 +195,7 @@ pub use funcs::bsd43::{shutdown};
195
195
#[ cfg( windows) ] pub use consts:: os:: c95:: { WSAECONNREFUSED , WSAECONNRESET , WSAEACCES } ;
196
196
#[ cfg( windows) ] pub use consts:: os:: c95:: { WSAEWOULDBLOCK , WSAENOTCONN , WSAECONNABORTED } ;
197
197
#[ cfg( windows) ] pub use consts:: os:: c95:: { WSAEADDRNOTAVAIL , WSAEADDRINUSE , WSAEINTR } ;
198
+ #[ cfg( windows) ] pub use consts:: os:: c95:: { WSAEINPROGRESS } ;
198
199
#[ cfg( windows) ] pub use consts:: os:: extra:: { ERROR_INSUFFICIENT_BUFFER } ;
199
200
#[ cfg( windows) ] pub use consts:: os:: extra:: { O_BINARY , O_NOINHERIT , PAGE_NOACCESS } ;
200
201
#[ cfg( windows) ] pub use consts:: os:: extra:: { PAGE_READONLY , PAGE_READWRITE , PAGE_EXECUTE } ;
@@ -1708,6 +1709,7 @@ pub mod consts {
1708
1709
pub static SO_KEEPALIVE : c_int = 8 ;
1709
1710
pub static SO_BROADCAST : c_int = 32 ;
1710
1711
pub static SO_REUSEADDR : c_int = 4 ;
1712
+ pub static SO_ERROR : c_int = 0x1007 ;
1711
1713
1712
1714
pub static SHUT_RD : c_int = 0 ;
1713
1715
pub static SHUT_WR : c_int = 1 ;
@@ -2496,6 +2498,7 @@ pub mod consts {
2496
2498
pub static SO_KEEPALIVE : c_int = 9 ;
2497
2499
pub static SO_BROADCAST : c_int = 6 ;
2498
2500
pub static SO_REUSEADDR : c_int = 2 ;
2501
+ pub static SO_ERROR : c_int = 4 ;
2499
2502
2500
2503
pub static SHUT_RD : c_int = 0 ;
2501
2504
pub static SHUT_WR : c_int = 1 ;
@@ -2954,6 +2957,7 @@ pub mod consts {
2954
2957
pub static SO_KEEPALIVE : c_int = 0x0008 ;
2955
2958
pub static SO_BROADCAST : c_int = 0x0020 ;
2956
2959
pub static SO_REUSEADDR : c_int = 0x0004 ;
2960
+ pub static SO_ERROR : c_int = 0x1007 ;
2957
2961
2958
2962
pub static SHUT_RD : c_int = 0 ;
2959
2963
pub static SHUT_WR : c_int = 1 ;
@@ -3340,6 +3344,7 @@ pub mod consts {
3340
3344
pub static SO_KEEPALIVE : c_int = 0x0008 ;
3341
3345
pub static SO_BROADCAST : c_int = 0x0020 ;
3342
3346
pub static SO_REUSEADDR : c_int = 0x0004 ;
3347
+ pub static SO_ERROR : c_int = 0x1007 ;
3343
3348
3344
3349
pub static SHUT_RD : c_int = 0 ;
3345
3350
pub static SHUT_WR : c_int = 1 ;
0 commit comments