commit d5b39b0218b3c3a8548afefdd2fe183c13b8a7da
parent 0d33aa149bc3f7945ba2f4bb8d71fb8c38619970
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 3 Apr 2007 23:04:23 +0000
put api
Diffstat:
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -187,7 +187,9 @@ typedef int
(*MHD_AccessHandlerCallback)(void * cls,
struct MHD_Session * session,
const char * url,
- const char * method);
+ const char * method,
+ const char * upload_data,
+ unsigned int * upload_data_size);
/**
* Iterator over key-value pairs. This iterator
@@ -446,17 +448,6 @@ MHD_get_response_headers(struct MHD_Response * response,
MHD_KeyValueIterator * iterator,
void * iterator_cls);
-/**
- * FIXME-CHRIS
- * @return -1 if no data uploaded; otherwise number of bytes
- * read into buf; 0 for end of transmission
- */
-int
-MHD_read_file_upload(struct MHD_Session * session,
- void * buf,
- size_t len);
-
-
#if 0 /* keep Emacsens' auto-indent happy */
{