diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-17 20:48:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-17 20:48:59 -0700 |
commit | b5c11a1f4926369add9087d5f739bcd75e6bea46 (patch) | |
tree | c347318eec20581d60d327d188dbc977a545a433 /system/include/net/netdb.h | |
parent | 291b5d29d568cc94a598df46011b80c8f0dc8d38 (diff) |
various include/ additions
Diffstat (limited to 'system/include/net/netdb.h')
-rw-r--r-- | system/include/net/netdb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/include/net/netdb.h b/system/include/net/netdb.h index 3b6f3389..ee33be5f 100644 --- a/system/include/net/netdb.h +++ b/system/include/net/netdb.h @@ -16,3 +16,12 @@ extern void freeaddrinfo(struct addrinfo *ai); extern int getnameinfo (struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, unsigned int flags); const char *gai_strerror(int ecode); +struct hostent +{ + char *h_name; + char **h_aliases; + int h_addrtype; + int h_length; + char **h_addr_list; +}; + |