summaryrefslogtreecommitdiffstats
path: root/examples/csoap
diff options
context:
space:
mode:
Diffstat (limited to 'examples/csoap')
-rwxr-xr-xexamples/csoap/echoattachments-client.c13
-rwxr-xr-xexamples/csoap/echoattachments-server.c13
-rw-r--r--examples/csoap/simpleclient.c11
-rw-r--r--examples/csoap/simpleserver.c14
-rw-r--r--examples/csoap/soapclient.c10
5 files changed, 54 insertions, 7 deletions
diff --git a/examples/csoap/echoattachments-client.c b/examples/csoap/echoattachments-client.c
index 6f07253..49d1931 100755
--- a/examples/csoap/echoattachments-client.c
+++ b/examples/csoap/echoattachments-client.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: echoattachments-client.c,v 1.11 2006/07/09 16:24:19 snowdrop Exp $
+ * $Id: echoattachments-client.c,v 1.12 2006/11/19 09:40:14 m0gg Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -20,7 +20,16 @@
*
* Email: ferhatayaz@yahoo.com
******************************************************************/
-
+#include <sys/time.h>
+#include <stdio.h>
+#include <netinet/in.h>
+
+#include <nanohttp/nanohttp-common.h>
+#include <nanohttp/nanohttp-socket.h>
+#include <nanohttp/nanohttp-stream.h>
+#include <nanohttp/nanohttp-request.h>
+#include <nanohttp/nanohttp-response.h>
+#include <nanohttp/nanohttp-client.h>
#include <nanohttp/nanohttp-logging.h>
#include <libcsoap/soap-client.h>
diff --git a/examples/csoap/echoattachments-server.c b/examples/csoap/echoattachments-server.c
index 0beb56f..5543984 100755
--- a/examples/csoap/echoattachments-server.c
+++ b/examples/csoap/echoattachments-server.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: echoattachments-server.c,v 1.8 2006/07/09 16:24:19 snowdrop Exp $
+ * $Id: echoattachments-server.c,v 1.9 2006/11/19 09:40:14 m0gg Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -20,7 +20,16 @@
*
* Email: ferhatayaz@yahoo.com
******************************************************************/
-
+#include <sys/time.h>
+#include <stdio.h>
+#include <netinet/in.h>
+
+#include <nanohttp/nanohttp-common.h>
+#include <nanohttp/nanohttp-socket.h>
+#include <nanohttp/nanohttp-stream.h>
+#include <nanohttp/nanohttp-request.h>
+#include <nanohttp/nanohttp-response.h>
+#include <nanohttp/nanohttp-server.h>
#include <nanohttp/nanohttp-logging.h>
#include <libcsoap/soap-server.h>
diff --git a/examples/csoap/simpleclient.c b/examples/csoap/simpleclient.c
index 6468113..47ffd32 100644
--- a/examples/csoap/simpleclient.c
+++ b/examples/csoap/simpleclient.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: simpleclient.c,v 1.12 2006/07/09 16:24:19 snowdrop Exp $
+ * $Id: simpleclient.c,v 1.13 2006/11/19 09:40:14 m0gg Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -20,7 +20,16 @@
*
* Email: ferhatayaz@yahoo.com
******************************************************************/
+#include <sys/time.h>
+#include <stdio.h>
+#include <netinet/in.h>
+#include <nanohttp/nanohttp-common.h>
+#include <nanohttp/nanohttp-socket.h>
+#include <nanohttp/nanohttp-stream.h>
+#include <nanohttp/nanohttp-request.h>
+#include <nanohttp/nanohttp-response.h>
+#include <nanohttp/nanohttp-client.h>
#include <nanohttp/nanohttp-logging.h>
#include <libcsoap/soap-client.h>
diff --git a/examples/csoap/simpleserver.c b/examples/csoap/simpleserver.c
index 6b076f6..33e1a3c 100644
--- a/examples/csoap/simpleserver.c
+++ b/examples/csoap/simpleserver.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: simpleserver.c,v 1.19 2006/07/09 16:24:19 snowdrop Exp $
+ * $Id: simpleserver.c,v 1.20 2006/11/19 09:40:14 m0gg Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -20,8 +20,18 @@
*
* Email: ferhatayaz@yahoo.com
******************************************************************/
-
+#include <sys/time.h>
+#include <stdio.h>
+#include <netinet/in.h>
+
+#include <nanohttp/nanohttp-common.h>
+#include <nanohttp/nanohttp-socket.h>
+#include <nanohttp/nanohttp-stream.h>
+#include <nanohttp/nanohttp-request.h>
+#include <nanohttp/nanohttp-response.h>
+#include <nanohttp/nanohttp-server.h>
#include <nanohttp/nanohttp-logging.h>
+
#include <libcsoap/soap-server.h>
diff --git a/examples/csoap/soapclient.c b/examples/csoap/soapclient.c
index c7ece72..131ceac 100644
--- a/examples/csoap/soapclient.c
+++ b/examples/csoap/soapclient.c
@@ -4,11 +4,21 @@
*/
/* Author: Adrianus Warmenhoven */
+#include <sys/time.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
+#include <netinet/in.h>
+
+#include <nanohttp/nanohttp-common.h>
+#include <nanohttp/nanohttp-socket.h>
+#include <nanohttp/nanohttp-stream.h>
+#include <nanohttp/nanohttp-request.h>
+#include <nanohttp/nanohttp-response.h>
+#include <nanohttp/nanohttp-client.h>
#include <nanohttp/nanohttp-logging.h>
+
#include <libcsoap/soap-client.h>
#define MAX_LINE_LENGTH 65535