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.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 13dd71e4..b88fede8 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -187,7 +187,9 @@ typedef int
187(*MHD_AccessHandlerCallback)(void * cls, 187(*MHD_AccessHandlerCallback)(void * cls,
188 struct MHD_Session * session, 188 struct MHD_Session * session,
189 const char * url, 189 const char * url,
190 const char * method); 190 const char * method,
191 const char * upload_data,
192 unsigned int * upload_data_size);
191 193
192/** 194/**
193 * Iterator over key-value pairs. This iterator 195 * Iterator over key-value pairs. This iterator
@@ -446,17 +448,6 @@ MHD_get_response_headers(struct MHD_Response * response,
446 MHD_KeyValueIterator * iterator, 448 MHD_KeyValueIterator * iterator,
447 void * iterator_cls); 449 void * iterator_cls);
448 450
449/**
450 * FIXME-CHRIS
451 * @return -1 if no data uploaded; otherwise number of bytes
452 * read into buf; 0 for end of transmission
453 */
454int
455MHD_read_file_upload(struct MHD_Session * session,
456 void * buf,
457 size_t len);
458
459
460 451
461#if 0 /* keep Emacsens' auto-indent happy */ 452#if 0 /* keep Emacsens' auto-indent happy */
462{ 453{