summaryrefslogtreecommitdiffstats
path: root/examples/csoap/simpleserver.c
diff options
context:
space:
mode:
authorGravatar m0gg2006-11-19 09:40:14 +0000
committerGravatar m0gg2006-11-19 09:40:14 +0000
commit949a8d0b46d6baa9f42c2f8c3bd5e3bdc3596cbd (patch)
tree1dfd1fd7cc3cb62bf300ae62ad306a66e674dc20 /examples/csoap/simpleserver.c
parentaa366f7be60c02168422bb713ef0e5a447bf07ea (diff)
downloadcsoap-949a8d0b46d6baa9f42c2f8c3bd5e3bdc3596cbd.tar.gz
csoap-949a8d0b46d6baa9f42c2f8c3bd5e3bdc3596cbd.tar.bz2
nanohttp admin patch; code cleanup
Diffstat (limited to 'examples/csoap/simpleserver.c')
-rw-r--r--examples/csoap/simpleserver.c14
1 files changed, 12 insertions, 2 deletions
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>