From 15b392f1e21d3dae8f83da401199959e9f0b0db6 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Tue, 2 Nov 2004 22:42:51 +0000 Subject: develop --- libcsoap/soap-client.c | 6 +++++- libcsoap/soap-client.h | 8 +++++++- libcsoap/soap-server.c | 5 +++-- 3 files changed, 15 insertions(+), 4 deletions(-) (limited to 'libcsoap') 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 @@ -33,6 +33,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(); } -- cgit v1.1-32-gdbae