@@ -1914,6 +1914,13 @@ pub const IUTF8: ::tcflag_t = 0x00004000;
1914
1914
pub const CRTSCTS : :: tcflag_t = 0x00030000 ;
1915
1915
1916
1916
pub const NI_MAXHOST : :: socklen_t = 1025 ;
1917
+ pub const NI_MAXSERV : :: socklen_t = 32 ;
1918
+ pub const NI_NOFQDN : :: c_int = 0x00000001 ;
1919
+ pub const NI_NUMERICHOST : :: c_int = 0x00000002 ;
1920
+ pub const NI_NAMEREQD : :: c_int = 0x00000004 ;
1921
+ pub const NI_NUMERICSERV : :: c_int = 0x00000008 ;
1922
+ pub const NI_NUMERICSCOPE : :: c_int = 0x00000100 ;
1923
+ pub const NI_DGRAM : :: c_int = 0x00000010 ;
1917
1924
1918
1925
pub const Q_GETQUOTA : :: c_int = 0x300 ;
1919
1926
pub const Q_SETQUOTA : :: c_int = 0x400 ;
@@ -2147,6 +2154,19 @@ pub const PRIO_DARWIN_NONUI: ::c_int = 0x1001;
2147
2154
2148
2155
pub const SEM_FAILED : * mut sem_t = -1isize as * mut :: sem_t ;
2149
2156
2157
+ pub const AI_PASSIVE : :: c_int = 0x00000001 ;
2158
+ pub const AI_CANONNAME : :: c_int = 0x00000002 ;
2159
+ pub const AI_NUMERICHOST : :: c_int = 0x00000004 ;
2160
+ pub const AI_NUMERICSERV : :: c_int = 0x00001000 ;
2161
+ pub const AI_MASK : :: c_int = AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST |
2162
+ AI_NUMERICSERV | AI_ADDRCONFIG ;
2163
+ pub const AI_ALL : :: c_int = 0x00000100 ;
2164
+ pub const AI_V4MAPPED_CFG : :: c_int = 0x00000200 ;
2165
+ pub const AI_ADDRCONFIG : :: c_int = 0x00000400 ;
2166
+ pub const AI_V4MAPPED : :: c_int = 0x00000800 ;
2167
+ pub const AI_DEFAULT : :: c_int = AI_V4MAPPED_CFG | AI_ADDRCONFIG ;
2168
+ pub const AI_UNUSABLE : :: c_int = 0x10000000 ;
2169
+
2150
2170
pub const SIGEV_NONE : :: c_int = 0 ;
2151
2171
pub const SIGEV_SIGNAL : :: c_int = 1 ;
2152
2172
pub const SIGEV_THREAD : :: c_int = 3 ;
0 commit comments