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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index e22ff7e2..0aa2aaac 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -608,4 +608,14 @@ MHD_socket_nonblocking_ (MHD_socket sock);
608int 608int
609MHD_socket_noninheritable_ (MHD_socket sock); 609MHD_socket_noninheritable_ (MHD_socket sock);
610 610
611
612/**
613 * Create a listen socket, with noninheritable flag if possible.
614 *
615 * @param use_ipv6 if set to non-zero IPv6 is used
616 * @return created socket or MHD_INVALID_SOCKET in case of errors
617 */
618MHD_socket
619MHD_socket_create_listen_ (int use_ipv6);
620
611#endif /* ! MHD_SOCKETS_H */ 621#endif /* ! MHD_SOCKETS_H */