diff options
Diffstat (limited to 'examples/csoap/echoattachments-server.c')
-rwxr-xr-x | examples/csoap/echoattachments-server.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/examples/csoap/echoattachments-server.c b/examples/csoap/echoattachments-server.c index 5543984..a065cc5 100755 --- a/examples/csoap/echoattachments-server.c +++ b/examples/csoap/echoattachments-server.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: echoattachments-server.c,v 1.9 2006/11/19 09:40:14 m0gg Exp $ + * $Id: echoattachments-server.c,v 1.10 2006/11/21 20:58:59 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -20,10 +20,12 @@ * * Email: ferhatayaz@yahoo.com ******************************************************************/ -#include <sys/time.h> #include <stdio.h> +#include <stdlib.h> #include <netinet/in.h> +#include <libxml/tree.h> + #include <nanohttp/nanohttp-common.h> #include <nanohttp/nanohttp-socket.h> #include <nanohttp/nanohttp-stream.h> @@ -32,16 +34,16 @@ #include <nanohttp/nanohttp-server.h> #include <nanohttp/nanohttp-logging.h> +#include <libcsoap/soap-env.h> +#include <libcsoap/soap-ctx.h> +#include <libcsoap/soap-service.h> +#include <libcsoap/soap-router.h> #include <libcsoap/soap-server.h> - static const char *url = "/echoattachments"; static const char *urn = "urn:examples"; static const char *method = "echo"; - - - herror_t echo_attachments(SoapCtx * req, SoapCtx * res) { |