00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __csoap_client_h
00025 #define __csoap_client_h
00026
00027 #ifndef __CSOAP_INTERNAL
00028 #include <nanohttp/nanohttp-client.h>
00029
00030 #include <libcsoap/soap-ctx.h>
00031 #include <libcsoap/soap-env.h>
00032 #include <libcsoap/soap-addressing.h>
00033 #endif
00034
00120 #define SOAP_ERROR_CLIENT 5000
00121 #define SOAP_ERROR_CLIENT_GENERIC (SOAP_ERROR_CLIENT + 0)
00122 #define SOAP_ERROR_CLIENT_INIT (SOAP_ERROR_CLIENT + 1)
00123
00131 #define CSOAP_CLIENT_FORCE_ENCRYPT "-CSOAPencrypt"
00132
00140 #define CSOAP_CLIENT_FORCE_DECRYPT "-CSOAPdecrypt"
00141
00149 #define CSOAP_CLIENT_FORCE_SIGN "-CSOAPsign"
00150
00158 #define CSOAP_CLIENT_FORCE_VERIFY "-CSOAPverify"
00159
00160 #ifdef __cplusplus
00161 extern "C" {
00162 #endif
00163
00169 extern herror_t soap_client_init_args(int argc, char **argv);
00170
00184 extern herror_t soap_client_invoke(struct SoapCtx * ctx, struct SoapCtx **response, const char *url, const char *soap_action);
00185
00191 extern void soap_client_destroy(void);
00192
00193 #ifdef __cplusplus
00194 }
00195 #endif
00196
00197 #endif