File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,25 @@ pub const O_SYMLINK: ::c_int = 0x4000_0000;
439
439
pub const O_NOFOLLOW : :: c_int = -0x8000_0000 ;
440
440
441
441
// netdb.h
442
+ pub const AI_PASSIVE : :: c_int = 0x0001 ;
443
+ pub const AI_CANONNAME : :: c_int = 0x0002 ;
444
+ pub const AI_NUMERICHOST : :: c_int = 0x0004 ;
445
+ pub const AI_V4MAPPED : :: c_int = 0x0008 ;
446
+ pub const AI_ALL : :: c_int = 0x0010 ;
447
+ pub const AI_ADDRCONFIG : :: c_int = 0x0020 ;
448
+ pub const AI_NUMERICSERV : :: c_int = 0x0400 ;
449
+ pub const EAI_BADFLAGS : :: c_int = -1 ;
450
+ pub const EAI_NONAME : :: c_int = -2 ;
451
+ pub const EAI_AGAIN : :: c_int = -3 ;
452
+ pub const EAI_FAIL : :: c_int = -4 ;
453
+ pub const EAI_NODATA : :: c_int = -5 ;
454
+ pub const EAI_FAMILY : :: c_int = -6 ;
455
+ pub const EAI_SOCKTYPE : :: c_int = -7 ;
456
+ pub const EAI_SERVICE : :: c_int = -8 ;
457
+ pub const EAI_ADDRFAMILY : :: c_int = -9 ;
458
+ pub const EAI_MEMORY : :: c_int = -10 ;
442
459
pub const EAI_SYSTEM : :: c_int = -11 ;
460
+ pub const EAI_OVERFLOW : :: c_int = -12 ;
443
461
pub const NI_MAXHOST : :: c_int = 1025 ;
444
462
pub const NI_MAXSERV : :: c_int = 32 ;
445
463
pub const NI_NUMERICHOST : :: c_int = 0x0001 ;
You can’t perform that action at this time.
0 commit comments