From 82c14810dd1c101f20052c4ab92f33c57a255cc1 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sat, 25 Nov 2006 15:06:57 +0000 Subject: documentation enhancements and code cleanup --- examples/csoap/echoattachments-client.c | 3 ++- examples/csoap/echoattachments-server.c | 5 +++-- examples/csoap/simpleclient.c | 3 ++- examples/csoap/simpleserver.c | 3 ++- examples/csoap/soapclient.c | 1 + examples/nanohttp/http_client.c | 3 ++- examples/nanohttp/http_server.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) (limited to 'examples') diff --git a/examples/csoap/echoattachments-client.c b/examples/csoap/echoattachments-client.c index 26c65ff..5c22805 100755 --- a/examples/csoap/echoattachments-client.c +++ b/examples/csoap/echoattachments-client.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: echoattachments-client.c,v 1.14 2006/11/23 15:27:33 m0gg Exp $ + * $Id: echoattachments-client.c,v 1.15 2006/11/25 15:06:57 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -25,6 +25,7 @@ #include +#include #include #include diff --git a/examples/csoap/echoattachments-server.c b/examples/csoap/echoattachments-server.c index abfb7ec..ea45aa8 100755 --- a/examples/csoap/echoattachments-server.c +++ b/examples/csoap/echoattachments-server.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: echoattachments-server.c,v 1.11 2006/11/23 15:27:33 m0gg Exp $ + * $Id: echoattachments-server.c,v 1.12 2006/11/25 15:06:57 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -25,6 +25,7 @@ #include +#include #include #include @@ -43,7 +44,7 @@ echo_attachments(struct SoapCtx * req, struct SoapCtx * res) { herror_t err; - part_t *part; + struct part_t *part; char href[MAX_HREF_SIZE]; err = soap_env_new_with_response(req->env, &res->env); diff --git a/examples/csoap/simpleclient.c b/examples/csoap/simpleclient.c index 1e3b3ff..9add626 100644 --- a/examples/csoap/simpleclient.c +++ b/examples/csoap/simpleclient.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: simpleclient.c,v 1.15 2006/11/23 15:27:33 m0gg Exp $ + * $Id: simpleclient.c,v 1.16 2006/11/25 15:06:57 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -25,6 +25,7 @@ #include +#include #include #include diff --git a/examples/csoap/simpleserver.c b/examples/csoap/simpleserver.c index 9a814ea..3d2506a 100644 --- a/examples/csoap/simpleserver.c +++ b/examples/csoap/simpleserver.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: simpleserver.c,v 1.23 2006/11/24 10:54:03 m0gg Exp $ + * $Id: simpleserver.c,v 1.24 2006/11/25 15:06:57 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/examples/csoap/soapclient.c b/examples/csoap/soapclient.c index ea7d05f..ec6374c 100644 --- a/examples/csoap/soapclient.c +++ b/examples/csoap/soapclient.c @@ -11,6 +11,7 @@ #include #include +#include #include // #include diff --git a/examples/nanohttp/http_client.c b/examples/nanohttp/http_client.c index f871739..e320cb9 100644 --- a/examples/nanohttp/http_client.c +++ b/examples/nanohttp/http_client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: http_client.c,v 1.5 2006/11/23 15:27:33 m0gg Exp $ +* $Id: http_client.c,v 1.6 2006/11/25 15:06:57 m0gg Exp $ * * CSOAP Project: A http client/server library in C (example) * Copyright (C) 2003-2004 Ferhat Ayaz @@ -25,6 +25,7 @@ #include #include +#include #include #include #include diff --git a/examples/nanohttp/http_server.c b/examples/nanohttp/http_server.c index 950a717..655ad7a 100644 --- a/examples/nanohttp/http_server.c +++ b/examples/nanohttp/http_server.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: http_server.c,v 1.7 2006/11/23 15:27:33 m0gg Exp $ +* $Id: http_server.c,v 1.8 2006/11/25 15:06:57 m0gg Exp $ * * CSOAP Project: A http client/server library in C (example) * Copyright (C) 2003 Ferhat Ayaz @@ -24,6 +24,7 @@ #include #include +#include #include #include #include -- cgit v1.1-32-gdbae