Explorar o código

unified LinNet

Alexander Shiryaev %!s(int64=8) %!d(string=hai) anos
pai
achega
f224f7a939
Modificáronse 1 ficheiros con 9 adicións e 9 borrados
  1. 9 9
      BlackBox/_FreeBSD_/Lin/Mod/Net.txt

+ 9 - 9
BlackBox/_FreeBSD_/Lin/Mod/Net.txt

@@ -169,15 +169,15 @@ MODULE LinNet ["libc.so.7"];
 
 		Ptraddrinfo* = POINTER [untagged] TO addrinfo;
 		addrinfo* = RECORD [untagged]
-			(* Linux, FreeBSD, OpenBSD *)
-				ai_flags*: intFlags; (* input flags *)
-				ai_family*: int; (* protocol family for socket *)
-				ai_socktype*: int; (* socket type *)
-				ai_protocol*: int; (* protocol for socket *)
-				ai_addrlen*: socklen_t; (* length of socket-address *)
-				ai_addr*: Ptrsockaddr; (* socket-address for socket *)
-				ai_canonname*: PtrSTR; (* canonical name for service location (iff req) *)
-				ai_next*: Ptraddrinfo; (* pointer to next in list *)
+			(* FreeBSD 11.0 /usr/include/netdb.h *)
+				ai_flags*: intFlags;
+				ai_family*: int;
+				ai_socktype*: int;
+				ai_protocol*: int;
+				ai_addrlen*: socklen_t;
+				ai_canonname*: PtrSTR;
+				ai_addr*: Ptrsockaddr;
+				ai_next*: Ptraddrinfo;
 		END;
 
 		timeval* = RECORD [untagged]