libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 8a88bc9335bc30ba2cf2719d7f26f93267ff7104
parent b99c290230f3c8fd8adacca0e2d482b42b1d3c50
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sat,  6 May 2017 21:49:27 +0300

microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND value

Diffstat:
Mdoc/libmicrohttpd.texi | 3---
Msrc/include/microhttpd.h | 6+++++-
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi @@ -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. diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -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,