diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 97cde58b..12e5c331 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -244,6 +244,8 @@ typedef SOCKET MHD_socket; | |||
244 | #define MHD_HTTP_FORBIDDEN 403 | 244 | #define MHD_HTTP_FORBIDDEN 403 |
245 | #define MHD_HTTP_NOT_FOUND 404 | 245 | #define MHD_HTTP_NOT_FOUND 404 |
246 | #define MHD_HTTP_METHOD_NOT_ALLOWED 405 | 246 | #define MHD_HTTP_METHOD_NOT_ALLOWED 405 |
247 | #define MHD_HTTP_NOT_ACCEPTABLE 406 | ||
248 | /** @deprecated */ | ||
247 | #define MHD_HTTP_METHOD_NOT_ACCEPTABLE 406 | 249 | #define MHD_HTTP_METHOD_NOT_ACCEPTABLE 406 |
248 | #define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 407 | 250 | #define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 407 |
249 | #define MHD_HTTP_REQUEST_TIMEOUT 408 | 251 | #define MHD_HTTP_REQUEST_TIMEOUT 408 |
@@ -1132,6 +1134,7 @@ typedef | |||
1132 | /** | 1134 | /** |
1133 | * Allow or deny a client to connect. | 1135 | * Allow or deny a client to connect. |
1134 | * | 1136 | * |
1137 | * @param cls closure | ||
1135 | * @param addr address information from the client | 1138 | * @param addr address information from the client |
1136 | * @param addrlen length of @a addr | 1139 | * @param addrlen length of @a addr |
1137 | * @return #MHD_YES if connection is allowed, #MHD_NO if not | 1140 | * @return #MHD_YES if connection is allowed, #MHD_NO if not |