67 #ifdef WITH_SOAPDEFS_H
68 # include "soapdefs.h"
94 # define SOAP_FMAC3S SOAP_FMAC3
102 # define SOAP_FMAC4S SOAP_FMAC4
121 #ifndef SOAP_SOURCE_STAMP
122 # define SOAP_SOURCE_STAMP(str)
138 # error "Cannot build WITH_LEAN code WITH_COOKIES enabled"
145 #if defined(__vxworks) || defined(__VXWORKS__)
157 # define UNDER_CE _WIN32_WCE
186 #if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__)
198 #if defined(__digital__) && defined(__unix__)
212 # if defined(WITH_OPENSSL)
213 # ifndef HAVE_OPENSSL_SSL_H
217 # if defined(WITH_ZLIB) || defined(WITH_GZIP)
224 # if defined(UNDER_CE)
227 # elif defined(WIN32)
228 # define HAVE_STRRCHR
232 # define HAVE_STRTOUL
233 # define HAVE_SYS_TIMEB_H
237 # define SOAP_LONG_FORMAT "%I64d"
238 # define SOAP_ULONG_FORMAT "%I64u"
239 # elif defined(CYGWIN)
240 # define HAVE_STRRCHR
244 # define HAVE_STRTOUL
245 # define HAVE_SYS_TIMEB_H
248 # define HAVE_GMTIME_R
249 # define HAVE_LOCALTIME_R
252 # elif defined(__APPLE__)
253 # define HAVE_STRRCHR
256 # define HAVE_STRTOD_L
257 # define HAVE_SSCANF_L
258 # define HAVE_SPRINTF_L
260 # define HAVE_STRTOUL
262 # define HAVE_GMTIME_R
263 # define HAVE_LOCALTIME_R
267 # elif defined(_AIX43)
268 # define HAVE_STRRCHR
272 # define HAVE_STRTOUL
273 # define HAVE_SYS_TIMEB_H
276 # define HAVE_GMTIME_R
277 # define HAVE_LOCALTIME_R
280 # elif defined(_AIX41)
281 # define HAVE_STRRCHR
285 # define HAVE_STRTOUL
286 # define HAVE_SYS_TIMEB_H
289 # elif defined(HP_UX)
290 # define HAVE_STRRCHR
294 # define HAVE_STRTOUL
295 # define HAVE_SYS_TIMEB_H
298 # define HAVE_GMTIME_R
299 # define HAVE_LOCALTIME_R
302 # elif defined(FREEBSD) || defined(__FreeBSD__)
303 # define HAVE_STRRCHR
306 # define HAVE_STRTOD_L
307 # define HAVE_SSCANF_L
308 # define HAVE_SPRINTF_L
310 # define HAVE_STRTOUL
311 # define HAVE_STRTOLL
312 # define HAVE_STRTOULL
313 # define HAVE_GETTIMEOFDAY
315 # define HAVE_GMTIME_R
316 # define HAVE_LOCALTIME_R
319 # define SOAP_LONG_FORMAT "%qd"
320 # define SOAP_ULONG_FORMAT "%qu"
321 # elif defined(__VMS)
322 # define HAVE_STRRCHR
326 # define HAVE_STRTOUL
327 # define HAVE_SYS_TIMEB_H
330 # define HAVE_GMTIME_R
331 # define HAVE_LOCALTIME_R
334 # elif defined(__GLIBC__) || defined(__GNU__)
335 # define HAVE_STRRCHR
338 # define HAVE_STRTOD_L
339 # define HAVE_SSCANF_L
340 # define HAVE_SPRINTF_L
342 # define HAVE_STRTOUL
343 # define HAVE_STRTOLL
344 # define HAVE_STRTOULL
345 # define HAVE_SYS_TIMEB_H
348 # define HAVE_GMTIME_R
349 # define HAVE_LOCALTIME_R
354 # elif defined(TRU64)
355 # define HAVE_STRRCHR
359 # define HAVE_STRTOUL
360 # define HAVE_GETTIMEOFDAY
361 # define HAVE_SYS_TIMEB_H
363 # define HAVE_GMTIME_R
364 # define HAVE_LOCALTIME_R
365 # define __USE_STD_IOSTREAM
368 # define SOAP_LONG_FORMAT "%ld"
369 # define SOAP_ULONG_FORMAT "%lu"
370 # elif defined(MAC_CARBON)
372 # define HAVE_STRRCHR
375 # define HAVE_STRTOD_L
376 # define HAVE_SSCANF_L
377 # define HAVE_SPRINTF_L
379 # define HAVE_STRTOUL
382 # define HAVE_GETHOSTBYNAME_R
383 # define HAVE_GMTIME_R
384 # define HAVE_LOCALTIME_R
391 # include <sys_types.h>
392 # define IGNORE_STDIO_STUBS
393 # include <StdIOPalm.h>
394 # define O_NONBLOCK FNONBIO
395 # include <sys_socket.h>
396 # include "palmFunctions.h"
397 # elif defined(SYMBIAN)
399 # define WITH_NONAMESPACES
402 # include <sys/ioctl.h>
403 # elif defined(VXWORKS)
405 # define _POSIX_THREADS 1
407 # define HAVE_STRRCHR
411 # define HAVE_STRTOUL
413 # define HAVE_LOCALTIME
415 # elif defined(OS390)
416 # define HAVE_STRRCHR
420 # define HAVE_STRTOUL
421 # define HAVE_SYS_TIMEB_H
424 # define HAVE_GMTIME_R
425 # define HAVE_LOCALTIME_R
428 # elif defined(AS400)
429 # define HAVE_STRRCHR
433 # define HAVE_STRTOUL
434 # define HAVE_SYS_TIMEB_H
437 # define HAVE_GMTIME_R
438 # define HAVE_LOCALTIME_R
441 # elif defined(__QNX__) || defined(QNX)
444 # define HAVE_STRRCHR
448 # define HAVE_STRTOUL
449 # define HAVE_SYS_TIMEB_H
452 # define HAVE_GETHOSTBYNAME_R
453 # define HAVE_GMTIME_R
454 # define HAVE_LOCALTIME_R
458 # define ULONG64 unsigned LONG64
459 # define SOAP_LONG_FORMAT "%ld"
460 # define SOAP_ULONG_FORMAT "%lu"
463 # define HAVE_STRRCHR
467 # define HAVE_STRTOUL
468 # define HAVE_SYS_TIMEB_H
471 # define HAVE_GETHOSTBYNAME_R
472 # define HAVE_GMTIME_R
473 # define HAVE_LOCALTIME_R
480 #if defined(WIN32) || defined(HP_UX)
481 # define WITH_NOEMPTYSTRUCT
486 # undef HAVE_STRTOULL
490 # include <xlocale.h>
492 # undef HAVE_STRTOF_L
493 # undef HAVE_STRTOD_L
494 # undef HAVE_SSCANF_L
495 # undef HAVE_SPRINTF_L
498 #ifndef WITH_NOSTDLIB
508 #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
529 # include <sys/types.h>
532 # ifdef HAVE_SYS_TIMEB_H
533 # include <sys/timeb.h>
541 # include <sys/socket.h>
542 # include <sys/stream.h>
543 # include <sys/protosw.h>
550 # include <sys/socket.h>
552 # include <sockLib.h>
553 # include <selectLib.h>
555 # include <strings.h>
559 # include <strings.h>
563 # include <sys/stream.h>
564 # include <sys/socketvar.h>
568 # include <sys/times.h>
571 # include <sys/time.h>
573 # include <netinet/in.h>
575 # include <netinet/tcp_var.h>
577 # include <netinet/tcp.h>
579 # include <arpa/inet.h>
585 # define SOAP_WINSOCKINT int
587 # define SOAP_WINSOCKINT size_t
596 # include <winsock2.h>
597 # include <ws2tcpip.h>
598 # include <wspiapi.h>
599 # define SOAP_GAI_STRERROR gai_strerrorA
601 # include <winsock.h>
606 # include <hostLib.h>
613 # include <netinet/in.h>
617 # include <sys/select.h>
624 # include <fcgi_stdio.h>
628 # define OPENSSL_NO_KRB5
629 # include <openssl/bio.h>
630 # include <openssl/err.h>
631 # include <openssl/rand.h>
632 # include <openssl/ssl.h>
633 # include <openssl/x509v3.h>
634 # ifndef ALLOW_OLD_VERSIONS
635 # if (OPENSSL_VERSION_NUMBER < 0x00905100L)
636 # error "Must use OpenSSL 0.9.6 or later"
647 #ifdef WITH_CASEINSENSITIVETAGS
648 # define SOAP_STRCMP soap_tag_cmp
650 # define SOAP_STRCMP strcmp
657 #ifndef WITH_NOSTDLIB
673 # define SOAP_SOCKLEN_T socklen_t
675 # define SOAP_SOCKLEN_T int
677 #elif defined(SOCKLEN_T)
678 # define SOAP_SOCKLEN_T SOCKLEN_T
679 #elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__QNX__) || defined(QNX) || defined(OS390)
680 # define SOAP_SOCKLEN_T socklen_t
681 #elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
682 # define SOAP_SOCKLEN_T int
684 # define SOAP_SOCKLEN_T size_t
689 # define SOAP_SOCKET SOCKET
690 # define soap_closesocket(n) closesocket(n)
692 # define SOAP_SOCKET int
693 # define soap_closesocket(n) close(n)
697 #define SOAP_INVALID_SOCKET ((SOAP_SOCKET)-1)
698 #define soap_valid_socket(n) ((n) != SOAP_INVALID_SOCKET)
700 #ifndef SOAP_GAI_STRERROR
701 # define SOAP_GAI_STRERROR gai_strerror
705 # define FD_SETSIZE (1024)
710 # define ULONG64 unsigned LONG64
711 #elif !defined(WIN32) || defined(CYGWIN) || defined(__GLIBC__) || defined(__GNU__)
713 # if defined(HAVE_STDINT_H)
715 # define LONG64 int64_t
716 # define ULONG64 uint64_t
717 # elif defined(__GLIBC__)
718 # include <bits/wordsize.h>
719 # if (__WORDSIZE == 64)
720 # define LONG64 int64_t
721 # define ULONG64 uint64_t
722 # ifndef SOAP_LONG_FORMAT
723 # define SOAP_LONG_FORMAT "%ld"
725 # ifndef SOAP_ULONG_FORMAT
726 # define SOAP_ULONG_FORMAT "%lu"
729 # define LONG64 long long
730 # define ULONG64 unsigned LONG64
733 # define LONG64 long long
734 # define ULONG64 unsigned LONG64
737 #elif defined(UNDER_CE)
738 # define LONG64 __int64
739 # define ULONG64 unsigned LONG64
740 #elif defined(__BORLANDC__)
741 # define LONG64 __int64
742 # define ULONG64 unsigned LONG64
745 #ifndef SOAP_LONG_FORMAT
746 # define SOAP_LONG_FORMAT "%lld"
749 #ifndef SOAP_ULONG_FORMAT
750 # define SOAP_ULONG_FORMAT "%llu"
753 #if defined(WIN32) && !defined(CYGWIN)
754 # define soap_int32 __int32
755 #elif defined(SYMBIAN)
756 # define soap_int32 long
758 # define soap_int32 Int32
761 # define soap_int32 int32_t
763 # define soap_int32 signed int
766 # define soap_int32 int32_t
770 # define SOAP_ERANGE ERANGE
771 # define SOAP_EINTR WSAEINTR
772 # define SOAP_EAGAIN WSAEWOULDBLOCK
773 # define SOAP_EWOULDBLOCK WSAEWOULDBLOCK
774 # define SOAP_EINPROGRESS WSAEINPROGRESS
775 # define SOAP_EADDRINUSE WSAEADDRINUSE
777 # define SOAP_ERANGE ERANGE
778 # define SOAP_EINTR EINTR
779 # define SOAP_EAGAIN EAGAIN
780 # define SOAP_EADDRINUSE EADDRINUSE
782 # define SOAP_EWOULDBLOCK 9898
783 # define SOAP_EINPROGRESS 9899
785 # define SOAP_EWOULDBLOCK EWOULDBLOCK
786 # define SOAP_EINPROGRESS EINPROGRESS
792 # define soap_errno GetLastError()
793 # define soap_socket_errno(s) GetLastError()
794 # define soap_reset_errno SetLastError(0)
796 # define soap_errno GetLastError()
797 # define soap_socket_errno(s) WSAGetLastError()
798 # define soap_reset_errno SetLastError(0)
802 # define soap_errno errno
803 # define soap_socket_errno(s) errno
804 # define soap_reset_errno (errno = 0)
806 # define soap_errno 0
807 # define soap_socket_errno(s) 0
808 # define soap_reset_errno
814 # define SOAP_BUFLEN (65536)
816 # define SOAP_BUFLEN (2048)
820 # define SOAP_LABLEN (256)
823 # define SOAP_PTRBLK (32)
827 # define SOAP_PTRHASH (1024)
829 # define SOAP_PTRHASH (32)
834 # define SOAP_IDHASH (1999)
836 # define SOAP_IDHASH (19)
841 # define SOAP_BLKLEN (256)
843 # define SOAP_BLKLEN (32)
848 # define SOAP_TAGLEN (1024)
850 # define SOAP_TAGLEN (64)
855 # define SOAP_HDRLEN (8192)
857 # define SOAP_HDRLEN (1024)
862 # define SOAP_MAXDIMS (16)
864 # define SOAP_MAXDIMS (4)
869 # define SOAP_MAXLOGS (3)
870 # define SOAP_INDEX_RECV (0)
871 # define SOAP_INDEX_SENT (1)
872 # define SOAP_INDEX_TEST (2)
876 #ifndef SOAP_MAXKEEPALIVE
877 # define SOAP_MAXKEEPALIVE (100)
883 #ifndef SOAP_MAXARRAYSIZE
884 # define SOAP_MAXARRAYSIZE (1000000)
889 # include <private/mathP.h>
893 # define soap_isnan(num) isNan(num)
902 # define soap_isnan(num) _isnan(num)
912 extern "C" int isnan(
double);
918 #if !defined(HAVE_ISNAN) && (defined(_MATH_H) || defined(_MATH_INCLUDED))
927 # define FLT_MAX _ARCH_FLT_MAX
930 # define DBL_MAX _ARCH_DBL_MAX
935 # define FLT_NAN (*(float*)(void*)&soap_double_nan)
939 # if defined(FLT_MAX)
940 # define FLT_PINFTY FLT_MAX
941 # elif defined(HUGE_VALF)
942 # define FLT_PINFTY (float)HUGE_VALF
943 # elif defined(HUGE_VAL)
944 # define FLT_PINFTY (float)HUGE_VAL
945 # elif defined(FLOAT_MAX)
946 # define FLT_PINFTY FLOAT_MAX
948 # define FLT_PINFTY (3.40282347e+38F)
953 # define FLT_NINFTY (-FLT_PINFTY)
957 # define DBL_NAN (*(double*)(void*)&soap_double_nan)
961 # if defined(DBL_MAX)
962 # define DBL_PINFTY DBL_MAX
963 # elif defined(HUGE_VALF)
964 # define DBL_PINFTY (double)HUGE_VALF
965 # elif defined(HUGE_VAL)
966 # define DBL_PINFTY (double)HUGE_VAL
967 # elif defined(DOUBLE_MAX)
968 # define DBL_PINFTY DOUBLE_MAX
970 # define DBL_PINFTY (1.7976931348623157e+308)
975 # define DBL_NINFTY (-DBL_PINFTY)
980 # define soap_isnan(n) isnan(n)
982 # define soap_isnan(n) (0)
986 #define soap_ispinfd(n) ((n) >= DBL_PINFTY)
987 #define soap_ispinff(n) ((n) >= FLT_PINFTY)
988 #define soap_isninfd(n) ((n) <= DBL_NINFTY)
989 #define soap_isninff(n) ((n) <= FLT_NINFTY)
996 #define SOAP_CLI_FAULT 1
997 #define SOAP_SVR_FAULT 2
998 #define SOAP_TAG_MISMATCH 3
1000 #define SOAP_SYNTAX_ERROR 5
1001 #define SOAP_NO_TAG 6
1003 #define SOAP_MUSTUNDERSTAND 8
1004 #define SOAP_NAMESPACE 9
1005 #define SOAP_USER_ERROR 10
1006 #define SOAP_FATAL_ERROR 11
1007 #define SOAP_FAULT 12
1008 #define SOAP_NO_METHOD 13
1009 #define SOAP_NO_DATA 14
1010 #define SOAP_GET_METHOD 15
1011 #define SOAP_PUT_METHOD 16
1012 #define SOAP_DEL_METHOD 17
1013 #define SOAP_HEAD_METHOD 18
1014 #define SOAP_HTTP_METHOD 19
1018 #define SOAP_NULL 23
1019 #define SOAP_DUPLICATE_ID 24
1020 #define SOAP_MISSING_ID 25
1021 #define SOAP_HREF 26
1022 #define SOAP_UDP_ERROR 27
1023 #define SOAP_TCP_ERROR 28
1024 #define SOAP_HTTP_ERROR 29
1025 #define SOAP_SSL_ERROR 30
1026 #define SOAP_ZLIB_ERROR 31
1027 #define SOAP_DIME_ERROR 32
1028 #define SOAP_DIME_HREF 33
1029 #define SOAP_DIME_MISMATCH 34
1030 #define SOAP_DIME_END 35
1031 #define SOAP_MIME_ERROR 36
1032 #define SOAP_MIME_HREF 37
1033 #define SOAP_MIME_END 38
1034 #define SOAP_VERSIONMISMATCH 39
1035 #define SOAP_PLUGIN_ERROR 40
1036 #define SOAP_DATAENCODINGUNKNOWN 41
1037 #define SOAP_REQUIRED 42
1038 #define SOAP_PROHIBITED 43
1039 #define SOAP_OCCURS 44
1040 #define SOAP_LENGTH 45
1041 #define SOAP_FD_EXCEEDED 46
1043 #define soap_xml_error_check(e) ((e) == SOAP_TAG_MISMATCH || (e) == SOAP_NO_TAG || (e) == SOAP_SYNTAX_ERROR || (e) == SOAP_NAMESPACE || (e) == SOAP_DUPLICATE_ID || (e) == SOAP_MISSING_ID || (e) == SOAP_REQUIRED || (e) == SOAP_PROHIBITED || (e) == SOAP_OCCURS || (e) == SOAP_LENGTH || (e) == SOAP_NULL || (e) == SOAP_HREF)
1044 #define soap_soap_error_check(e) ((e) == SOAP_CLI_FAULT || (e) == SOAP_SVR_FAULT || (e) == SOAP_VERSIONMISMATCH || (e) == SOAP_MUSTUNDERSTAND || (e) == SOAP_FAULT || (e) == SOAP_NO_METHOD)
1045 #define soap_tcp_error_check(e) ((e) == SOAP_EOF || (e) == SOAP_TCP_ERROR)
1046 #define soap_ssl_error_check(e) ((e) == SOAP_SSL_ERROR)
1047 #define soap_zlib_error_check(e) ((e) == SOAP_ZLIB_ERROR)
1048 #define soap_http_error_check(e) ((e) == SOAP_HTTP_ERROR || ((e) >= SOAP_GET_METHOD && (e) <= SOAP_HTTP_METHOD)|| (e) == SOAP_NO_DATA || ((e) >= 100 && (e) < 600))
1056 #define SOAP_STOP 1000
1057 #define SOAP_FORM 1001
1058 #define SOAP_HTML 1002
1059 #define SOAP_FILE 1003
1063 #define SOAP_POST 2000
1064 #define SOAP_GET 2001
1068 #define SOAP_DIME_CF 0x01
1069 #define SOAP_DIME_ME 0x02
1070 #define SOAP_DIME_MB 0x04
1071 #define SOAP_DIME_VERSION 0x08
1072 #define SOAP_DIME_MEDIA 0x10
1073 #define SOAP_DIME_ABSURI 0x20
1077 #define SOAP_ZLIB_NONE 0x00
1078 #define SOAP_ZLIB_DEFLATE 0x01
1079 #define SOAP_ZLIB_INFLATE 0x02
1080 #define SOAP_ZLIB_GZIP 0x02
1086 #define SOAP_IO 0x00000003
1087 #define SOAP_IO_FLUSH 0x00000000
1088 #define SOAP_IO_BUFFER 0x00000001
1089 #define SOAP_IO_STORE 0x00000002
1090 #define SOAP_IO_CHUNK 0x00000003
1092 #define SOAP_IO_UDP 0x00000004
1094 #define SOAP_IO_LENGTH 0x00000008
1095 #define SOAP_IO_KEEPALIVE 0x00000010
1097 #define SOAP_ENC_LATIN 0x00000020
1098 #define SOAP_ENC_XML 0x00000040
1099 #define SOAP_ENC_DIME 0x00000080
1100 #define SOAP_ENC_MIME 0x00000100
1101 #define SOAP_ENC_MTOM 0x00000200
1102 #define SOAP_ENC_ZLIB 0x00000400
1103 #define SOAP_ENC_SSL 0x00000800
1105 #define SOAP_ENC 0x00000FFF
1107 #define SOAP_XML_STRICT 0x00001000
1108 #define SOAP_XML_INDENT 0x00002000
1109 #define SOAP_XML_CANONICAL 0x00004000
1110 #define SOAP_XML_TREE 0x00008000
1111 #define SOAP_XML_GRAPH 0x00010000
1112 #define SOAP_XML_NIL 0x00020000
1113 #define SOAP_XML_DOM 0x00040000
1114 #define SOAP_XML_SEC 0x00080000
1116 #define SOAP_C_NOIOB 0x00100000
1117 #define SOAP_C_UTFSTRING 0x00200000
1118 #define SOAP_C_MBSTRING 0x00400000
1119 #define SOAP_C_NILSTRING 0x00800000
1121 #define SOAP_DOM_TREE 0x01000000
1122 #define SOAP_DOM_NODE 0x02000000
1123 #define SOAP_DOM_ASIS 0x04000000
1125 #define SOAP_MIME_POSTCHECK 0x10000000
1127 #define SOAP_IO_DEFAULT SOAP_IO_FLUSH
1131 #define SOAP_SSL_NO_AUTHENTICATION 0x00
1132 #define SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION 0x01
1133 #define SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION 0x02
1134 #define SOAP_SSL_SKIP_HOST_CHECK 0x04
1135 #define SOAP_SSL_ALLOW_EXPIRED_CERTIFICATE 0x08
1136 #define SOAP_SSL_NO_DEFAULT_CA_PATH 0x10
1137 #define SOAP_SSL_RSA 0x20
1138 #define SOAP_SSLv3 0x40
1139 #define SOAP_TLSv1 0x80
1140 #define SOAP_SSLv3_TLSv1 0x00
1142 #define SOAP_SSL_DEFAULT (SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION | SOAP_SSLv3_TLSv1)
1150 #define soap_check_state(soap) (!(soap) || ((soap)->state != SOAP_INIT && (soap)->state != SOAP_COPY))
1154 #define SOAP_BEGIN 0
1155 #define SOAP_IN_ENVELOPE 2
1156 #define SOAP_IN_HEADER 3
1157 #define SOAP_END_HEADER 4
1158 #define SOAP_NO_BODY 5
1159 #define SOAP_IN_BODY 6
1160 #define SOAP_END_BODY 7
1161 #define SOAP_END_ENVELOPE 8
1163 #define SOAP_BEGIN_SECURITY 10
1164 #define SOAP_IN_SECURITY 11
1165 #define SOAP_END_SECURITY 12
1174 # ifndef SOAP_MEM_DEBUG
1175 # define SOAP_MEM_DEBUG
1180 #ifdef SOAP_MEM_DEBUG
1181 # ifndef SOAP_MALLOC
1182 # define SOAP_MALLOC(soap, size) soap_track_malloc(soap, __FILE__, __LINE__, size)
1185 # define SOAP_FREE(soap, ptr) soap_track_free(soap, __FILE__, __LINE__, ptr)
1190 # define SOAP_MALLOC(soap, size) malloc(size)
1194 # define SOAP_FREE(soap, ptr) free(ptr)
1198 # ifndef SOAP_MESSAGE
1199 # define SOAP_MESSAGE fprintf
1202 # define DBGLOG(DBGFILE, CMD) \
1204 {if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
1205 soap_open_logfile((struct soap*)soap, SOAP_INDEX_##DBGFILE);\
1206 if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
1207 {FILE *fdebug = soap->fdebug[SOAP_INDEX_##DBGFILE];\
1215 # define DBGMSG(DBGFILE, MSG, LEN) \
1217 {if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
1218 soap_open_logfile((struct soap*)soap, SOAP_INDEX_##DBGFILE);\
1219 if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
1220 {fwrite((MSG), 1, (LEN), soap->fdebug[SOAP_INDEX_##DBGFILE]);\
1221 fflush(soap->fdebug[SOAP_INDEX_##DBGFILE]);\
1227 # define DBGFUN(FNAME) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s()\n", __FILE__, __LINE__, FNAME))
1228 # define DBGFUN1(FNAME, FMT, ARG) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT")\n", __FILE__, __LINE__, FNAME, (ARG)))
1229 # define DBGFUN2(FNAME, FMT1, ARG1, FMT2, ARG2) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT1", "FMT2")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2)))
1230 # define DBGFUN3(FNAME, FMT1, ARG1, FMT2, ARG2, FMT3, ARG3) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT1", "FMT2", "FMT3")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2), (ARG3)))
1233 # define DBGHEX(DBGFILE, MSG, LEN) \
1235 {if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
1236 soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\
1237 if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
1239 for (s = (char*)(MSG), i = (LEN); i; i--)\
1240 fprintf(soap->fdebug[SOAP_INDEX_##DBGFILE], "%2.2X ", (int)*s++&0xFF);\
1241 fflush(soap->fdebug[SOAP_INDEX_##DBGFILE]);\
1247 # define DBGLOG(DBGFILE, CMD)
1248 # define DBGMSG(DBGFILE, MSG, LEN)
1249 # define DBGFUN(FNAME)
1250 # define DBGFUN1(FNAME, FMT, ARG)
1251 # define DBGFUN2(FNAME, FMT1, ARG1, FMT2, ARG2)
1252 # define DBGFUN3(FNAME, FMT1, ARG1, FMT2, ARG2, FMT3, ARG3)
1253 # define DBGHEX(DBGFILE, MSG, LEN)
1312 #ifdef SOAP_MEM_DEBUG
1316 struct soap_mlist *next;
1366 class soap_multipart_iterator
1370 bool operator==(
const soap_multipart_iterator& iter)
const
1371 {
return (
bool)(content == iter.content);}
1372 bool operator!=(
const soap_multipart_iterator& iter)
const
1373 {
return (
bool)(content != iter.content);}
1376 soap_multipart_iterator &operator++()
1378 soap_multipart_iterator() : content(NULL)
1399 soap_multipart_iterator begin()
1400 {soap_multipart_iterator iter(
list);
return iter;};
1401 soap_multipart_iterator end()
1402 {soap_multipart_iterator iter(NULL);
return iter;};
1415 soap_multipart_iterator begin()
1416 {soap_multipart_iterator iter(
list);
return iter;};
1417 soap_multipart_iterator end()
1418 {soap_multipart_iterator iter(NULL);
return iter;};
1451 typedef soap_multipart_iterator iterator;
1473 class soap_dom_attribute_iterator
1479 bool operator==(
const soap_dom_attribute_iterator&)
const;
1480 bool operator!=(
const soap_dom_attribute_iterator&)
const;
1482 soap_dom_attribute_iterator &operator++();
1483 soap_dom_attribute_iterator();
1485 ~soap_dom_attribute_iterator();
1500 typedef soap_dom_attribute_iterator iterator;
1503 soap_dom_attribute_iterator begin();
1504 soap_dom_attribute_iterator end();
1505 soap_dom_attribute_iterator find(
const char *
nstr,
const char *
name);
1517 class soap_dom_element_iterator
1524 bool operator==(
const soap_dom_element_iterator&)
const;
1525 bool operator!=(
const soap_dom_element_iterator&)
const;
1527 soap_dom_element_iterator &operator++();
1528 soap_dom_element_iterator();
1530 ~soap_dom_element_iterator();
1552 typedef soap_dom_element_iterator iterator;
1560 soap_dom_element_iterator begin();
1561 soap_dom_element_iterator end();
1562 soap_dom_element_iterator find(
const char *
nstr,
const char *
name);
1563 soap_dom_element_iterator find(
int type);
1577 #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
1588 # ifdef SOAP_STD_EXPORTS
1589 # define SOAP_STD_API __declspec(dllexport)
1591 # define SOAP_STD_API
1594 # define SOAP_STD_API
1638 int (*fpost)(
struct soap*,
const char*,
const char*, int,
const char*,
const char*, size_t);
1650 int (*fconnect)(
struct soap*,
const char*,
const char*, int);
1663 void *(*fplugin)(
struct soap*,
const char*);
1664 void *(*fmalloc)(
struct soap*, size_t);
1670 void *(*fdimereadopen)(
struct soap*,
void*,
const char*,
const char*,
const char*);
1671 void *(*fdimewriteopen)(
struct soap*,
const char*,
const char*,
const char*);
1676 void *(*fmimereadopen)(
struct soap*,
void*,
const char*,
const char*,
const char*);
1685 #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
1764 #if !defined(WITH_LEAN) || defined(SOAP_DEBUG)
1782 struct sockaddr_storage peer;
1784 struct sockaddr_in peer;
1789 int (*fsslauth)(
struct soap*);
1813 #ifdef WITH_C_LOCALE
1839 soap(soap_mode, soap_mode);
1887 #ifndef WITH_NONAMESPACES
1892 # define soap_get0(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx])
1893 # define soap_get1(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) ? EOF : (unsigned char)(soap)->buf[(soap)->bufidx++])
1899 #define soap_revget1(soap) ((soap)->bufidx--)
1900 #define soap_unget(soap, c) ((soap)->ahead = c)
1901 #define soap_register_plugin(soap, plugin) soap_register_plugin_arg(soap, plugin, NULL)
1902 #define soap_imode(soap, n) ((soap)->mode = (soap)->imode = (n))
1903 #define soap_set_imode(soap, n) ((soap)->imode |= (n))
1904 #define soap_clr_imode(soap, n) ((soap)->imode &= ~(n))
1905 #define soap_omode(soap, n) ((soap)->mode = (soap)->omode = (n))
1906 #define soap_set_omode(soap, n) ((soap)->omode |= (n))
1907 #define soap_clr_omode(soap, n) ((soap)->omode &= ~(n))
1908 #define soap_set_mode(soap, n) ((soap)->imode |= (n), (soap)->omode |= (n))
1909 #define soap_clr_mode(soap, n) ((soap)->imode &= ~(n), (soap)->omode &= ~(n))
1910 #define soap_destroy(soap) soap_delete((soap), NULL)
1913 # define soap_strrchr(s, t) strrchr(s, t)
1919 # define soap_strtol(s, t, b) strtol(s, t, b)
1925 # define soap_strtoul(s, t, b) strtoul(s, t, b)
1930 #if defined(WITH_OPENSSL)
1931 # define soap_random soap_rand()
1933 #elif defined(HAVE_RANDOM)
1934 # define soap_random (int)random()
1936 # define soap_random rand()
1940 # define soap_embedded(s, p, t) (0)
1941 # define soap_id_lookup(s, i, p, t, n, k) (p)
1942 # define soap_id_forward(s, h, p, len, st, tt, n, k, fc) (p)
1943 # define soap_reference(s, a, t) (1)
1944 # define soap_array_reference(s, p, a, n, t) (1)
1945 # define soap_embed(s, p, a, n, t, pp) (0)
1946 # define soap_embedded_id(s, i, p, t) (i)
1947 # define soap_is_embedded(s, p) (0)
1948 # define soap_is_single(s, p) (1)
1949 # define soap_lookup_type(s, i) (0)
1950 # define soap_getindependent(s) (0)
1951 # define soap_putindependent(s) (0)
1952 # define soap_getelement(s, n) (n)
1953 # define soap_putelement(s, p, t, i, n) (0)
1954 # define soap_markelement(s, p, n) (0)
2023 #ifndef WITH_NOIDREF
2066 #ifndef WITH_NOIDREF
2069 SOAP_FMAC1 void*
SOAP_FMAC2 soap_id_forward(
struct soap*,
const char *
id,
void *p,
size_t len,
int st,
int tt,
size_t n,
unsigned int k,
void(*fcopy)(
struct soap*,
int,
int,
void*,
size_t,
const void*,
size_t));
2071 SOAP_FMAC1 void*
SOAP_FMAC2 soap_id_enter(
struct soap*,
const char *
id,
void *p,
int t,
size_t n,
unsigned int k,
const char *type,
const char *arrayType,
void *(*finstantiate)(
struct soap*,
int,
const char*,
const char*,
size_t*));
2198 #ifndef WITH_NOSTDLIB
2302 SOAP_FMAC1 int SOAP_FMAC2 soap_attachment(
struct soap *,
const char*,
int,
const void*,
const struct soap_array*,
const char*,
const char*,
const char*,
int,
const char*,
int);
2342 SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_expire(
struct soap*,
const char*,
long,
const char*,
const char*);
int(* fheader)(struct soap *)
void(* fdimewriteclose)(struct soap *, void *)
int soap_outwliteral(struct soap *, const char *tag, wchar_t *const *p, const char *type)
int soap_set_sender_error(struct soap *, const char *, const char *, int)
int soap_s2LONG64(struct soap *, const char *, long long *)
void * soap_id_enter(struct soap *, const char *id, void *p, int t, size_t n, unsigned int k, const char *type, const char *arrayType, void *(*finstantiate)(struct soap *, int, const char *, const char *, size_t *))
struct soap_cookie * next
int soap_dime_forward(struct soap *, unsigned char **, int *, char **, char **, char **)
const char * soap_current_namespace(struct soap *soap, const char *tag)
void soap_free(struct soap *)
void soap_fcopy(struct soap *soap, int st, int tt, void *p, size_t, const void *q, size_t n)
int soap_outwstring(struct soap *, const char *tag, int id, wchar_t *const *p, const char *, int)
struct soap_blist * blist
int soap_recv_empty_response(struct soap *)
int soap_recv_header(struct soap *)
void soap_dealloc(struct soap *, void *)
const char * soap_decode_val(char *, size_t, const char *)
int soap_ssl_client_context(struct soap *, unsigned short, const char *, const char *, const char *, const char *, const char *)
int soap_element_end_in(struct soap *, const char *tag)
void soap_done(struct soap *)
const char * cookie_domain
int soap_is_single(struct soap *, struct soap_plist *)
int soap_recv_fault(struct soap *)
int soap_element_ref(struct soap *, const char *tag, int id, int href)
void * soap_lookup_plugin(struct soap *, const char *)
void soap_serializeheader(struct soap *)
int soap_puthex(struct soap *, const unsigned char *, int)
int soap_recv(struct soap *)
int soap_body_begin_in(struct soap *)
void soap_revert(struct soap *)
wchar_t ** soap_inwliteral(struct soap *, const char *tag, wchar_t **p)
int soap_outLONG64(struct soap *, const char *tag, int id, const long long *p, const char *, int)
struct soap_dom_element * dom
const char * dime_id_format
void soap_track_free(struct soap *, const char *, int, void *)
int soap_body_end_out(struct soap *)
const char * soap_wchar2s(struct soap *, const wchar_t *)
int soap_element_null(struct soap *, const char *tag, int id, const char *type)
const char * soap_base642s(struct soap *, const char *, char *, size_t, int *)
struct soap_multipart * first
struct soap_plugin * plugins
int soap_tag_cmp(const char *, const char *)
int soap_element(struct soap *, const char *, int, const char *)
int soap_set_namespaces(struct soap *, const struct Namespace *)
struct soap_ilist * soap_enter(struct soap *, const char *)
void soap_serializefault(struct soap *)
int soap_outdouble(struct soap *, const char *tag, int id, const double *p, const char *, int)
const char * soap_unsignedByte2s(struct soap *, unsigned char)
int soap_outfloat(struct soap *, const char *tag, int id, const float *p, const char *, int)
struct soap_multipart * list
int(* faccept)(struct soap *, int, struct sockaddr *, int *n)
unsigned int tcp_keep_idle
int soap_putdime(struct soap *)
void(* fmimereadclose)(struct soap *, void *)
int soap_getposition(const char *, int *)
soap_wchar soap_getchar(struct soap *)
int soap_peek_element(struct soap *)
wchar_t ** soap_inwstring(struct soap *, const char *tag, wchar_t **p, const char *, int, long, long)
char * soap_sprint_fault(struct soap *, char *, size_t)
char * soap_s2base64(struct soap *, const unsigned char *, char *, int)
int soap_putheader(struct soap *)
int soap_puthttphdr(struct soap *, int status, size_t count)
int soap_send_fault(struct soap *)
int soap_ssl_server_context(struct soap *, unsigned short, const char *, const char *, const char *, const char *, const char *, const char *, const char *)
const char * soap_long2s(struct soap *, long)
struct soap_multipart * first
int soap_size(const int *, int)
struct soap * soap_new2(soap_mode, soap_mode)
int(* fserveloop)(struct soap *)
int soap_xop_forward(struct soap *, unsigned char **, int *, char **, char **, char **)
const char * http_version
const char * soap_float2s(struct soap *, float)
int(* fdisconnect)(struct soap *)
int soap_attribute(struct soap *, const char *, const char *)
int soap_getsizes(const char *, int *, int)
int soap_connect(struct soap *, const char *, const char *)
struct SOAP_ENV__Fault * fault
#define soap_strtol(s, t, b)
struct soap_nlist * soap_lookup_ns(struct soap *soap, const char *tag, size_t n)
char * soap_dime_option(struct soap *, unsigned short, const char *)
void * soap_push_block(struct soap *, struct soap_blist *, size_t)
time_t * soap_indateTime(struct soap *, const char *tag, time_t *p, const char *, int)
int(* fhead)(struct soap *)
int soap_send_empty_response(struct soap *, int status)
struct soap_plugin * next
int soap_array_pointer_lookup(struct soap *, const void *p, const struct soap_array *a, int n, int t, struct soap_plist **)
std::istream & operator>>(std::istream &is, CTableCell &cell)
int soap_end_count(struct soap *)
int soap_envelope_begin_in(struct soap *)
int soap_s2long(struct soap *, const char *, long *)
int soap_putmimehdr(struct soap *, struct soap_multipart *)
int soap_array_reference(struct soap *, const void *p, const struct soap_array *a, int n, int t)
const struct soap_array * array
const struct Namespace * namespaces
int soap_pututf8(struct soap *, unsigned long)
struct soap_multipart * list
void soap_pop_block(struct soap *, struct soap_blist *)
char * soap_strdup(struct soap *, const char *)
int(* fcopy)(struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src)
enum soap_mime_encoding encoding
void soap_set_mime(struct soap *, const char *boundary, const char *start)
const char * soap_get_header_attribute(struct soap *, const char *, const char *)
short * soap_inshort(struct soap *, const char *tag, short *p, const char *, int)
struct soap_multipart * soap_get_mime_attachment(struct soap *soap, void *handle)
void soap_set_endpoint(struct soap *, const char *)
const char * soap_value(struct soap *)
int soap_check_mime_attachments(struct soap *soap)
int soap_string_out(struct soap *, const char *s, int flag)
void soap_end_block(struct soap *, struct soap_blist *)
struct soap_clist * clist
int soap_lookup_type(struct soap *, const char *id)
int soap_is_embedded(struct soap *, struct soap_plist *)
int soap_accept(struct soap *)
struct soap_dom_element * prnt
int soap_move(struct soap *, long)
size_t(* fdimeread)(struct soap *, void *, char *, size_t)
int soap_envelope_end_out(struct soap *)
struct soap_attribute * next
int soap_store_lab(struct soap *, const char *, size_t)
int(* fpoll)(struct soap *)
const char * soap_unsignedInt2s(struct soap *, unsigned int)
int soap_body_begin_out(struct soap *)
int(* fform)(struct soap *)
int soap_outint(struct soap *, const char *tag, int id, const int *p, const char *, int)
void soap_init1(struct soap *, soap_mode)
struct Namespace * local_namespaces
void soap_cleanup(struct soap *)
int soap_resolve(struct soap *)
int soap_wstring_out(struct soap *, const wchar_t *s, int flag)
int soap_match_cid(struct soap *, const char *, const char *)
int(* fdelete)(struct soap_clist *)
int soap_envelope_end_in(struct soap *)
int soap_begin_send(struct soap *)
struct soap_multipart * soap_next_multipart(struct soap_multipart *)
int soap_s2float(struct soap *, const char *, float *)
int soap_set_attr(struct soap *soap, const char *name, const char *value)
const char ** soap_faultstring(struct soap *)
void soap_embedded(struct soap *, const void *p, int t)
#define soap_strtoul(s, t, b)
char session_host[(1024)]
int(* fresolve)(struct soap *, const char *, struct in_addr *inaddr)
int soap_s2unsignedByte(struct soap *, const char *, unsigned char *)
int soap_send(struct soap *, const char *)
int soap_s2ULONG64(struct soap *, const char *, unsigned long long *)
int soap_pointer_lookup_id(struct soap *, void *p, int t, struct soap_plist **)
int soap_getmime(struct soap *)
int soap_s2short(struct soap *, const char *, short *)
const char * proxy_http_version
int soap_outdateTime(struct soap *, const char *tag, int id, const time_t *p, const char *, int)
char * soap_first_block(struct soap *, struct soap_blist *)
const char ** soap_faultsubcode(struct soap *)
const char * soap_byte2s(struct soap *, char)
int soap_set_receiver_error(struct soap *, const char *, const char *, int)
int soap_s2unsignedLong(struct soap *, const char *, unsigned long *)
const char ** soap_faultcode(struct soap *)
long * soap_inlong(struct soap *, const char *tag, long *p, const char *, int)
int soap_s2wchar(struct soap *, const char *, wchar_t **)
void * soap_track_malloc(struct soap *, const char *, int, size_t)
void * soap_id_forward(struct soap *, const char *id, void *p, size_t len, int st, int tt, size_t n, unsigned int k, void(*fcopy)(struct soap *, int, int, void *, size_t, const void *, size_t))
int(* fdel)(struct soap *)
struct soap_dom_element * soap_dom_next_element(struct soap_dom_element *elt)
int soap_response(struct soap *, int)
int soap_getheader(struct soap *)
int soap_element_begin_out(struct soap *, const char *tag, int id, const char *type)
const char * http_content
long soap_code_bits(const struct soap_code_map *, const char *)
int * soap_inint(struct soap *, const char *tag, int *p, const char *, int)
struct soap * soap_copy_context(struct soap *, const struct soap *)
int soap_bind(struct soap *, const char *, int, int)
int soap_s2double(struct soap *, const char *, double *)
char * soap_s2hex(struct soap *, const unsigned char *, char *, int)
double * soap_indouble(struct soap *, const char *tag, double *p, const char *, int)
int soap_s2unsignedShort(struct soap *, const char *, unsigned short *)
void soap_del(struct soap *)
size_t soap_hash(const char *)
long long * soap_inLONG64(struct soap *, const char *tag, long long *p, const char *, int)
int soap_getsize(const char *, const char *, int *)
char ** soap_inliteral(struct soap *, const char *tag, char **p)
void soap_set_embedded(struct soap *, struct soap_plist *)
int soap_end_recv(struct soap *)
int(* fshutdownsocket)(struct soap *, int, int)
const char * soap_hex2s(struct soap *, const char *, char *, size_t, int *)
int(* fpreparesend)(struct soap *, const char *, size_t)
int soap_outstring(struct soap *, const char *tag, int id, char *const *p, const char *, int)
int soap_putmime(struct soap *)
const char * soap_short2s(struct soap *, short)
int soap_closesock(struct soap *)
int(* fposthdr)(struct soap *, const char *, const char *)
int(* fpreparefinal)(struct soap *)
int soap_begin_recv(struct soap *)
int(* fdimewrite)(struct soap *, void *, const char *, size_t)
std::ostream & operator<<(std::ostream &os, const CNormalCall &d)
const char * soap_strsearch(const char *big, const char *little)
int soap_send2(struct soap *, const char *, const char *)
size_t soap_size_block(struct soap *, struct soap_blist *, size_t)
int soap_getoffsets(const char *, const int *, int *, int)
int soap_send_raw(struct soap *, const char *, size_t)
int soap_flush(struct soap *)
void(* fcopy)(struct soap *, int, int, void *, size_t, const void *, size_t)
int soap_getdime(struct soap *)
int soap_putbase64(struct soap *, const unsigned char *, int)
int soap_outunsignedShort(struct soap *, const char *tag, int id, const unsigned short *p, const char *, int)
soap_wchar soap_get(struct soap *)
int soap_outbyte(struct soap *, const char *tag, int id, const char *p, const char *, int)
char * soap_next_block(struct soap *, struct soap_blist *)
struct soap_dom_attribute * soap_dom_next_attribute(struct soap_dom_attribute *att)
size_t(* fmimeread)(struct soap *, void *, char *, size_t)
int soap_element_href(struct soap *, const char *tag, int id, const char *ref, const char *val)
int soap_s2unsignedInt(struct soap *, const char *, unsigned int *)
int(* fclosesocket)(struct soap *, int)
const char * soap_QName2s(struct soap *, const char *)
const char * soap_unsignedLong2s(struct soap *, unsigned long)
int soap_sender_fault(struct soap *, const char *, const char *)
struct soap_dom_element * next
int soap_append_lab(struct soap *, const char *, size_t)
const char * soap_dateTime2s(struct soap *, time_t)
const char * proxy_userid
int soap_match_namespace(struct soap *, const char *, const char *, size_t n1, size_t n2)
void soap_clr_mime(struct soap *)
int soap_s2dateTime(struct soap *, const char *, time_t *)
unsigned long * soap_inunsignedLong(struct soap *, const char *tag, unsigned long *p, const char *, int)
void * soap_id_lookup(struct soap *, const char *id, void **p, int t, size_t n, unsigned int k)
const char * soap_int2s(struct soap *, int)
long soap_code_int(const struct soap_code_map *, const char *, long)
const char * soap_code_str(const struct soap_code_map *, long)
size_t soap_tell(struct soap *)
unsigned char * soap_inunsignedByte(struct soap *, const char *tag, unsigned char *p, const char *, int)
struct soap * soap_copy(const struct soap *)
int soap_outunsignedLong(struct soap *, const char *tag, int id, const unsigned long *p, const char *, int)
unsigned long long * soap_inULONG64(struct soap *, const char *tag, unsigned long long *p, const char *, int)
struct SOAP_ENV__Header * header
const char * proxy_passwd
static size_t frecv(struct soap *, char *, size_t)
int soap_push_namespace(struct soap *, const char *, const char *)
struct soap_ilist * soap_lookup(struct soap *, const char *)
int soap_outliteral(struct soap *, const char *tag, char *const *p, const char *type)
void soap_print_fault(struct soap *, FILE *)
struct soap_clist * soap_link(struct soap *, void *, int, int, int(*fdelete)(struct soap_clist *))
struct soap_blist * soap_new_block(struct soap *)
int(* fput)(struct soap *)
struct soap_multipart * last
void soap_free_temp(struct soap *)
int soap_getline(struct soap *, char *, int)
unsigned char * soap_gethex(struct soap *, int *)
void(* fseterror)(struct soap *, const char **c, const char **s)
struct soap_multipart * next
int soap_s2string(struct soap *, const char *, char **)
const char * soap_ULONG642s(struct soap *, unsigned long long)
int soap_s2byte(struct soap *, const char *, char *)
struct Namespace namespaces[]
void soap_open_logfile(struct soap *soap, int i)
size_t soap_block_size(struct soap *, struct soap_blist *)
int soap_receiver_fault_subcode(struct soap *, const char *, const char *, const char *)
struct soap_multipart * last
struct soap_dom_attribute * next
struct soap_attribute * attributes
int soap_poll(struct soap *)
int soap_element_start_end_out(struct soap *, const char *tag)
char * soap_string_in(struct soap *, int, long, long)
int soap_send3(struct soap *, const char *, const char *, const char *)
static int fsend(struct soap *, const char *, size_t)
int soap_getdimehdr(struct soap *)
int soap_outunsignedInt(struct soap *, const char *tag, int id, const unsigned int *p, const char *, int)
int soap_embedded_id(struct soap *, int id, const void *p, int t)
wchar_t * soap_wstring_in(struct soap *, int, long, long)
void soap_clr_dime(struct soap *)
int(* fparsehdr)(struct soap *, const char *, const char *)
int soap_sender_fault_subcode(struct soap *, const char *, const char *, const char *)
int soap_envelope_begin_out(struct soap *)
int soap_outlong(struct soap *, const char *tag, int id, const long *p, const char *, int)
int(* fprepareinit)(struct soap *)
void soap_unlink(struct soap *, const void *)
const char * float_format
int soap_match_tag(struct soap *, const char *, const char *)
int(* fmimewrite)(struct soap *, void *, const char *, size_t)
void soap_set_local_namespaces(struct soap *)
char * soap_putsizesoffsets(struct soap *, const char *, const int *, const int *, int)
void soap_begin(struct soap *)
struct soap * soap_new1(soap_mode)
unsigned int max_keep_alive
#define soap_strrchr(s, t)
void(* fdelete)(struct soap *soap, struct soap_plugin *p)
const char * soap_double2s(struct soap *, double)
int soap_outshort(struct soap *, const char *tag, int id, const short *p, const char *, int)
void soap_print_fault_location(struct soap *, FILE *)
const struct soap_code_map * soap_code(const struct soap_code_map *, const char *)
int(* fresponse)(struct soap *, int, size_t)
wchar_t * soap_wstrdup(struct soap *, const wchar_t *)
int soap_element_id(struct soap *, const char *tag, int id, const void *p, const struct soap_array *a, int d, const char *type, int n)
int soap_pointer_lookup(struct soap *, const void *p, int t, struct soap_plist **)
int soap_outULONG64(struct soap *, const char *tag, int id, const unsigned long long *p, const char *, int)
void soap_header(struct soap *)
struct soap_flist * flist
unsigned short * soap_inunsignedShort(struct soap *, const char *tag, unsigned short *p, const char *, int)
struct soap_plist plist[(32)]
struct soap_xlist * xlist
char * soap_putsizes(struct soap *, const char *, const int *, int)
float * soap_infloat(struct soap *, const char *tag, float *p, const char *, int)
void soap_fault(struct soap *)
int soap_register_plugin_arg(struct soap *, int(*fcreate)(struct soap *, struct soap_plugin *, void *), void *)
int soap_pointer_enter(struct soap *, const void *p, const struct soap_array *a, int n, int t, struct soap_plist **)
void(* fdimereadclose)(struct soap *, void *)
void soap_init2(struct soap *, soap_mode, soap_mode)
unsigned int * soap_inunsignedInt(struct soap *, const char *tag, unsigned int *p, const char *, int)
void soap_set_dime(struct soap *)
int soap_body_end_in(struct soap *)
void soap_init(struct soap *)
char ** soap_instring(struct soap *, const char *tag, char **p, const char *, int, int, long, long)
int(* fpreparerecv)(struct soap *, const char *, size_t)
void * soap_malloc(struct soap *, size_t)
const char * soap_attr_value(struct soap *soap, const char *name, int flag)
struct soap_dom_attribute * atts
char * soap_putoffsets(struct soap *, const int *, int)
void soap_copy_stream(struct soap *, struct soap *)
void soap_set_fault(struct soap *)
struct soap_dom_element * elts
int soap_s2int(struct soap *, const char *, int *)
const struct soap_double_nan soap_double_nan
int soap_s2QName(struct soap *, const char *, char **)
void soap_check_result(struct soap *, const char *tag)
char * soap_putsize(struct soap *, const char *, int)
const char ** soap_faultdetail(struct soap *)
const char * soap_code_list(struct soap *, const struct soap_code_map *, long)
unsigned short linger_time
soap_wchar soap_getutf8(struct soap *)
unsigned int tcp_keep_cnt
int(* fignore)(struct soap *, const char *)
int soap_match_array(struct soap *, const char *)
void soap_clr_attr(struct soap *soap)
int soap_element_result(struct soap *, const char *tag)
char * soap_putoffset(struct soap *, int)
bool operator==(const CExperiment &lhs, const CExperiment &rhs)
int soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type)
void soap_retry(struct soap *)
int soap_connect_command(struct soap *, int, const char *, const char *)
int soap_flush_raw(struct soap *, const char *, size_t)
int soap_receiver_fault(struct soap *, const char *, const char *)
const char * double_format
void soap_pop_namespace(struct soap *)
int(* fget)(struct soap *)
void(* fmimewriteclose)(struct soap *, void *)
unsigned int tcp_keep_intvl
const char * soap_LONG642s(struct soap *, long long)
int soap_attachment(struct soap *, const char *, int, const void *, const struct soap_array *, const char *, const char *, const char *, int, const char *, int)
int soap_ssl_accept(struct soap *)
int soap_set_mime_attachment(struct soap *, char *ptr, size_t size, enum soap_mime_encoding encoding, const char *type, const char *id, const char *location, const char *description)
char * soap_inbyte(struct soap *, const char *tag, char *p, const char *, int)
int soap_element_end_out(struct soap *, const char *tag)
int soap_putfault(struct soap *)
struct soap * soap_new(void)
const char * soap_ssl_error(struct soap *, int)
int soap_recv_raw(struct soap *)
struct soap_nlist * nlist
int(* fparse)(struct soap *)
char * soap_save_block(struct soap *, struct soap_blist *, char *, int)
struct soap_cookie * cookies
int soap_element_begin_in(struct soap *, const char *tag, int nillable, const char *type)
int soap_reference(struct soap *, const void *p, int t)
const char * encodingStyle
int soap_begin_count(struct soap *)
void soap_post_check_mime_attachments(struct soap *soap)
int(* fopen)(struct soap *, const char *, const char *, int)
void soap_delete(struct soap *, void *)
int soap_getmimehdr(struct soap *)
time_t soap_timegm(struct tm *)
void soap_end(struct soap *)
int soap_putdimehdr(struct soap *)
unsigned char * soap_getbase64(struct soap *, int *, int)
const char * soap_unsignedShort2s(struct soap *, unsigned short)
int soap_set_dime_attachment(struct soap *, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option)
int soap_getfault(struct soap *)
int soap_outunsignedByte(struct soap *, const char *tag, int id, const unsigned char *p, const char *, int)
int soap_array_begin_out(struct soap *, const char *tag, int id, const char *type, const char *offset)
const char * soap_decode_key(char *, size_t, const char *)
int soap_end_send(struct soap *)