aboutsummaryrefslogtreecommitdiff
path: root/system/include/net/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/net/netdb.h')
-rw-r--r--system/include/net/netdb.h9
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;
+};
+