libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit cc5c83badc7fa0bc0ad1fa5f8ddd0a6f8b88af94
parent fcf43ae9061f3b56b9b27cd28620e3aa7f699b16
Author: Daniel Pittman <depittman@gmail.com>
Date:   Wed,  4 Apr 2007 00:14:41 +0000

First draft implementation of libmicrohttpd API. Many features incomplete at this time, some functionality has yet to be tested.

Diffstat:
Msrc/daemon/daemontest.c | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 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;