gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: deprec


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND value
Date: Sat, 06 May 2017 21:03:27 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 8a88bc93 microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND value
8a88bc93 is described below

commit 8a88bc9335bc30ba2cf2719d7f26f93267ff7104
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sat May 6 21:49:27 2017 +0300

    microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND value
---
 doc/libmicrohttpd.texi   | 3 ---
 src/include/microhttpd.h | 6 +++++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index bdbe3de7..5a0cc8fb 100644
--- 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
address@hidden MHD_RESPONSE_HEADER_KIND
-Response header.
-
 @item MHD_HEADER_KIND
 HTTP header.
 
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index ca0059fa..a026b565 100644
--- 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,
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]