aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_sockets.h')
-rw-r--r--src/microhttpd/mhd_sockets.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index 4d8444ca..c2817d0f 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -586,4 +586,15 @@ MHD_add_to_fd_set_ (MHD_socket fd,
586 fd_set *set, 586 fd_set *set,
587 MHD_socket *max_fd, 587 MHD_socket *max_fd,
588 unsigned int fd_setsize); 588 unsigned int fd_setsize);
589
590
591/**
592 * Change socket options to be non-blocking.
593 *
594 * @param sock socket to manipulate
595 * @return non-zero if succeeded, zero otherwise
596 */
597int
598MHD_socket_nonblocking_ (MHD_socket sock);
599
589#endif /* ! MHD_SOCKETS_H */ 600#endif /* ! MHD_SOCKETS_H */