File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1247,6 +1247,7 @@ pub const ST_RDONLY: ::c_ulong = 1;
12471247pub const ST_NOSUID : :: c_ulong = 2 ;
12481248
12491249pub const NI_MAXHOST : :: socklen_t = 1025 ;
1250+ pub const NI_MAXSERV : :: socklen_t = 32 ;
12501251
12511252pub const EXIT_FAILURE : :: c_int = 1 ;
12521253pub const EXIT_SUCCESS : :: c_int = 0 ;
@@ -1584,6 +1585,14 @@ pub const EAI_SOCKTYPE: ::c_int = 10;
15841585pub const EAI_SYSTEM : :: c_int = 11 ;
15851586pub const EAI_OVERFLOW : :: c_int = 12 ;
15861587
1588+ pub const NI_NOFQDN : :: c_uint = 0x0001 ;
1589+ pub const NI_NUMERICHOST : :: c_uint = 0x0002 ;
1590+ pub const NI_NAMEREQD : :: c_uint = 0x0004 ;
1591+ pub const NI_NUMERICSERV : :: c_uint = 0x0008 ;
1592+ pub const NI_DGRAM : :: c_uint = 0x0010 ;
1593+ pub const NI_WITHSCOPEID : :: c_uint = 0x0020 ;
1594+ pub const NI_NUMERICSCOPE : :: c_uint = 0x0040 ;
1595+
15871596pub const F_DUPFD : :: c_int = 0 ;
15881597pub const F_DUP2FD : :: c_int = 9 ;
15891598pub const F_DUP2FD_CLOEXEC : :: c_int = 36 ;
You can’t perform that action at this time.
0 commit comments