summaryrefslogtreecommitdiffstats
path: root/libcsoap
diff options
context:
space:
mode:
authorGravatar snowdrop2004-08-30 15:26:48 +0000
committerGravatar snowdrop2004-08-30 15:26:48 +0000
commit30911b1730a1a69241beaca7d1ed71212d4f7b3f (patch)
tree1538c363a546cc7584f88b3886433d43aca50c77 /libcsoap
parent056647348ff38f83b5e13bed1c4f4bb76cce50f9 (diff)
downloadcsoap-30911b1730a1a69241beaca7d1ed71212d4f7b3f.tar.gz
csoap-30911b1730a1a69241beaca7d1ed71212d4f7b3f.tar.bz2
migration win32 socket code
Diffstat (limited to 'libcsoap')
-rw-r--r--libcsoap/soap-client.c8
-rw-r--r--libcsoap/soap-client.h8
2 files changed, 13 insertions, 3 deletions
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 <libcsoap/soap-env.h>
+
+/**
+ Initializes the client side soap engine
+*/
+int soap_client_init_args(int argc, char *argv[]);
+
/**
Establish connection to the soap server and send