diff options
author | m0gg | 2006-11-21 20:58:59 +0000 |
---|---|---|
committer | m0gg | 2006-11-21 20:58:59 +0000 |
commit | c3fd98b25607d0f7f5977586d188f88ab226a9b8 (patch) | |
tree | cc4976a3be9d3984e4ae62c08afd1dcf9530dc5e /libcsoap/soap-ctx.c | |
parent | cd94b25993049a596b163f0ad8b3a2340e024cc3 (diff) | |
download | csoap-c3fd98b25607d0f7f5977586d188f88ab226a9b8.tar.gz csoap-c3fd98b25607d0f7f5977586d188f88ab226a9b8.tar.bz2 |
decoupling of nanohttp/libcsoap
Diffstat (limited to 'libcsoap/soap-ctx.c')
-rwxr-xr-x | libcsoap/soap-ctx.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/libcsoap/soap-ctx.c b/libcsoap/soap-ctx.c index 28c779f..2db0e7e 100755 --- a/libcsoap/soap-ctx.c +++ b/libcsoap/soap-ctx.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-ctx.c,v 1.11 2006/11/19 09:40:14 m0gg Exp $ + * $Id: soap-ctx.c,v 1.12 2006/11/21 20:59:02 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -25,10 +25,6 @@ #include <config.h> #endif -#ifdef HAVE_SYS_TIME_H -#include <sys/time.h> -#endif - #ifdef HAVE_STDIO_H #include <stdio.h> #endif @@ -45,12 +41,13 @@ #include <netinet/in.h> #endif +#include <libxml/tree.h> + #include <nanohttp/nanohttp-common.h> -#include <nanohttp/nanohttp-socket.h> -#include <nanohttp/nanohttp-stream.h> -#include <nanohttp/nanohttp-request.h> #include <nanohttp/nanohttp-logging.h> +#include "soap-fault.h" +#include "soap-env.h" #include "soap-ctx.h" SoapCtx * @@ -66,7 +63,6 @@ soap_ctx_new(SoapEnv * env) /* should only be used internally */ ctx->env = env; ctx->attachments = NULL; - ctx->action = NULL; return ctx; } @@ -171,9 +167,6 @@ soap_ctx_free(SoapCtx * ctx) if (ctx->env) soap_env_free(ctx->env); - if (ctx->action) - free(ctx->action); - free(ctx); return; |