-
-
Notifications
You must be signed in to change notification settings - Fork 9
unix arpa inet
IsaacShelton edited this page Nov 13, 2022
·
4 revisions
[unix/arpa/inet.adept](https://github.com/AdeptLanguage/AdeptImport/blob/2eb8b9e05864f782fc7b75b5e62346c5643b8b72/inet.h>`.
func htonl(x uint) uintfunc ntohl(x uint) uintfunc htons(x ushort) ushortfunc ntohs(x ushort) ushortfunc hton64(x ulong) ulongfunc ntoh64(x ulong) ulongforeign inet_addr(*ubyte) in_addr_tforeign inet_ntoa(in_addr) *ubyteforeign inet_ntop(int, ptr, *ubyte, socklen_t) *ubyteforeign inet_pton(int, *ubyte, ptr) int
foreign ascii2addr(int, *ubyte, ptr) intforeign addr2ascii(int, ptr, int, *ubyte) *ubyteforeign inet_aton(*ubyte, *in_addr) intforeign inet_lnaof(in_addr) in_addr_tforeign inet_makeaddr(in_addr_t, in_addr_t) in_addrforeign inet_netof(in_addr) in_addr_tforeign inet_network(*ubyte) in_addr_tforeign inet_net_ntop(int, ptr, int, *ubyte, usize) *ubyteforeign inet_net_pton(int, *ubyte, ptr, usize) intforeign inet_neta(in_addr_t, *ubyte, usize) *ubyteforeign inet_nsap_addr(*ubyte, *ubyte, int) uintforeign inet_nsap_ntoa(int, *ubyte, *ubyte) ubyte
import 'machine/endian.adept'
import 'unix/in_addr_t.adept'
import 'unix/socklen_t.adept'
import 'unix/netinet/in.adept'
#default arpa_inet_extras false