aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pittman <depittman@gmail.com>2007-04-04 00:14:41 +0000
committerDaniel Pittman <depittman@gmail.com>2007-04-04 00:14:41 +0000
commitcc5c83badc7fa0bc0ad1fa5f8ddd0a6f8b88af94 (patch)
tree1c8ffe8643c6646d38857a8ed5b6899677c25ae6
parentfcf43ae9061f3b56b9b27cd28620e3aa7f699b16 (diff)
downloadlibmicrohttpd-cc5c83badc7fa0bc0ad1fa5f8ddd0a6f8b88af94.tar.gz
libmicrohttpd-cc5c83badc7fa0bc0ad1fa5f8ddd0a6f8b88af94.zip
First draft implementation of libmicrohttpd API. Many features incomplete at this time, some functionality has yet to be tested.
-rw-r--r--src/daemon/daemontest.c8
1 files 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,
58static int ahc_nothing(void * cls, 58static int ahc_nothing(void * cls,
59 struct MHD_Session * session, 59 struct MHD_Session * session,
60 const char * url, 60 const char * url,
61 const char * method) { 61 const char * method,
62 const char * upload_data,
63 unsigned int * upload_data_size) {
62 return MHD_NO; 64 return MHD_NO;
63} 65}
64 66
@@ -86,7 +88,9 @@ static size_t copyBuffer(void * ptr,
86static int ahc_echo(void * cls, 88static int ahc_echo(void * cls,
87 struct MHD_Session * session, 89 struct MHD_Session * session,
88 const char * url, 90 const char * url,
89 const char * method) { 91 const char * method,
92 const char * upload_data,
93 unsigned int * upload_data_size) {
90 const char * me = cls; 94 const char * me = cls;
91 struct MHD_Response * response; 95 struct MHD_Response * response;
92 int ret; 96 int ret;