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 c2817d0f..e22ff7e2 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -597,4 +597,15 @@ MHD_add_to_fd_set_ (MHD_socket fd,
597int 597int
598MHD_socket_nonblocking_ (MHD_socket sock); 598MHD_socket_nonblocking_ (MHD_socket sock);
599 599
600
601/**
602 * Change socket options to be non-inheritable.
603 *
604 * @param sock socket to manipulate
605 * @return non-zero if succeeded, zero otherwise
606 * @warning Does not set socket error on W32.
607 */
608int
609MHD_socket_noninheritable_ (MHD_socket sock);
610
600#endif /* ! MHD_SOCKETS_H */ 611#endif /* ! MHD_SOCKETS_H */