diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 094c26ba..fc8ec0c6 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -2164,6 +2164,34 @@ struct MHD_Daemon | |||
2164 | * #MHD_OPTION_ARRAY are counted. | 2164 | * #MHD_OPTION_ARRAY are counted. |
2165 | */ | 2165 | */ |
2166 | size_t num_opts; | 2166 | size_t num_opts; |
2167 | |||
2168 | /* TODO: replace with a single member */ | ||
2169 | /** | ||
2170 | * The value to be returned by #MHD_get_daemon_info() | ||
2171 | */ | ||
2172 | union MHD_DaemonInfo daemon_info_dummy_listen_fd; | ||
2173 | |||
2174 | #ifdef EPOLL_SUPPORT | ||
2175 | /** | ||
2176 | * The value to be returned by #MHD_get_daemon_info() | ||
2177 | */ | ||
2178 | union MHD_DaemonInfo daemon_info_dummy_epoll_fd; | ||
2179 | #endif /* EPOLL_SUPPORT */ | ||
2180 | |||
2181 | /** | ||
2182 | * The value to be returned by #MHD_get_daemon_info() | ||
2183 | */ | ||
2184 | union MHD_DaemonInfo daemon_info_dummy_num_connections; | ||
2185 | |||
2186 | /** | ||
2187 | * The value to be returned by #MHD_get_daemon_info() | ||
2188 | */ | ||
2189 | union MHD_DaemonInfo daemon_info_dummy_flags; | ||
2190 | |||
2191 | /** | ||
2192 | * The value to be returned by #MHD_get_daemon_info() | ||
2193 | */ | ||
2194 | union MHD_DaemonInfo daemon_info_dummy_port; | ||
2167 | }; | 2195 | }; |
2168 | 2196 | ||
2169 | 2197 | ||