aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 1cca1b30..fa4715e9 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -691,7 +691,7 @@ MHD_TLS_init (struct MHD_Daemon *daemon)
691 * fit fd_set. 691 * fit fd_set.
692 * @ingroup event 692 * @ingroup event
693 */ 693 */
694enum MHD_Result 694_MHD_EXTERN enum MHD_Result
695MHD_get_fdset (struct MHD_Daemon *daemon, 695MHD_get_fdset (struct MHD_Daemon *daemon,
696 fd_set *read_fd_set, 696 fd_set *read_fd_set,
697 fd_set *write_fd_set, 697 fd_set *write_fd_set,
@@ -1099,7 +1099,7 @@ internal_get_fdset2 (struct MHD_Daemon *daemon,
1099 * fit fd_set. 1099 * fit fd_set.
1100 * @ingroup event 1100 * @ingroup event
1101 */ 1101 */
1102enum MHD_Result 1102_MHD_EXTERN enum MHD_Result
1103MHD_get_fdset2 (struct MHD_Daemon *daemon, 1103MHD_get_fdset2 (struct MHD_Daemon *daemon,
1104 fd_set *read_fd_set, 1104 fd_set *read_fd_set,
1105 fd_set *write_fd_set, 1105 fd_set *write_fd_set,
@@ -3171,7 +3171,7 @@ internal_suspend_connection_ (struct MHD_Connection *connection)
3171 * 3171 *
3172 * @sa #MHD_AccessHandlerCallback 3172 * @sa #MHD_AccessHandlerCallback
3173 */ 3173 */
3174void 3174_MHD_EXTERN void
3175MHD_suspend_connection (struct MHD_Connection *connection) 3175MHD_suspend_connection (struct MHD_Connection *connection)
3176{ 3176{
3177 struct MHD_Daemon *const daemon = connection->daemon; 3177 struct MHD_Daemon *const daemon = connection->daemon;
@@ -3214,7 +3214,7 @@ MHD_suspend_connection (struct MHD_Connection *connection)
3214 * 3214 *
3215 * @param connection the connection to resume 3215 * @param connection the connection to resume
3216 */ 3216 */
3217void 3217_MHD_EXTERN void
3218MHD_resume_connection (struct MHD_Connection *connection) 3218MHD_resume_connection (struct MHD_Connection *connection)
3219{ 3219{
3220 struct MHD_Daemon *daemon = connection->daemon; 3220 struct MHD_Daemon *daemon = connection->daemon;
@@ -3411,7 +3411,7 @@ resume_suspended_connections (struct MHD_Daemon *daemon)
3411 * set to indicate further details about the error. 3411 * set to indicate further details about the error.
3412 * @ingroup specialized 3412 * @ingroup specialized
3413 */ 3413 */
3414enum MHD_Result 3414_MHD_EXTERN enum MHD_Result
3415MHD_add_connection (struct MHD_Daemon *daemon, 3415MHD_add_connection (struct MHD_Daemon *daemon,
3416 MHD_socket client_socket, 3416 MHD_socket client_socket,
3417 const struct sockaddr *addr, 3417 const struct sockaddr *addr,
@@ -3893,7 +3893,7 @@ MHD_cleanup_connections (struct MHD_Daemon *daemon)
3893 * not used and no data processing is pending. 3893 * not used and no data processing is pending.
3894 * @ingroup event 3894 * @ingroup event
3895 */ 3895 */
3896enum MHD_Result 3896_MHD_EXTERN enum MHD_Result
3897MHD_get_timeout (struct MHD_Daemon *daemon, 3897MHD_get_timeout (struct MHD_Daemon *daemon,
3898 MHD_UNSIGNED_LONG_LONG *timeout) 3898 MHD_UNSIGNED_LONG_LONG *timeout)
3899{ 3899{
@@ -4125,7 +4125,7 @@ internal_run_from_select (struct MHD_Daemon *daemon,
4125 * @return #MHD_NO on serious errors, #MHD_YES on success 4125 * @return #MHD_NO on serious errors, #MHD_YES on success
4126 * @ingroup event 4126 * @ingroup event
4127 */ 4127 */
4128enum MHD_Result 4128_MHD_EXTERN enum MHD_Result
4129MHD_run_from_select (struct MHD_Daemon *daemon, 4129MHD_run_from_select (struct MHD_Daemon *daemon,
4130 const fd_set *read_fd_set, 4130 const fd_set *read_fd_set,
4131 const fd_set *write_fd_set, 4131 const fd_set *write_fd_set,
@@ -5205,7 +5205,7 @@ MHD_epoll (struct MHD_Daemon *daemon,
5205 * options for this call. 5205 * options for this call.
5206 * @ingroup event 5206 * @ingroup event
5207 */ 5207 */
5208enum MHD_Result 5208_MHD_EXTERN enum MHD_Result
5209MHD_run (struct MHD_Daemon *daemon) 5209MHD_run (struct MHD_Daemon *daemon)
5210{ 5210{
5211 if ( (daemon->shutdown) || 5211 if ( (daemon->shutdown) ||
@@ -5449,7 +5449,7 @@ unescape_wrapper (void *cls,
5449 * @return NULL on error, handle to daemon on success 5449 * @return NULL on error, handle to daemon on success
5450 * @ingroup event 5450 * @ingroup event
5451 */ 5451 */
5452struct MHD_Daemon * 5452_MHD_EXTERN struct MHD_Daemon *
5453MHD_start_daemon (unsigned int flags, 5453MHD_start_daemon (unsigned int flags,
5454 uint16_t port, 5454 uint16_t port,
5455 MHD_AcceptPolicyCallback apc, 5455 MHD_AcceptPolicyCallback apc,
@@ -5494,7 +5494,7 @@ MHD_start_daemon (unsigned int flags,
5494 * the daemon was already not listening anymore 5494 * the daemon was already not listening anymore
5495 * @ingroup specialized 5495 * @ingroup specialized
5496 */ 5496 */
5497MHD_socket 5497_MHD_EXTERN MHD_socket
5498MHD_quiesce_daemon (struct MHD_Daemon *daemon) 5498MHD_quiesce_daemon (struct MHD_Daemon *daemon)
5499{ 5499{
5500#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) 5500#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)
@@ -6382,7 +6382,7 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon)
6382 * @return NULL on error, handle to daemon on success 6382 * @return NULL on error, handle to daemon on success
6383 * @ingroup event 6383 * @ingroup event
6384 */ 6384 */
6385struct MHD_Daemon * 6385_MHD_EXTERN struct MHD_Daemon *
6386MHD_start_daemon_va (unsigned int flags, 6386MHD_start_daemon_va (unsigned int flags,
6387 uint16_t port, 6387 uint16_t port,
6388 MHD_AcceptPolicyCallback apc, 6388 MHD_AcceptPolicyCallback apc,
@@ -7651,7 +7651,7 @@ close_all_connections (struct MHD_Daemon *daemon)
7651 * @param daemon daemon to stop 7651 * @param daemon daemon to stop
7652 * @ingroup event 7652 * @ingroup event
7653 */ 7653 */
7654void 7654_MHD_EXTERN void
7655MHD_stop_daemon (struct MHD_Daemon *daemon) 7655MHD_stop_daemon (struct MHD_Daemon *daemon)
7656{ 7656{
7657 MHD_socket fd; 7657 MHD_socket fd;
@@ -7833,7 +7833,7 @@ MHD_stop_daemon (struct MHD_Daemon *daemon)
7833 * (or if the @a info_type is unknown) 7833 * (or if the @a info_type is unknown)
7834 * @ingroup specialized 7834 * @ingroup specialized
7835 */ 7835 */
7836const union MHD_DaemonInfo * 7836_MHD_EXTERN const union MHD_DaemonInfo *
7837MHD_get_daemon_info (struct MHD_Daemon *daemon, 7837MHD_get_daemon_info (struct MHD_Daemon *daemon,
7838 enum MHD_DaemonInfoType info_type, 7838 enum MHD_DaemonInfoType info_type,
7839 ...) 7839 ...)
@@ -7889,7 +7889,7 @@ MHD_get_daemon_info (struct MHD_Daemon *daemon,
7889 * @return static version string, e.g. "0.9.9" 7889 * @return static version string, e.g. "0.9.9"
7890 * @ingroup specialized 7890 * @ingroup specialized
7891 */ 7891 */
7892const char * 7892_MHD_EXTERN const char *
7893MHD_get_version (void) 7893MHD_get_version (void)
7894{ 7894{
7895#ifdef PACKAGE_VERSION 7895#ifdef PACKAGE_VERSION
@@ -7923,7 +7923,7 @@ MHD_get_version (void)
7923 * feature is not supported or feature is unknown. 7923 * feature is not supported or feature is unknown.
7924 * @ingroup specialized 7924 * @ingroup specialized
7925 */ 7925 */
7926enum MHD_Result 7926_MHD_EXTERN enum MHD_Result
7927MHD_is_feature_supported (enum MHD_FEATURE feature) 7927MHD_is_feature_supported (enum MHD_FEATURE feature)
7928{ 7928{
7929 switch (feature) 7929 switch (feature)