From 30911b1730a1a69241beaca7d1ed71212d4f7b3f Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 30 Aug 2004 15:26:48 +0000 Subject: migration win32 socket code --- libcsoap/soap-client.c | 8 ++++++-- libcsoap/soap-client.h | 8 +++++++- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'libcsoap') diff --git a/libcsoap/soap-client.c b/libcsoap/soap-client.c index 46e9192..a0038fb 100644 --- a/libcsoap/soap-client.c +++ b/libcsoap/soap-client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-client.c,v 1.4 2004/08/26 17:06:18 rans Exp $ +* $Id: soap-client.c,v 1.5 2004/08/30 15:26:53 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -28,7 +28,11 @@ /*--------------------------------- */ static SoapEnv *_soap_client_build_result(hresponse_t *res); /*--------------------------------- */ - + +int soap_client_init_args(int argc, char *argv[]) +{ + return !httpc_init(argc, argv); +} SoapEnv* soap_client_invoke(SoapEnv *call, const char *url, const char *soap_action) diff --git a/libcsoap/soap-client.h b/libcsoap/soap-client.h index f3529d4..5c7cb64 100644 --- a/libcsoap/soap-client.h +++ b/libcsoap/soap-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-client.h,v 1.2 2004/02/10 09:51:10 snowdrop Exp $ + * $Id: soap-client.h,v 1.3 2004/08/30 15:26:53 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -26,6 +26,12 @@ #include + +/** + Initializes the client side soap engine +*/ +int soap_client_init_args(int argc, char *argv[]); + /** Establish connection to the soap server and send -- cgit v1.1-32-gdbae