diff options
Diffstat (limited to 'libcsoap')
-rw-r--r-- | libcsoap/soap-client.c | 6 | ||||
-rw-r--r-- | libcsoap/soap-client.h | 8 | ||||
-rw-r--r-- | libcsoap/soap-server.c | 5 |
3 files changed, 15 insertions, 4 deletions
diff --git a/libcsoap/soap-client.c b/libcsoap/soap-client.c index 21eb06a..bec9044 100644 --- a/libcsoap/soap-client.c +++ b/libcsoap/soap-client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-client.c,v 1.12 2004/11/01 15:16:26 snowdrop Exp $ +* $Id: soap-client.c,v 1.13 2004/11/02 22:42:52 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -50,6 +50,10 @@ herror_t soap_client_init_args(int argc, char *argv[]) } +void soap_client_destroy()
+{
+ httpc_destroy();
+}
static long _file_get_size(const char* filename) diff --git a/libcsoap/soap-client.h b/libcsoap/soap-client.h index 6826117..7042aad 100644 --- a/libcsoap/soap-client.h +++ b/libcsoap/soap-client.h @@ -1,5 +1,5 @@ /******************************************************************
- * $Id: soap-client.h,v 1.7 2004/11/01 15:16:26 snowdrop Exp $
+ * $Id: soap-client.h,v 1.8 2004/11/02 22:42:52 snowdrop Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -34,6 +34,12 @@ herror_t soap_client_init_args(int argc, char *argv[]); /**
+ Destroy the soap client module
+*/
+void soap_client_destroy();
+
+
+/**
Establish connection to the soap server and send
the given envelope.
diff --git a/libcsoap/soap-server.c b/libcsoap/soap-server.c index 65bef3f..8313eb8 100644 --- a/libcsoap/soap-server.c +++ b/libcsoap/soap-server.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-server.c,v 1.7 2004/10/28 10:30:46 snowdrop Exp $ +* $Id: soap-server.c,v 1.8 2004/11/02 22:42:52 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -100,7 +100,8 @@ void soap_server_destroy() free(node->context); free(node); node = tmp; - } + }
+ httpd_destroy(); } |