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.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index 13b90d2e..4d8444ca 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -569,4 +569,21 @@
569# define MHD_socket_set_error_to_ENOMEM() MHD_socket_set_error_(MHD_SCKT_ENOMEM_) 569# define MHD_socket_set_error_to_ENOMEM() MHD_socket_set_error_(MHD_SCKT_ENOMEM_)
570#endif 570#endif
571 571
572/* Socket functions */
573
574/**
575 * Add @a fd to the @a set. If @a fd is
576 * greater than @a max_fd, set @a max_fd to @a fd.
577 *
578 * @param fd file descriptor to add to the @a set
579 * @param set set to modify
580 * @param max_fd maximum value to potentially update
581 * @param fd_setsize value of FD_SETSIZE
582 * @return non-zero if succeeded, zero otherwise
583 */
584int
585MHD_add_to_fd_set_ (MHD_socket fd,
586 fd_set *set,
587 MHD_socket *max_fd,
588 unsigned int fd_setsize);
572#endif /* ! MHD_SOCKETS_H */ 589#endif /* ! MHD_SOCKETS_H */