[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/03: internal.h: reordered items
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/03: internal.h: reordered items |
Date: |
Sun, 20 Jun 2021 15:33:21 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 91a0d62efd3669163481e5a09195746471ccfa59
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Jun 20 16:13:41 2021 +0300
internal.h: reordered items
---
src/microhttpd/internal.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 460cbf1b..2338c0ee 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -778,6 +778,21 @@ enum MHD_HTTP_Version
MHD_HTTP_VER_FUTURE = 100
};
+/**
+ * Returns boolean 'true' if HTTP version is supported by MHD
+ */
+#define MHD_IS_HTTP_VER_SUPPORTED(ver) (MHD_HTTP_VER_1_0 <= (ver) && \
+ MHD_HTTP_VER_1_2__1_9 >= (ver))
+
+/**
+ * Protocol should be used as HTTP/1.1 protocol.
+ *
+ * See the last paragraph of
+ * https://datatracker.ietf.org/doc/html/rfc7230#section-2.6
+ */
+#define MHD_IS_HTTP_VER_1_1_COMPAT(ver) (MHD_HTTP_VER_1_1 == (ver) || \
+ MHD_HTTP_VER_1_2__1_9 == (ver))
+
/**
* The HTTP method.
*
@@ -827,21 +842,6 @@ enum MHD_HTTP_Method
MHD_HTTP_MTHD_OTHER = 1000
};
-/**
- * Returns boolean 'true' if HTTP version is supported by MHD
- */
-#define MHD_IS_HTTP_VER_SUPPORTED(ver) (MHD_HTTP_VER_1_0 <= (ver) && \
- MHD_HTTP_VER_1_2__1_9 >= (ver))
-
-/**
- * Protocol should be used as HTTP/1.1 protocol.
- *
- * See the last paragraph of
- * https://datatracker.ietf.org/doc/html/rfc7230#section-2.6
- */
-#define MHD_IS_HTTP_VER_1_1_COMPAT(ver) (MHD_HTTP_VER_1_1 == (ver) || \
- MHD_HTTP_VER_1_2__1_9 == (ver))
-
/**
* State kept for each HTTP request.
*/
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.