summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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
-rw-r--r--examples/nanohttp/http_client.c3
-rw-r--r--examples/nanohttp/http_server.c3
7 files changed, 14 insertions, 7 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>
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 <stdlib.h>
#include <string.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
#include <nanohttp/nanohttp-stream.h>
#include <nanohttp/nanohttp-request.h>
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 <stdio.h>
#include <string.h>
+#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-common.h>
#include <nanohttp/nanohttp-stream.h>
#include <nanohttp/nanohttp-request.h>