diff options
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 971ebb00..8d125a01 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -90,7 +90,7 @@ struct MHD_Access_Handler { | |||
90 | 90 | ||
91 | /** | 91 | /** |
92 | * Representation of a response. | 92 | * Representation of a response. |
93 | */ | 93 | */ |
94 | struct MHD_Response { | 94 | struct MHD_Response { |
95 | 95 | ||
96 | /** | 96 | /** |
@@ -109,9 +109,9 @@ struct MHD_Response { | |||
109 | /** | 109 | /** |
110 | * Closure to give to the content reader | 110 | * Closure to give to the content reader |
111 | * free callback. | 111 | * free callback. |
112 | */ | 112 | */ |
113 | void * crc_cls; | 113 | void * crc_cls; |
114 | 114 | ||
115 | /** | 115 | /** |
116 | * How do we get more data? NULL if we are | 116 | * How do we get more data? NULL if we are |
117 | * given all of the data up front. | 117 | * given all of the data up front. |
@@ -135,7 +135,7 @@ struct MHD_Response { | |||
135 | * once the counter hits zero. | 135 | * once the counter hits zero. |
136 | */ | 136 | */ |
137 | unsigned int reference_count; | 137 | unsigned int reference_count; |
138 | 138 | ||
139 | /** | 139 | /** |
140 | * Set to -1 if size is not known. | 140 | * Set to -1 if size is not known. |
141 | */ | 141 | */ |
@@ -151,7 +151,7 @@ struct MHD_Response { | |||
151 | * beginning of data located? | 151 | * beginning of data located? |
152 | */ | 152 | */ |
153 | size_t data_start; | 153 | size_t data_start; |
154 | 154 | ||
155 | }; | 155 | }; |
156 | 156 | ||
157 | 157 | ||
@@ -162,7 +162,7 @@ struct MHD_Session { | |||
162 | struct MHD_Daemon * daemon; | 162 | struct MHD_Daemon * daemon; |
163 | 163 | ||
164 | struct MHD_HTTP_Header * headers_received; | 164 | struct MHD_HTTP_Header * headers_received; |
165 | 165 | ||
166 | struct MHD_Response * response; | 166 | struct MHD_Response * response; |
167 | 167 | ||
168 | /** | 168 | /** |
@@ -184,7 +184,7 @@ struct MHD_Session { | |||
184 | * Buffer for writing response. | 184 | * Buffer for writing response. |
185 | */ | 185 | */ |
186 | char * write_buffer; | 186 | char * write_buffer; |
187 | 187 | ||
188 | /** | 188 | /** |
189 | * Foreign address (of length addr_len). | 189 | * Foreign address (of length addr_len). |
190 | */ | 190 | */ |
@@ -237,19 +237,19 @@ struct MHD_Session { | |||
237 | * we are done sending our response. | 237 | * we are done sending our response. |
238 | */ | 238 | */ |
239 | int read_close; | 239 | int read_close; |
240 | 240 | ||
241 | /** | 241 | /** |
242 | * Have we finished receiving all of the headers yet? | 242 | * Have we finished receiving all of the headers yet? |
243 | * Set to 1 once we are done processing all of the | 243 | * Set to 1 once we are done processing all of the |
244 | * headers. Note that due to pipelining, it is | 244 | * headers. Note that due to pipelining, it is |
245 | * possible that the NEXT request is already | 245 | * possible that the NEXT request is already |
246 | * (partially) waiting in the read buffer. | 246 | * (partially) waiting in the read buffer. |
247 | */ | 247 | */ |
248 | int headersReceived; | 248 | int headersReceived; |
249 | 249 | ||
250 | /** | 250 | /** |
251 | * Have we finished receiving the data from a | 251 | * Have we finished receiving the data from a |
252 | * potential file-upload? | 252 | * potential file-upload? |
253 | */ | 253 | */ |
254 | int bodyReceived; | 254 | int bodyReceived; |
255 | 255 | ||
@@ -275,7 +275,7 @@ struct MHD_Daemon { | |||
275 | struct MHD_Access_Handler default_handler; | 275 | struct MHD_Access_Handler default_handler; |
276 | 276 | ||
277 | struct MHD_Session * connections; | 277 | struct MHD_Session * connections; |
278 | 278 | ||
279 | MHD_AcceptPolicyCallback apc; | 279 | MHD_AcceptPolicyCallback apc; |
280 | 280 | ||
281 | void * apc_cls; | 281 | void * apc_cls; |