summaryrefslogtreecommitdiffstats
path: root/examples/csoap
diff options
context:
space:
mode:
authorGravatar m0gg2006-11-25 15:06:57 +0000
committerGravatar m0gg2006-11-25 15:06:57 +0000
commit82c14810dd1c101f20052c4ab92f33c57a255cc1 (patch)
tree6d445e22baf26d4df2ae08ad678ba56a19f22e7e /examples/csoap
parent01aaebca2e4b8b2d13aef5cdeda9b8874efe1c31 (diff)
downloadcsoap-82c14810dd1c101f20052c4ab92f33c57a255cc1.tar.gz
csoap-82c14810dd1c101f20052c4ab92f33c57a255cc1.tar.bz2
documentation enhancements and code cleanup
Diffstat (limited to 'examples/csoap')
-rwxr-xr-xexamples/csoap/echoattachments-client.c3
-rwxr-xr-xexamples/csoap/echoattachments-server.c5
-rw-r--r--examples/csoap/simpleclient.c3
-rw-r--r--examples/csoap/simpleserver.c3
-rw-r--r--examples/csoap/soapclient.c1
5 files changed, 10 insertions, 5 deletions
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 <libxml/tree.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
#include <nanohttp/nanohttp-logging.h>
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 <libxml/tree.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
#include <nanohttp/nanohttp-logging.h>
@@ -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 <libxml/tree.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
#include <nanohttp/nanohttp-logging.h>
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 <libxml/tree.h>
#include <libxml/xpath.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
#include <nanohttp/nanohttp-logging.h>
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 <libxml/tree.h>
#include <libxml/uri.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
// #include <nanohttp/nanohttp-request.h>