From d2c445f5d7cf21606c9878bff3e4046c283944df Mon Sep 17 00:00:00 2001 From: snowdrop Date: Sun, 19 Sep 2004 07:05:01 +0000 Subject: Added http stream feature (only input stream yet) Added DIME "client" support (very experimental) --- nanohttp/nanohttp-server.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nanohttp/nanohttp-server.h') diff --git a/nanohttp/nanohttp-server.h b/nanohttp/nanohttp-server.h index d7ff39e..3170c3d 100644 --- a/nanohttp/nanohttp-server.h +++ b/nanohttp/nanohttp-server.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-server.h,v 1.4 2004/09/01 14:09:44 snowdrop Exp $ + * $Id: nanohttp-server.h,v 1.5 2004/09/19 07:05:03 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -27,7 +27,7 @@ #include #include - +#include #define NHTTPD_ARG_PORT "-NHTTPport" #define NHTTPD_ARG_TERMSIG "-NHTTPtsig" @@ -73,7 +73,7 @@ int httpd_send_header(httpd_conn_t *res, hpair_t *pair); -char *httpd_get_postdata(httpd_conn_t *conn, +unsigned char *httpd_get_postdata(httpd_conn_t *conn, hrequest_t *req, long *received, long max); #endif -- cgit v1.1-32-gdbae