diff options
Diffstat (limited to 'src/microhttpd/mhd_sockets.h')
-rw-r--r-- | src/microhttpd/mhd_sockets.h | 11 |
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, | |||
597 | int | 597 | int |
598 | MHD_socket_nonblocking_ (MHD_socket sock); | 598 | MHD_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 | */ | ||
608 | int | ||
609 | MHD_socket_noninheritable_ (MHD_socket sock); | ||
610 | |||
600 | #endif /* ! MHD_SOCKETS_H */ | 611 | #endif /* ! MHD_SOCKETS_H */ |