aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-12-10 16:57:46 -0800
committerRob Landley <rob@landley.net>2018-12-10 20:09:34 -0600
commit0e431542e98f70aeb26291c0ada7bff84851dc77 (patch)
tree455a28237307d72aa6f34000a85ba204d8762c5f /lib/lib.h
parent3c2a6d3622707d53b254b71df5b73e8a465d03b5 (diff)
downloadtoybox-0e431542e98f70aeb26291c0ada7bff84851dc77.tar.gz
nc: add IPv6 support.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 14bb7cf6..6dc2ca2b 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -301,6 +301,7 @@ void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len);
struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype,
int protocol, int flags);
int xconnect(struct addrinfo *ai_arg);
+int xbind(struct addrinfo *ai_arg);
int xpoll(struct pollfd *fds, int nfds, int timeout);
int pollinate(int in1, int in2, int out1, int out2, int timeout, int shutdown_timeout);
char *ntop(struct sockaddr *sa);