aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_itc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_itc.h')
-rw-r--r--src/microhttpd/mhd_itc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_itc.h b/src/microhttpd/mhd_itc.h
index 169bbb03..c7fd3f0d 100644
--- a/src/microhttpd/mhd_itc.h
+++ b/src/microhttpd/mhd_itc.h
@@ -114,5 +114,17 @@
114int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]); 114int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]);
115#endif /* _WIN32 && ! __CYGWIN__ */ 115#endif /* _WIN32 && ! __CYGWIN__ */
116 116
117#ifndef MHD_DONT_USE_PIPES
118/**
119 * Change itc FD options to be non-blocking.
120 *
121 * @param fd the FD to manipulate
122 * @return non-zero if succeeded, zero otherwise
123 */
124 int
125 MHD_itc_nonblocking_ (MHD_pipe fd);
126#else
127# define MHD_itc_nonblocking_(f) MHD_socket_nonblocking_((f))
128#endif
117 129
118#endif /* MHD_ITC_H */ 130#endif /* MHD_ITC_H */