diff options
Diffstat (limited to 'src/microhttpd/mhd_sockets.h')
-rw-r--r-- | src/microhttpd/mhd_sockets.h | 10 |
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); | |||
608 | int | 608 | int |
609 | MHD_socket_noninheritable_ (MHD_socket sock); | 609 | MHD_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 | */ | ||
618 | MHD_socket | ||
619 | MHD_socket_create_listen_ (int use_ipv6); | ||
620 | |||
611 | #endif /* ! MHD_SOCKETS_H */ | 621 | #endif /* ! MHD_SOCKETS_H */ |