aboutsummaryrefslogtreecommitdiff
path: root/lib/socket-util.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-05-14 14:40:06 -0700
committerBen Pfaff <blp@nicira.com>2012-07-18 10:29:21 -0700
commita0505c49dd98b393f4c47a423f325008443eb1ee (patch)
tree750b199397d1d874e60e0aecfc5ed8e7e34d98df /lib/socket-util.h
parent5ca92d1d5dc0d8dba9ed554444cd0ae00a43209f (diff)
socket-util: New function xset_nonblocking().
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/socket-util.h')
-rw-r--r--lib/socket-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/socket-util.h b/lib/socket-util.h
index 4a1df12e..e2e0d9a2 100644
--- a/lib/socket-util.h
+++ b/lib/socket-util.h
@@ -26,6 +26,8 @@
#include <netinet/ip.h>
int set_nonblocking(int fd);
+void xset_nonblocking(int fd);
+
int get_max_fds(void);
int lookup_ip(const char *host_name, struct in_addr *address);