From cc5c83badc7fa0bc0ad1fa5f8ddd0a6f8b88af94 Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Wed, 4 Apr 2007 00:14:41 +0000 Subject: First draft implementation of libmicrohttpd API. Many features incomplete at this time, some functionality has yet to be tested. --- src/daemon/daemontest.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/daemon/daemontest.c b/src/daemon/daemontest.c index b8d98efc..e110b139 100644 --- a/src/daemon/daemontest.c +++ b/src/daemon/daemontest.c @@ -58,7 +58,9 @@ static int apc_all(void * cls, static int ahc_nothing(void * cls, struct MHD_Session * session, const char * url, - const char * method) { + const char * method, + const char * upload_data, + unsigned int * upload_data_size) { return MHD_NO; } @@ -86,7 +88,9 @@ static size_t copyBuffer(void * ptr, static int ahc_echo(void * cls, struct MHD_Session * session, const char * url, - const char * method) { + const char * method, + const char * upload_data, + unsigned int * upload_data_size) { const char * me = cls; struct MHD_Response * response; int ret; -- cgit v1.2.3