microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND value

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-05-06 22:02:30 +03:00
parent b99c290230
commit 8a88bc9335
2 changed files with 5 additions and 4 deletions
-3
View File
@@ -1047,9 +1047,6 @@ The @code{MHD_ValueKind} specifies the source of the key-value pairs in
the HTTP protocol.
@table @code
@item MHD_RESPONSE_HEADER_KIND
Response header.
@item MHD_HEADER_KIND
HTTP header.
+5 -1
View File
@@ -1526,11 +1526,15 @@ enum MHD_ValueKind
/**
* Response header
* @deprecated
*/
MHD_RESPONSE_HEADER_KIND = 0,
#define MHD_RESPONSE_HEADER_KIND \
_MHD_DEPR_IN_MACRO("Value MHD_RESPONSE_HEADER_KIND is deprecated and not used") \
MHD_RESPONSE_HEADER_KIND
/**
* HTTP header.
* HTTP header (request/response).
*/
MHD_HEADER_KIND = 1,