summaryrefslogtreecommitdiffstats
path: root/libcsoap
diff options
context:
space:
mode:
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