aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-04-03 23:04:23 +0000
committerChristian Grothoff <christian@grothoff.org>2007-04-03 23:04:23 +0000
commitd5b39b0218b3c3a8548afefdd2fe183c13b8a7da (patch)
tree136a880fe0acbb0bc182e713ee842c69a4c903ad
parent0d33aa149bc3f7945ba2f4bb8d71fb8c38619970 (diff)
downloadlibmicrohttpd-d5b39b0218b3c3a8548afefdd2fe183c13b8a7da.tar.gz
libmicrohttpd-d5b39b0218b3c3a8548afefdd2fe183c13b8a7da.zip
put api
-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{