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;
1247
1247
pub const ST_NOSUID : :: c_ulong = 2 ;
1248
1248
1249
1249
pub const NI_MAXHOST : :: socklen_t = 1025 ;
1250
+ pub const NI_MAXSERV : :: socklen_t = 32 ;
1250
1251
1251
1252
pub const EXIT_FAILURE : :: c_int = 1 ;
1252
1253
pub const EXIT_SUCCESS : :: c_int = 0 ;
@@ -1584,6 +1585,14 @@ pub const EAI_SOCKTYPE: ::c_int = 10;
1584
1585
pub const EAI_SYSTEM : :: c_int = 11 ;
1585
1586
pub const EAI_OVERFLOW : :: c_int = 12 ;
1586
1587
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
+
1587
1596
pub const F_DUPFD : :: c_int = 0 ;
1588
1597
pub const F_DUP2FD : :: c_int = 9 ;
1589
1598
pub const F_DUP2FD_CLOEXEC : :: c_int = 36 ;
You can’t perform that action at this time.
0 commit comments