aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index a17f41f2..13dd71e4 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -22,6 +22,7 @@
22 * @file microhttpd.h 22 * @file microhttpd.h
23 * @brief public interface to libmicrohttpd 23 * @brief public interface to libmicrohttpd
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 * @author Chris GauthierDickey
25 * 26 *
26 * All symbols defined in this header start with MHD. MHD is a 27 * All symbols defined in this header start with MHD. MHD is a
27 * micro-httpd library. As such, it does not have any API for logging 28 * micro-httpd library. As such, it does not have any API for logging
@@ -34,6 +35,12 @@
34 * - proper API for file uploads via HTTP 35 * - proper API for file uploads via HTTP
35 * - We probably need a significantly more extensive API for 36 * - We probably need a significantly more extensive API for
36 * proper SSL support (set local certificate, etc.) 37 * proper SSL support (set local certificate, etc.)
38 *
39 *
40 *
41 * Students are encouraged to add additional HTTP status codes to this
42 * file, but should not change anything else. If you think something
43 * needs to be changed, talk to your instructor first.
37 */ 44 */
38 45
39#ifndef MHD_MICROHTTPD_H 46#ifndef MHD_MICROHTTPD_H
@@ -123,27 +130,27 @@ enum MHD_ValueKind {
123 /** 130 /**
124 * Response header 131 * Response header
125 */ 132 */
126 MHD_RESPONSE_HEADER_KIND = 0; 133 MHD_RESPONSE_HEADER_KIND = 0,
127 134
128 /** 135 /**
129 * HTTP header 136 * HTTP header
130 */ 137 */
131 MHD_HEADER_KIND = 1; 138 MHD_HEADER_KIND = 1,
132 139
133 /** 140 /**
134 * Cookies 141 * Cookies
135 */ 142 */
136 MHD_COOKIE_KIND = 2; 143 MHD_COOKIE_KIND = 2,
137 144
138 /** 145 /**
139 * POST data 146 * POST data
140 */ 147 */
141 MHD_POSTDATA_KIND = 4; 148 MHD_POSTDATA_KIND = 4,
142 149
143 /** 150 /**
144 * GET (URI) arguments 151 * GET (URI) arguments
145 */ 152 */
146 MHD_GET_ARGUMENT_KIND = 8; 153 MHD_GET_ARGUMENT_KIND = 8,
147 154
148}; 155};
149 156