diff options
author | snowdrop | 2006-02-08 11:13:13 +0000 |
---|---|---|
committer | snowdrop | 2006-02-08 11:13:13 +0000 |
commit | c4286ea5287279836c5ef49a06153db95429bfe6 (patch) | |
tree | 1ace3f15224374a6350b028b2fe50d34072f5f87 /libcsoap/soap-client.c | |
parent | 1340ec27d42648e84878abe2d2f0b6f23ca24d82 (diff) | |
download | csoap-c4286ea5287279836c5ef49a06153db95429bfe6.tar.gz csoap-c4286ea5287279836c5ef49a06153db95429bfe6.tar.bz2 |
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
Diffstat (limited to 'libcsoap/soap-client.c')
-rw-r--r-- | libcsoap/soap-client.c | 20 |
1 files changed, 1 insertions, 19 deletions
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) |