From c4286ea5287279836c5ef49a06153db95429bfe6 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Wed, 8 Feb 2006 11:13:13 +0000 Subject: the attached patches address the following issues: * query the port the server is listening on {soap_server,httpd}_get_port * the possibility to add a default service via httpd_register_default * remove some compiler warnings (on FreeBSD pthread_t is a pointer to a struct pthread, on Linux it is a (unsigned?) long int) tschuess, Heiko --- libcsoap/soap-client.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'libcsoap/soap-client.c') diff --git a/libcsoap/soap-client.c b/libcsoap/soap-client.c index f7c38c2..55fa6ca 100644 --- a/libcsoap/soap-client.c +++ b/libcsoap/soap-client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-client.c,v 1.21 2006/01/10 11:29:04 snowdrop Exp $ +* $Id: soap-client.c,v 1.22 2006/02/08 11:13:14 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -42,8 +42,6 @@ soap_client_get_blockmode() return _block_socket; } - - herror_t soap_client_init_args(int argc, char *argv[]) { @@ -58,22 +56,6 @@ soap_client_destroy() httpc_destroy(); } -static long -_file_get_size(const char *filename) -{ - FILE *f = fopen(filename, "r"); - long size; - - if (!f) - return -1; - - fseek(f, 0, SEEK_END); - size = ftell(f); - fclose(f); - return size; -} - - herror_t soap_client_invoke(SoapCtx * call, SoapCtx ** response, const char *url, const char *soap_action) -- cgit v1.1-32-gdbae