COPASI API  4.16.103
stdsoap2.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/MIRIAM/WebServicesIssues/stdsoap2.h,v $
3 // $Revision: 1.4 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2009/04/21 16:17:18 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 /*
15  stdsoap2.h 2.7.12
16 
17  gSOAP runtime engine
18 
19 gSOAP XML Web services tools
20 Copyright (C) 2000-2008, Robert van Engelen, Genivia Inc., All Rights Reserved.
21 This part of the software is released under ONE of the following licenses:
22 GPL, or the gSOAP public license, or Genivia's license for commercial use.
23 --------------------------------------------------------------------------------
24 Contributors:
25 
26 Wind River Systems, Inc., for the following additions
27  - vxWorks compatible
28 --------------------------------------------------------------------------------
29 gSOAP public license.
30 
31 The contents of this file are subject to the gSOAP Public License Version 1.3
32 (the "License"); you may not use this file except in compliance with the
33 License. You may obtain a copy of the License at
34 http://www.cs.fsu.edu/~engelen/soaplicense.html
35 Software distributed under the License is distributed on an "AS IS" basis,
36 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
37 for the specific language governing rights and limitations under the License.
38 
39 The Initial Developer of the Original Code is Robert A. van Engelen.
40 Copyright (C) 2000-2008, Robert van Engelen, Genivia Inc., All Rights Reserved.
41 --------------------------------------------------------------------------------
42 GPL license.
43 
44 This program is free software; you can redistribute it and/or modify it under
45 the terms of the GNU General Public License as published by the Free Software
46 Foundation; either version 2 of the License, or (at your option) any later
47 version.
48 
49 This program is distributed in the hope that it will be useful, but WITHOUT ANY
50 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
51 PARTICULAR PURPOSE. See the GNU General Public License for more details.
52 
53 You should have received a copy of the GNU General Public License along with
54 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
55 Place, Suite 330, Boston, MA 02111-1307 USA
56 
57 Author contact information:
58 engelen@genivia.com / engelen@acm.org
59 
60 This program is released under the GPL with the additional exemption that
61 compiling, linking, and/or using OpenSSL is allowed.
62 --------------------------------------------------------------------------------
63 A commercial use license is available from Genivia, Inc., contact@genivia.com
64 --------------------------------------------------------------------------------
65  */
66 
67 #ifdef WITH_SOAPDEFS_H
68 # include "soapdefs.h" /* include user-defined stuff */
69 #endif
70 
71 #ifndef _THREAD_SAFE
72 # define _THREAD_SAFE
73 #endif
74 
75 #ifndef OPENSERVER
76 # ifndef _REENTRANT
77 # define _REENTRANT
78 # endif
79 #endif
80 
81 #ifndef SOAP_FMAC1 /* stdsoap2.h declaration macro */
82 # define SOAP_FMAC1
83 #endif
84 
85 #ifndef SOAP_FMAC2 /* stdsoap2.h declaration macro */
86 # define SOAP_FMAC2
87 #endif
88 
89 #ifndef SOAP_FMAC3 /* (de)serializer declaration macro */
90 # define SOAP_FMAC3
91 #endif
92 
93 #ifndef SOAP_FMAC3S /* string converter for (de)serializer declaration macro */
94 # define SOAP_FMAC3S SOAP_FMAC3
95 #endif
96 
97 #ifndef SOAP_FMAC4 /* (de)serializer declaration macro */
98 # define SOAP_FMAC4
99 #endif
100 
101 #ifndef SOAP_FMAC4S /* string converter for (de)serializer declaration macro */
102 # define SOAP_FMAC4S SOAP_FMAC4
103 #endif
104 
105 #ifndef SOAP_FMAC5 /* stub/skeleton declaration macro */
106 # define SOAP_FMAC5
107 #endif
108 
109 #ifndef SOAP_FMAC6 /* stub/skeleton declaration macro */
110 # define SOAP_FMAC6
111 #endif
112 
113 #ifndef SOAP_CMAC /* class declaration macro */
114 # define SOAP_CMAC
115 #endif
116 
117 #ifndef SOAP_NMAC /* namespace table declaration macro */
118 # define SOAP_NMAC
119 #endif
120 
121 #ifndef SOAP_SOURCE_STAMP
122 # define SOAP_SOURCE_STAMP(str)
123 #endif
124 
125 /* gSOAP 2.7.4 and higher: fast look-aside buffering is stable */
126 #ifndef WITH_FAST
127 # define WITH_FAST
128 #endif
129 
130 #ifdef WITH_LEANER
131 # ifndef WITH_LEAN
132 # define WITH_LEAN
133 # endif
134 #endif
135 
136 #ifdef WITH_LEAN
137 # ifdef WITH_COOKIES
138 # error "Cannot build WITH_LEAN code WITH_COOKIES enabled"
139 # endif
140 #endif
141 
142 #ifndef STDSOAP_H
143 #define STDSOAP_H
144 
145 #if defined(__vxworks) || defined(__VXWORKS__)
146 # define VXWORKS
147 #endif
148 
149 #ifdef _WIN32
150 # ifndef WIN32
151 # define WIN32
152 # endif
153 #endif
154 
155 #ifdef _WIN32_WCE
156 # ifndef UNDER_CE
157 # define UNDER_CE _WIN32_WCE
158 # endif
159 #endif
160 
161 #ifdef UNDER_CE
162 # ifndef WIN32
163 # define WIN32
164 # endif
165 #endif
166 
167 #ifdef __BORLANDC__
168 # ifdef __WIN32__
169 # ifndef WIN32
170 # define WIN32
171 # endif
172 # endif
173 #endif
174 
175 #ifdef __CYGWIN__
176 # ifndef CYGWIN
177 # define CYGWIN
178 # endif
179 #endif
180 
181 #ifdef __SYMBIAN32__
182 # define SYMBIAN
183 # undef WIN32
184 #endif
185 
186 #if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__)
187 # ifndef PALM
188 # define PALM
189 # endif
190 #endif
191 
192 #if defined(__hpux)
193 # ifndef HP_UX
194 # define HP_UX
195 # endif
196 #endif
197 
198 #if defined(__digital__) && defined(__unix__)
199 # ifndef TRU64
200 # define TRU64
201 # endif
202 #endif
203 
204 #ifdef __MVS__
205 # ifndef OS390
206 # define OS390
207 # endif
208 #endif
209 
210 #ifdef HAVE_CONFIG_H
211 # include "config.h"
212 # if defined(WITH_OPENSSL)
213 # ifndef HAVE_OPENSSL_SSL_H
214 # undef WITH_OPENSSL
215 # endif
216 # endif
217 # if defined(WITH_ZLIB) || defined(WITH_GZIP)
218 # ifndef HAVE_ZLIB_H
219 # undef WITH_ZLIB
220 # undef WITH_GZIP
221 # endif
222 # endif
223 #else
224 # if defined(UNDER_CE)
225 # define WITH_LEAN
226 # define HAVE_SSCANF
227 # elif defined(WIN32)
228 # define HAVE_STRRCHR
229 # define HAVE_STRTOD
230 # define HAVE_SSCANF
231 # define HAVE_STRTOL
232 # define HAVE_STRTOUL
233 # define HAVE_SYS_TIMEB_H
234 # define HAVE_FTIME
235 # define HAVE_WCTOMB
236 # define HAVE_MBTOWC
237 # define SOAP_LONG_FORMAT "%I64d"
238 # define SOAP_ULONG_FORMAT "%I64u"
239 # elif defined(CYGWIN)
240 # define HAVE_STRRCHR
241 # define HAVE_STRTOD
242 # define HAVE_SSCANF
243 # define HAVE_STRTOL
244 # define HAVE_STRTOUL
245 # define HAVE_SYS_TIMEB_H
246 # define HAVE_FTIME
247 # define HAVE_RAND_R
248 # define HAVE_GMTIME_R
249 # define HAVE_LOCALTIME_R
250 # define HAVE_WCTOMB
251 # define HAVE_MBTOWC
252 # elif defined(__APPLE__)
253 # define HAVE_STRRCHR
254 # define HAVE_STRTOD
255 # define HAVE_SSCANF
256 # define HAVE_STRTOD_L
257 # define HAVE_SSCANF_L
258 # define HAVE_SPRINTF_L
259 # define HAVE_STRTOL
260 # define HAVE_STRTOUL
261 # define HAVE_RAND_R
262 # define HAVE_GMTIME_R
263 # define HAVE_LOCALTIME_R
264 # define HAVE_TIMEGM
265 # define HAVE_WCTOMB
266 # define HAVE_MBTOWC
267 # elif defined(_AIX43)
268 # define HAVE_STRRCHR
269 # define HAVE_STRTOD
270 # define HAVE_SSCANF
271 # define HAVE_STRTOL
272 # define HAVE_STRTOUL
273 # define HAVE_SYS_TIMEB_H
274 # define HAVE_FTIME
275 # define HAVE_RAND_R
276 # define HAVE_GMTIME_R
277 # define HAVE_LOCALTIME_R
278 # define HAVE_WCTOMB
279 # define HAVE_MBTOWC
280 # elif defined(_AIX41)
281 # define HAVE_STRRCHR
282 # define HAVE_STRTOD
283 # define HAVE_SSCANF
284 # define HAVE_STRTOL
285 # define HAVE_STRTOUL
286 # define HAVE_SYS_TIMEB_H
287 # define HAVE_WCTOMB
288 # define HAVE_MBTOWC
289 # elif defined(HP_UX)
290 # define HAVE_STRRCHR
291 # define HAVE_STRTOD
292 # define HAVE_SSCANF
293 # define HAVE_STRTOL
294 # define HAVE_STRTOUL
295 # define HAVE_SYS_TIMEB_H
296 # define HAVE_FTIME
297 # define HAVE_RAND_R
298 # define HAVE_GMTIME_R
299 # define HAVE_LOCALTIME_R
300 # define HAVE_WCTOMB
301 # define HAVE_MBTOWC
302 # elif defined(FREEBSD) || defined(__FreeBSD__)
303 # define HAVE_STRRCHR
304 # define HAVE_STRTOD
305 # define HAVE_SSCANF
306 # define HAVE_STRTOD_L
307 # define HAVE_SSCANF_L
308 # define HAVE_SPRINTF_L
309 # define HAVE_STRTOL
310 # define HAVE_STRTOUL
311 # define HAVE_STRTOLL
312 # define HAVE_STRTOULL
313 # define HAVE_GETTIMEOFDAY
314 # define HAVE_RAND_R
315 # define HAVE_GMTIME_R
316 # define HAVE_LOCALTIME_R
317 # define HAVE_WCTOMB
318 # define HAVE_MBTOWC
319 # define SOAP_LONG_FORMAT "%qd"
320 # define SOAP_ULONG_FORMAT "%qu"
321 # elif defined(__VMS)
322 # define HAVE_STRRCHR
323 # define HAVE_STRTOD
324 # define HAVE_SSCANF
325 # define HAVE_STRTOL
326 # define HAVE_STRTOUL
327 # define HAVE_SYS_TIMEB_H
328 # define HAVE_FTIME
329 # define HAVE_RAND_R
330 # define HAVE_GMTIME_R
331 # define HAVE_LOCALTIME_R
332 # define HAVE_WCTOMB
333 # define HAVE_MBTOWC
334 # elif defined(__GLIBC__) || defined(__GNU__)
335 # define HAVE_STRRCHR
336 # define HAVE_STRTOD
337 # define HAVE_SSCANF
338 # define HAVE_STRTOD_L
339 # define HAVE_SSCANF_L
340 # define HAVE_SPRINTF_L
341 # define HAVE_STRTOL
342 # define HAVE_STRTOUL
343 # define HAVE_STRTOLL
344 # define HAVE_STRTOULL
345 # define HAVE_SYS_TIMEB_H
346 # define HAVE_FTIME
347 # define HAVE_RAND_R
348 # define HAVE_GMTIME_R
349 # define HAVE_LOCALTIME_R
350 # define HAVE_TIMEGM
351 # define HAVE_WCTOMB
352 # define HAVE_MBTOWC
353 # define HAVE_ISNAN
354 # elif defined(TRU64)
355 # define HAVE_STRRCHR
356 # define HAVE_STRTOD
357 # define HAVE_SSCANF
358 # define HAVE_STRTOL
359 # define HAVE_STRTOUL
360 # define HAVE_GETTIMEOFDAY
361 # define HAVE_SYS_TIMEB_H
362 # define HAVE_RAND_R
363 # define HAVE_GMTIME_R
364 # define HAVE_LOCALTIME_R
365 # define __USE_STD_IOSTREAM
366 # define HAVE_WCTOMB
367 # define HAVE_MBTOWC
368 # define SOAP_LONG_FORMAT "%ld"
369 # define SOAP_ULONG_FORMAT "%lu"
370 # elif defined(MAC_CARBON)
371 # define WITH_NOIO
372 # define HAVE_STRRCHR
373 # define HAVE_STRTOD
374 # define HAVE_SSCANF
375 # define HAVE_STRTOD_L
376 # define HAVE_SSCANF_L
377 # define HAVE_SPRINTF_L
378 # define HAVE_STRTOL
379 # define HAVE_STRTOUL
380 # define HAVE_FTIME
381 # define HAVE_RAND_R
382 # define HAVE_GETHOSTBYNAME_R
383 # define HAVE_GMTIME_R
384 # define HAVE_LOCALTIME_R
385 # define HAVE_WCTOMB
386 # define HAVE_MBTOWC
387 # elif defined(PALM)
388 # define WITH_LEAN
389 # define HAVE_STRTOD /* strtod() is defined in palmFunctions.h */
390 # include <stdlib.h> /* Needs to be included before unix headers */
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)
398 # define WITH_LEAN
399 # define WITH_NONAMESPACES
400 # define HAVE_STRTOD /* use STRTOD since sscanf doesn't seem to work */
401 # include <e32def.h>
402 # include <sys/ioctl.h>
403 # elif defined(VXWORKS)
404 # ifdef _WRS_KERNEL
405 # define _POSIX_THREADS 1
406 # endif
407 # define HAVE_STRRCHR
408 # define HAVE_STRTOD
409 # define HAVE_SSCANF
410 # define HAVE_STRTOL
411 # define HAVE_STRTOUL
412 # define HAVE_GMTIME
413 # define HAVE_LOCALTIME
414 # define HAVE_MKTIME
415 # elif defined(OS390)
416 # define HAVE_STRRCHR
417 # define HAVE_STRTOD
418 # define HAVE_SSCANF
419 # define HAVE_STRTOL
420 # define HAVE_STRTOUL
421 # define HAVE_SYS_TIMEB_H
422 # define HAVE_FTIME
423 # define HAVE_RAND_R
424 # define HAVE_GMTIME_R
425 # define HAVE_LOCALTIME_R
426 # define HAVE_WCTOMB
427 # define HAVE_MBTOWC
428 # elif defined(AS400)
429 # define HAVE_STRRCHR
430 # define HAVE_STRTOD
431 # define HAVE_SSCANF
432 # define HAVE_STRTOL
433 # define HAVE_STRTOUL
434 # define HAVE_SYS_TIMEB_H
435 # define HAVE_FTIME
436 # define HAVE_RAND_R
437 # define HAVE_GMTIME_R
438 # define HAVE_LOCALTIME_R
439 # define HAVE_WCTOMB
440 # define HAVE_MBTOWC
441 # elif defined(__QNX__) || defined(QNX)
442 /* QNX does not have a working version of strtof */
443 # undef HAVE_STRTOF
444 # define HAVE_STRRCHR
445 # define HAVE_STRTOD
446 # define HAVE_SSCANF
447 # define HAVE_STRTOL
448 # define HAVE_STRTOUL
449 # define HAVE_SYS_TIMEB_H
450 # define HAVE_FTIME
451 # define HAVE_RAND_R
452 # define HAVE_GETHOSTBYNAME_R
453 # define HAVE_GMTIME_R
454 # define HAVE_LOCALTIME_R
455 # define HAVE_WCTOMB
456 # define HAVE_MBTOWC
457 # define LONG64 long
458 # define ULONG64 unsigned LONG64
459 # define SOAP_LONG_FORMAT "%ld"
460 # define SOAP_ULONG_FORMAT "%lu"
461 # else
462 /* Default asumptions on supported functions */
463 # define HAVE_STRRCHR
464 # define HAVE_STRTOD
465 # define HAVE_SSCANF
466 # define HAVE_STRTOL
467 # define HAVE_STRTOUL
468 # define HAVE_SYS_TIMEB_H
469 # define HAVE_FTIME
470 # define HAVE_RAND_R
471 # define HAVE_GETHOSTBYNAME_R
472 # define HAVE_GMTIME_R
473 # define HAVE_LOCALTIME_R
474 # define HAVE_WCTOMB
475 # define HAVE_MBTOWC
476 # endif
477 #endif
478 
479 /* native Win and HP-UX compilers don't like empty structs */
480 #if defined(WIN32) || defined(HP_UX)
481 # define WITH_NOEMPTYSTRUCT
482 #endif
483 
484 #ifdef HP_UX
485 # undef HAVE_STRTOLL
486 # undef HAVE_STRTOULL
487 #endif
488 
489 #ifdef WITH_C_LOCALE
490 # include <xlocale.h>
491 #else
492 # undef HAVE_STRTOF_L
493 # undef HAVE_STRTOD_L
494 # undef HAVE_SSCANF_L
495 # undef HAVE_SPRINTF_L
496 #endif
497 
498 #ifndef WITH_NOSTDLIB
499 # include <stdlib.h>
500 # ifndef PALM
501 # include <stdio.h>
502 # include <string.h>
503 # endif
504 # include <ctype.h>
505 # include <limits.h>
506 #endif
507 
508 #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
509 # include <string>
510 # include <iostream>
511 #endif
512 
513 #ifdef WITH_NOHTTP
514 # ifndef WITH_NOIO
515 # define WITH_NOIO
516 # undef WITH_COOKIES
517 # endif
518 #endif
519 
520 /* Suggestion when SOAP_FD_EXCEEDED error occurs:
521  Some systems allow increasing FD_SETSIZE before including sys/types.h:
522 #define FD_SETSIZE (2048)
523  */
524 
525 #ifndef UNDER_CE
526 # ifndef PALM
527 # ifndef WITH_NOIO
528 # include <errno.h>
529 # include <sys/types.h>
530 # endif
531 # ifndef WITH_LEAN
532 # ifdef HAVE_SYS_TIMEB_H
533 # include <sys/timeb.h> /* for ftime() */
534 # endif
535 # include <time.h>
536 # endif
537 # endif
538 #endif
539 
540 #ifdef OPENSERVER
541 # include <sys/socket.h>
542 # include <sys/stream.h>
543 # include <sys/protosw.h>
544 extern int h_errno;
545 #endif
546 
547 #ifndef WITH_NOIO
548 # ifndef WIN32
549 # ifndef PALM
550 # include <sys/socket.h>
551 # ifdef VXWORKS
552 # include <sockLib.h>
553 # include <selectLib.h>
554 # ifndef _WRS_KERNEL
555 # include <strings.h>
556 # endif
557 # else
558 # ifndef SYMBIAN
559 # include <strings.h>
560 # endif
561 # endif
562 # ifdef SUN_OS
563 # include <sys/stream.h> /* SUN */
564 # include <sys/socketvar.h> /* SUN < 2.8 (?) */
565 # endif
566 # ifdef VXWORKS
567 # ifdef _WRS_KERNEL
568 # include <sys/times.h>
569 # endif
570 # else
571 # include <sys/time.h>
572 # endif
573 # include <netinet/in.h>
574 # ifdef OS390
575 # include <netinet/tcp_var.h>
576 # else
577 # include <netinet/tcp.h> /* TCP_NODELAY */
578 # endif
579 # include <arpa/inet.h>
580 # endif
581 # endif
582 #endif
583 
584 #ifdef WIN32
585 # define SOAP_WINSOCKINT int
586 #else
587 # define SOAP_WINSOCKINT size_t
588 #endif
589 
590 #ifdef WIN32
591 # ifndef UNDER_CE
592 # include <io.h>
593 # include <fcntl.h>
594 # endif
595 # ifdef WITH_IPV6
596 # include <winsock2.h> /* Visual Studio 2005 users: you must install the Platform SDK (R2) */
597 # include <ws2tcpip.h>
598 # include <wspiapi.h>
599 # define SOAP_GAI_STRERROR gai_strerrorA
600 # else
601 # include <winsock.h> /* Visual Studio 2005 users: you must install the Platform SDK (R2) */
602 /* # include <winsock2.h> */ /* Alternative: use winsock2 (not available with eVC) */
603 # endif
604 #else
605 # ifdef VXWORKS
606 # include <hostLib.h>
607 # include <ioctl.h>
608 # include <ioLib.h>
609 # endif
610 # ifndef WITH_NOIO
611 # ifndef PALM
612 # include <netdb.h>
613 # include <netinet/in.h>
614 # include <unistd.h>
615 # include <fcntl.h>
616 # ifdef _AIX41
617 # include <sys/select.h>
618 # endif
619 # endif
620 # endif
621 #endif
622 
623 #ifdef WITH_FASTCGI
624 # include <fcgi_stdio.h>
625 #endif
626 
627 #ifdef WITH_OPENSSL
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"
637 # endif
638 # endif
639 #endif
640 
641 #ifdef WITH_GZIP
642 # ifndef WITH_ZLIB
643 # define WITH_ZLIB
644 # endif
645 #endif
646 
647 #ifdef WITH_CASEINSENSITIVETAGS
648 # define SOAP_STRCMP soap_tag_cmp /* case insensitve XML element/attribute names */
649 #else
650 # define SOAP_STRCMP strcmp /* case sensitive XML element/attribute names */
651 #endif
652 
653 #ifdef WITH_ZLIB
654 # include <zlib.h>
655 #endif
656 
657 #ifndef WITH_NOSTDLIB
658 # ifndef PALM
659 # include <math.h> /* for isnan() */
660 # endif
661 #endif
662 
663 /* #define DEBUG */ /* Uncomment to debug sending (in file SENT.log) receiving (in file RECV.log) and messages (in file TEST.log) */
664 
665 #ifdef __cplusplus
666 extern "C"
667 {
668 #endif
669 
670  /* Portability: define SOAP_SOCKLEN_T */
671 #if defined(_AIX)
672 # if defined(_AIX43)
673 # define SOAP_SOCKLEN_T socklen_t
674 # else
675 # define SOAP_SOCKLEN_T int
676 # endif
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
683 #else
684 # define SOAP_SOCKLEN_T size_t
685 #endif
686 
687 #ifndef SOAP_SOCKET
688 # ifdef WIN32
689 # define SOAP_SOCKET SOCKET
690 # define soap_closesocket(n) closesocket(n)
691 # else
692 # define SOAP_SOCKET int
693 # define soap_closesocket(n) close(n)
694 # endif
695 #endif
696 
697 #define SOAP_INVALID_SOCKET ((SOAP_SOCKET)-1)
698 #define soap_valid_socket(n) ((n) != SOAP_INVALID_SOCKET)
699 
700 #ifndef SOAP_GAI_STRERROR
701 # define SOAP_GAI_STRERROR gai_strerror
702 #endif
703 
704 #ifndef FD_SETSIZE
705 # define FD_SETSIZE (1024)
706 #endif
707 
708 #if defined(SYMBIAN)
709 # define LONG64 long
710 # define ULONG64 unsigned LONG64
711 #elif !defined(WIN32) || defined(CYGWIN) || defined(__GLIBC__) || defined(__GNU__)
712 # ifndef LONG64
713 # if defined(HAVE_STDINT_H)
714 # include <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"
724 # endif
725 # ifndef SOAP_ULONG_FORMAT
726 # define SOAP_ULONG_FORMAT "%lu"
727 # endif
728 # else
729 # define LONG64 long long
730 # define ULONG64 unsigned LONG64
731 # endif
732 # else
733 # define LONG64 long long
734 # define ULONG64 unsigned LONG64
735 # endif
736 # endif
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
743 #endif
744 
745 #ifndef SOAP_LONG_FORMAT
746 # define SOAP_LONG_FORMAT "%lld" /* printf format for 64 bit ints */
747 #endif
748 
749 #ifndef SOAP_ULONG_FORMAT
750 # define SOAP_ULONG_FORMAT "%llu" /* printf format for unsigned 64 bit ints */
751 #endif
752 
753 #if defined(WIN32) && !defined(CYGWIN)
754 # define soap_int32 __int32
755 #elif defined(SYMBIAN)
756 # define soap_int32 long
757 #elif defined(PALM)
758 # define soap_int32 Int32
759 #elif defined(_AIX)
760 # if defined(_AIX43)
761 # define soap_int32 int32_t
762 # else
763 # define soap_int32 signed int
764 # endif
765 #else
766 # define soap_int32 int32_t
767 #endif
768 
769 #ifdef WIN32
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
776 #else
777 # define SOAP_ERANGE ERANGE
778 # define SOAP_EINTR EINTR
779 # define SOAP_EAGAIN EAGAIN
780 # define SOAP_EADDRINUSE EADDRINUSE
781 # ifdef SYMBIAN
782 # define SOAP_EWOULDBLOCK 9898
783 # define SOAP_EINPROGRESS 9899
784 # else
785 # define SOAP_EWOULDBLOCK EWOULDBLOCK
786 # define SOAP_EINPROGRESS EINPROGRESS
787 # endif
788 #endif
789 
790 #ifdef WIN32
791 # ifdef UNDER_CE
792 # define soap_errno GetLastError()
793 # define soap_socket_errno(s) GetLastError()
794 # define soap_reset_errno SetLastError(0)
795 # else
796 # define soap_errno GetLastError()
797 # define soap_socket_errno(s) WSAGetLastError()
798 # define soap_reset_errno SetLastError(0)
799 # endif
800 #else
801 # ifndef WITH_NOIO
802 # define soap_errno errno
803 # define soap_socket_errno(s) errno
804 # define soap_reset_errno (errno = 0)
805 # else
806 # define soap_errno 0
807 # define soap_socket_errno(s) 0
808 # define soap_reset_errno
809 # endif
810 #endif
811 
812 #ifndef SOAP_BUFLEN
813 # ifndef WITH_LEAN
814 # define SOAP_BUFLEN (65536) /* buffer length for socket packets, also used by gethostbyname_r and UDP messages, so don't make this too small */
815 # else
816 # define SOAP_BUFLEN (2048)
817 # endif
818 #endif
819 #ifndef SOAP_LABLEN
820 # define SOAP_LABLEN (256) /* initial look-aside buffer length */
821 #endif
822 #ifndef SOAP_PTRBLK
823 # define SOAP_PTRBLK (32) /* block allocation for pointer hash table chains */
824 #endif
825 #ifndef SOAP_PTRHASH
826 # ifndef WITH_LEAN
827 # define SOAP_PTRHASH (1024) /* size of pointer analysis hash table (must be power of 2) */
828 # else
829 # define SOAP_PTRHASH (32)
830 # endif
831 #endif
832 #ifndef SOAP_IDHASH
833 # ifndef WITH_LEAN
834 # define SOAP_IDHASH (1999) /* prime size of hash table for parsed id/ref */
835 # else
836 # define SOAP_IDHASH (19) /* 19, 199 */
837 # endif
838 #endif
839 #ifndef SOAP_BLKLEN
840 # ifndef WITH_LEAN
841 # define SOAP_BLKLEN (256) /* size of blocks to collect long strings and XML attributes */
842 # else
843 # define SOAP_BLKLEN (32)
844 # endif
845 #endif
846 #ifndef SOAP_TAGLEN
847 # ifndef WITH_LEAN
848 # define SOAP_TAGLEN (1024) /* maximum length of XML element tag/attribute name or host/path name + 1 */
849 # else
850 # define SOAP_TAGLEN (64)
851 # endif
852 #endif
853 #ifndef SOAP_HDRLEN
854 # ifndef WITH_LEAN
855 # define SOAP_HDRLEN (8192) /* maximum length of HTTP header line (must be >4096 to read cookies) */
856 # else
857 # define SOAP_HDRLEN (1024)
858 # endif
859 #endif
860 #ifndef SOAP_MAXDIMS
861 # ifndef WITH_LEAN
862 # define SOAP_MAXDIMS (16) /* maximum array dimensions (array nestings) must be less than 64 to protect soap->tmpbuf */
863 # else
864 # define SOAP_MAXDIMS (4)
865 # endif
866 #endif
867 
868 #ifndef SOAP_MAXLOGS
869 # define SOAP_MAXLOGS (3) /* max number of debug logs per struct soap environment */
870 # define SOAP_INDEX_RECV (0)
871 # define SOAP_INDEX_SENT (1)
872 # define SOAP_INDEX_TEST (2)
873 #endif
874 
875  /* Max iterations in soap_serve() to keep server connection alive */
876 #ifndef SOAP_MAXKEEPALIVE
877 # define SOAP_MAXKEEPALIVE (100)
878 #endif
879 
880  /* Trusted max size of inbound SOAP array for compound array allocation.
881  Increase if necessary to allow larger arrays.
882  */
883 #ifndef SOAP_MAXARRAYSIZE
884 # define SOAP_MAXARRAYSIZE (1000000)
885 #endif
886 
887 #ifdef VXWORKS
888 # ifdef __INCmathh
889 # include <private/mathP.h>
890 # ifndef HAVE_ISNAN
891 # define HAVE_ISNAN
892 # endif
893 # define soap_isnan(num) isNan(num)
894 # endif
895 #endif
896 
897 #ifdef WIN32
898 # include <float.h>
899 # ifndef HAVE_ISNAN
900 # define HAVE_ISNAN
901 # endif
902 # define soap_isnan(num) _isnan(num)
903 #endif
904 
905 #ifdef SUN_OS
906 # define HAVE_ISNAN
907 #endif
908 
909 #ifdef __APPLE__
910 # ifdef __cplusplus
911 # ifndef isnan
912  extern "C" int isnan(double);
913 # endif
914 # endif
915 # define HAVE_ISNAN
916 #endif
917 
918 #if !defined(HAVE_ISNAN) && (defined(_MATH_H) || defined(_MATH_INCLUDED))
919 # define HAVE_ISNAN
920 #endif
921 
922  extern const struct soap_double_nan {unsigned int n1, n2;}
924 
925 #ifdef VXWORKS
926 # ifndef FLT_MAX
927 # define FLT_MAX _ARCH_FLT_MAX
928 # endif
929 # ifndef DBL_MAX
930 # define DBL_MAX _ARCH_DBL_MAX
931 # endif
932 #endif
933 
934 #ifndef FLT_NAN
935 # define FLT_NAN (*(float*)(void*)&soap_double_nan)
936 #endif
937 
938 #ifndef FLT_PINFTY
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
947 # else
948 # define FLT_PINFTY (3.40282347e+38F)
949 # endif
950 #endif
951 
952 #ifndef FLT_NINFTY
953 # define FLT_NINFTY (-FLT_PINFTY)
954 #endif
955 
956 #ifndef DBL_NAN
957 # define DBL_NAN (*(double*)(void*)&soap_double_nan)
958 #endif
959 
960 #ifndef DBL_PINFTY
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
969 # else
970 # define DBL_PINFTY (1.7976931348623157e+308)
971 # endif
972 #endif
973 
974 #ifndef DBL_NINFTY
975 # define DBL_NINFTY (-DBL_PINFTY)
976 #endif
977 
978 #ifndef soap_isnan
979 # ifdef HAVE_ISNAN
980 # define soap_isnan(n) isnan(n)
981 # else
982 # define soap_isnan(n) (0)
983 # endif
984 #endif
985 
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)
990 
991  /* gSOAP error codes */
992 
993 #define SOAP_EOF EOF
994 #define SOAP_ERR EOF
995 #define SOAP_OK 0
996 #define SOAP_CLI_FAULT 1
997 #define SOAP_SVR_FAULT 2
998 #define SOAP_TAG_MISMATCH 3
999 #define SOAP_TYPE 4
1000 #define SOAP_SYNTAX_ERROR 5
1001 #define SOAP_NO_TAG 6
1002 #define SOAP_IOB 7
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
1015 #define SOAP_EOM 20
1016 #define SOAP_MOE 21
1017 #define SOAP_HDR 22
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
1042 
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))
1049 
1050  /* gSOAP HTTP response status codes 100 to 599 are reserved */
1051 
1052  /* Codes 600 to 999 are user definable */
1053 
1054  /* Exceptional gSOAP HTTP response status codes >= 1000 */
1055 
1056 #define SOAP_STOP 1000 /* No HTTP response */
1057 #define SOAP_FORM 1001 /* Form request/response */
1058 #define SOAP_HTML 1002 /* Custom HTML response */
1059 #define SOAP_FILE 1003 /* Custom file-based response */
1060 
1061  /* gSOAP HTTP method codes */
1062 
1063 #define SOAP_POST 2000
1064 #define SOAP_GET 2001
1065 
1066  /* gSOAP DIME */
1067 
1068 #define SOAP_DIME_CF 0x01
1069 #define SOAP_DIME_ME 0x02
1070 #define SOAP_DIME_MB 0x04
1071 #define SOAP_DIME_VERSION 0x08 /* DIME version 1 */
1072 #define SOAP_DIME_MEDIA 0x10
1073 #define SOAP_DIME_ABSURI 0x20
1074 
1075  /* gSOAP ZLIB */
1076 
1077 #define SOAP_ZLIB_NONE 0x00
1078 #define SOAP_ZLIB_DEFLATE 0x01
1079 #define SOAP_ZLIB_INFLATE 0x02
1080 #define SOAP_ZLIB_GZIP 0x02
1081 
1082  /* gSOAP transport, connection, and content encoding modes */
1083 
1085 
1086 #define SOAP_IO 0x00000003 /* IO mask */
1087 #define SOAP_IO_FLUSH 0x00000000 /* flush output immediately, no buffering */
1088 #define SOAP_IO_BUFFER 0x00000001 /* buffer output in packets of size SOAP_BUFLEN */
1089 #define SOAP_IO_STORE 0x00000002 /* store entire output to determine length for transport */
1090 #define SOAP_IO_CHUNK 0x00000003 /* use HTTP chunked transfer AND buffer packets */
1091 
1092 #define SOAP_IO_UDP 0x00000004 /* TCP or UDP */
1093 
1094 #define SOAP_IO_LENGTH 0x00000008 /* calc message length (internal) */
1095 #define SOAP_IO_KEEPALIVE 0x00000010 /* keep connection alive */
1096 
1097 #define SOAP_ENC_LATIN 0x00000020 /* accept iso-8859-1 encoding */
1098 #define SOAP_ENC_XML 0x00000040 /* plain XML encoding, no HTTP header */
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
1104 
1105 #define SOAP_ENC 0x00000FFF /* IO and ENC mask */
1106 
1107 #define SOAP_XML_STRICT 0x00001000 /* apply strict validation */
1108 #define SOAP_XML_INDENT 0x00002000 /* emit indented XML */
1109 #define SOAP_XML_CANONICAL 0x00004000 /* EXC C14N canonical XML */
1110 #define SOAP_XML_TREE 0x00008000 /* emit XML tree (no id/ref) */
1111 #define SOAP_XML_GRAPH 0x00010000
1112 #define SOAP_XML_NIL 0x00020000
1113 #define SOAP_XML_DOM 0x00040000
1114 #define SOAP_XML_SEC 0x00080000 /* reserved for WS security */
1115 
1116 #define SOAP_C_NOIOB 0x00100000 /* don't fault on array index out of bounds (just ignore) */
1117 #define SOAP_C_UTFSTRING 0x00200000 /* (de)serialize strings with UTF8 content */
1118 #define SOAP_C_MBSTRING 0x00400000 /* (de)serialize strings with multi-byte content */
1119 #define SOAP_C_NILSTRING 0x00800000 /* serialize empty strings as nil (omitted) */
1120 
1121 #define SOAP_DOM_TREE 0x01000000
1122 #define SOAP_DOM_NODE 0x02000000
1123 #define SOAP_DOM_ASIS 0x04000000
1124 
1125 #define SOAP_MIME_POSTCHECK 0x10000000 /* MIME flag (internal) */
1126 
1127 #define SOAP_IO_DEFAULT SOAP_IO_FLUSH
1128 
1129  /* SSL client/server authentication settings */
1130 
1131 #define SOAP_SSL_NO_AUTHENTICATION 0x00 /* for testing purposes */
1132 #define SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION 0x01 /* client requires server to authenticate */
1133 #define SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION 0x02 /* server requires client to authenticate */
1134 #define SOAP_SSL_SKIP_HOST_CHECK 0x04 /* client does not check the common name of the host in certificate */
1135 #define SOAP_SSL_ALLOW_EXPIRED_CERTIFICATE 0x08 /* client does not check the expiration date of the host certificate */
1136 #define SOAP_SSL_NO_DEFAULT_CA_PATH 0x10 /* don't use default_verify_paths */
1137 #define SOAP_SSL_RSA 0x20 /* use RSA */
1138 #define SOAP_SSLv3 0x40 /* SSL v3 only */
1139 #define SOAP_TLSv1 0x80 /* TLS v1 only */
1140 #define SOAP_SSLv3_TLSv1 0x00 /* SSL v3 and TLS v1 support by default */
1141 
1142 #define SOAP_SSL_DEFAULT (SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION | SOAP_SSLv3_TLSv1)
1143 
1144  /* state */
1145 
1146 #define SOAP_NONE 0
1147 #define SOAP_INIT 1
1148 #define SOAP_COPY 2
1149 
1150 #define soap_check_state(soap) (!(soap) || ((soap)->state != SOAP_INIT && (soap)->state != SOAP_COPY))
1151 
1152  /* part */
1153 
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
1162 #define SOAP_END 9
1163 #define SOAP_BEGIN_SECURITY 10
1164 #define SOAP_IN_SECURITY 11
1165 #define SOAP_END_SECURITY 12
1166 
1167  /* DEBUG macros */
1168 
1169 #ifndef WITH_LEAN
1170 # ifdef DEBUG
1171 # ifndef SOAP_DEBUG
1172 # define SOAP_DEBUG
1173 # endif
1174 # ifndef SOAP_MEM_DEBUG
1175 # define SOAP_MEM_DEBUG
1176 # endif
1177 # endif
1178 #endif
1179 
1180 #ifdef SOAP_MEM_DEBUG
1181 # ifndef SOAP_MALLOC
1182 # define SOAP_MALLOC(soap, size) soap_track_malloc(soap, __FILE__, __LINE__, size)
1183 # endif
1184 # ifndef SOAP_FREE
1185 # define SOAP_FREE(soap, ptr) soap_track_free(soap, __FILE__, __LINE__, ptr)
1186 # endif
1187 #endif
1188 
1189 #ifndef SOAP_MALLOC /* use libc malloc */
1190 # define SOAP_MALLOC(soap, size) malloc(size)
1191 #endif
1192 
1193 #ifndef SOAP_FREE /* use libc free */
1194 # define SOAP_FREE(soap, ptr) free(ptr)
1195 #endif
1196 
1197 #ifdef SOAP_DEBUG
1198 # ifndef SOAP_MESSAGE
1199 # define SOAP_MESSAGE fprintf
1200 # endif
1201 # ifndef DBGLOG
1202 # define DBGLOG(DBGFILE, CMD) \
1203  {if (soap)\
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];\
1208  CMD;\
1209  fflush(fdebug);\
1210  }\
1211  }\
1212  }
1213 # endif
1214 # ifndef DBGMSG
1215 # define DBGMSG(DBGFILE, MSG, LEN) \
1216  {if (soap)\
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]);\
1222  }\
1223  }\
1224  }
1225 # endif
1226 # ifndef DBGFUN
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)))
1231 # endif
1232 # ifndef DBGHEX
1233 # define DBGHEX(DBGFILE, MSG, LEN) \
1234  {if (soap)\
1235  {if (!soap->fdebug[SOAP_INDEX_##DBGFILE])\
1236  soap_open_logfile(soap, SOAP_INDEX_##DBGFILE);\
1237  if (soap->fdebug[SOAP_INDEX_##DBGFILE])\
1238  {int i; char *s;\
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]);\
1242  }\
1243  }\
1244  }
1245 # endif
1246 #else
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)
1254 #endif
1255 
1256  /* UCS-4 requires 32 bits (0-7FFFFFFF, the sign bit is used by gSOAP to distinguish XML entities) */
1258 
1259  /* namespace table row */
1260  struct Namespace
1261  {
1262  const char *id;
1263  const char *ns;
1264  const char *in;
1265  char *out;
1266  };
1267 
1268  /* namespace stack */
1269  struct soap_nlist
1270  {
1271  struct soap_nlist *next;
1272  unsigned int level; /* nesting depth level */
1273  short index; /* corresponding entry in ns mapping table */
1274  char *ns; /* only set when parsed ns URI is not in the ns mapping table */
1275  char id[1]; /* the actual string value flows into the allocated region below this struct */
1276  };
1277 
1278  /* block stack for nested block allocations */
1279  struct soap_blist
1280  {
1281  struct soap_blist *next;
1282  char *ptr;
1283  size_t size;
1284  };
1285 
1286  /* array layout */
1287  struct soap_array
1288  {
1289  void *__ptr;
1290  int __size;
1291  };
1292 
1293  /* pointer serialization management */
1294  struct soap_plist
1295  {
1296  struct soap_plist *next;
1297  const void *ptr;
1298  const struct soap_array *array;
1299  int type;
1300  int id;
1301  char mark1;
1302  char mark2;
1303  };
1304 
1305  /* block allocation for pointer serialization management */
1306  struct soap_pblk
1307  {
1308  struct soap_pblk *next;
1310  };
1311 
1312 #ifdef SOAP_MEM_DEBUG
1313  /* malloc/free tracking for debugging */
1314  struct soap_mlist
1315  {
1316  struct soap_mlist *next;
1317  const void *ptr;
1318  const char *file;
1319  int line;
1320  short live;
1321  };
1322 #endif
1323 
1324  /* class allocation list */
1325  struct soap_clist
1326  {
1327  struct soap_clist *next;
1328  void *ptr;
1329  int type;
1330  int size;
1331  int (*fdelete)(struct soap_clist*);
1332  };
1333 
1334  /* attributes */
1336  {
1338  char *value;
1339  size_t size;
1340  char *ns;
1341  short visible;
1342  char name[1]; /* the actual name string flows into the allocated region below this struct */
1343  };
1344 
1345 #ifndef WITH_LEAN
1347  {
1349  char *name;
1350  char *value;
1351  char *domain;
1352  char *path;
1353  time_t expire; /* client-side: local time to expire */
1354  long maxage; /* server-side: seconds to expire */
1355  unsigned int version;
1356  short secure;
1357  short session; /* server-side */
1358  short env; /* server-side: got cookie from client and should not be (re)send */
1359  short modified; /* server-side: client cookie was modified and should be send */
1360  };
1361 #endif
1362 
1363 #ifdef __cplusplus
1365 
1366  class soap_multipart_iterator
1367  {
1368  public:
1369  struct soap_multipart *content;
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);}
1374  struct soap_multipart &operator*() const
1375  {return *content;}
1376  soap_multipart_iterator &operator++()
1377  {content = soap_next_multipart(content); return *this;}
1378  soap_multipart_iterator() : content(NULL)
1379  {}
1380  soap_multipart_iterator(struct soap_multipart *p) : content(p)
1381  {}};
1382 #endif
1383 
1384 #ifndef WITH_LEANER
1385  struct soap_dime
1386  {
1387  size_t count;
1388  size_t size;
1389  size_t chunksize;
1390  size_t buflen;
1391  char flags;
1392  char *ptr;
1393  const char *id;
1394  const char *type;
1395  const char *options;
1396  struct soap_multipart *list; /* list of DIME attachments received */
1397  struct soap_multipart *first, *last; /* temporary in/out queue */
1398 #ifdef __cplusplus
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;};
1403 #endif
1404  };
1405 #endif
1406 
1407 #ifndef WITH_LEANER
1408  struct soap_mime
1409  {
1410  char *boundary; /* MIME boundary */
1411  const char *start; /* MIME start ID */
1412  struct soap_multipart *list; /* list of MIME attachments received */
1413  struct soap_multipart *first, *last; /* temporary in/out queue */
1414 #ifdef __cplusplus
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;};
1419 #endif
1420  };
1421 #endif
1422 
1423 #ifndef WITH_LEANER
1424  /* RFC2045 MIME content transfer encodings */
1434  };
1435 #endif
1436 
1437 #ifndef WITH_LEANER
1438  /* DIME/MIME multipart list */
1440  {
1442  char *ptr; /* points to raw data content */
1443  size_t size; /* size of data content */
1444  const char *id; /* DIME/MIME content ID or form data name */
1445  const char *type; /* DIME/MIME type (MIME type format) */
1446  const char *options; /* DIME options */
1447  enum soap_mime_encoding encoding; /* MIME Content-Transfer-Encoding */
1448  const char *location; /* MIME Content-Location (optional) */
1449  const char *description; /* MIME Content-Description (optional) */
1450 #ifdef __cplusplus
1451  typedef soap_multipart_iterator iterator;
1452 #endif
1453  };
1454 #endif
1455 
1456 #ifndef WITH_LEANER
1457  /* attachment DIME and MTOM XOP forwarding */
1458  struct soap_xlist
1459  {
1460  struct soap_xlist *next;
1461  unsigned char **ptr;
1462  int *size;
1463  char *id;
1464  char **type;
1465  char **options;
1466  };
1467 #endif
1468 
1469  /******************************************************************************/
1470 
1471 #ifndef WITH_LEANER
1472 #ifdef __cplusplus
1473  class soap_dom_attribute_iterator
1474  {
1475  public:
1476  struct soap_dom_attribute *att;
1477  const char *nstr;
1478  const char *name;
1479  bool operator==(const soap_dom_attribute_iterator&) const;
1480  bool operator!=(const soap_dom_attribute_iterator&) const;
1481  struct soap_dom_attribute &operator*() const;
1482  soap_dom_attribute_iterator &operator++();
1483  soap_dom_attribute_iterator();
1484  soap_dom_attribute_iterator(struct soap_dom_attribute*);
1485  ~soap_dom_attribute_iterator();
1486  };
1487 #endif
1488 #endif
1489 
1490 #ifndef WITH_LEANER
1492  {
1494  const char *nstr;
1495  char *name;
1496  char *data;
1497  wchar_t *wide;
1498  struct soap *soap;
1499 #ifdef __cplusplus
1500  typedef soap_dom_attribute_iterator iterator;
1501  struct soap_dom_attribute &set(const char *nstr, const char *name); /* set namespace and name */
1502  struct soap_dom_attribute &set(const char *data); /* set data */
1503  soap_dom_attribute_iterator begin();
1504  soap_dom_attribute_iterator end();
1505  soap_dom_attribute_iterator find(const char *nstr, const char *name);
1506  void unlink();
1508  soap_dom_attribute(struct soap *soap);
1509  soap_dom_attribute(struct soap *soap, const char *nstr, const char *name, const char *data);
1510  ~soap_dom_attribute();
1511 #endif
1512  };
1513 #endif
1514 
1515 #ifndef WITH_LEANER
1516 #ifdef __cplusplus
1517  class soap_dom_element_iterator
1518  {
1519  public:
1520  struct soap_dom_element *elt;
1521  const char *nstr;
1522  const char *name;
1523  int type;
1524  bool operator==(const soap_dom_element_iterator&) const;
1525  bool operator!=(const soap_dom_element_iterator&) const;
1526  struct soap_dom_element &operator*() const;
1527  soap_dom_element_iterator &operator++();
1528  soap_dom_element_iterator();
1529  soap_dom_element_iterator(struct soap_dom_element*);
1530  ~soap_dom_element_iterator();
1531  };
1532 #endif
1533 #endif
1534 
1535 #ifndef WITH_LEANER
1537  {
1538  struct soap_dom_element *next; /* next sibling */
1539  struct soap_dom_element *prnt; /* parent */
1540  struct soap_dom_element *elts; /* list of child elements */
1541  struct soap_dom_attribute *atts; /* list of attributes */
1542  const char *nstr; /* namespace string */
1543  char *name; /* element tag name */
1544  char *data; /* element content data (with SOAP_C_UTFSTRING flag set) */
1545  wchar_t *wide; /* element content data */
1546  int type; /* optional: serialized C/C++ data type */
1547  void *node; /* optional: pointer to serialized C/C++ data */
1548  char *head; /* leading whitespace to start tag */
1549  char *tail; /* leading whitespace to end tag */
1550  struct soap *soap; /* soap context that manages this node */
1551 #ifdef __cplusplus
1552  typedef soap_dom_element_iterator iterator;
1553  struct soap_dom_element &set(const char *nstr, const char *name);
1554  struct soap_dom_element &set(const char *data);
1555  struct soap_dom_element &set(void *node, int type);
1556  struct soap_dom_element &add(struct soap_dom_element*);
1557  struct soap_dom_element &add(struct soap_dom_element&);
1558  struct soap_dom_element &add(struct soap_dom_attribute*);
1559  struct soap_dom_element &add(struct soap_dom_attribute&);
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);
1564  void unlink();
1565  soap_dom_element();
1566  soap_dom_element(struct soap *soap);
1567  soap_dom_element(struct soap *soap, const char *nstr, const char *name);
1568  soap_dom_element(struct soap *soap, const char *nstr, const char *name, const char *data);
1569  soap_dom_element(struct soap *soap, const char *nstr, const char *name, void *node, int type);
1570  ~soap_dom_element();
1571 #endif
1572  };
1575 #endif
1576 
1577 #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
1578 }
1579 extern std::ostream &operator<<(std::ostream&, const struct soap_dom_element&);
1580 extern std::istream &operator>>(std::istream&, struct soap_dom_element&);
1581 extern "C"
1582 {
1583 #endif
1584 
1585  /******************************************************************************/
1586 
1587 #ifdef WIN32
1588 # ifdef SOAP_STD_EXPORTS
1589 # define SOAP_STD_API __declspec(dllexport)
1590 # else
1591 # define SOAP_STD_API
1592 # endif
1593 #else
1594 # define SOAP_STD_API
1595 #endif
1596 
1598  {
1599  short state; /* 0 = uninitialized, 1 = initialized, 2 = copy of another soap struct */
1600  short version; /* 1 = SOAP1.1 and 2 = SOAP1.2 (set automatically from namespace URI in nsmap table) */
1601  soap_mode mode;
1602  soap_mode imode;
1603  soap_mode omode;
1604  const char *float_format; /* user-definable format string for floats (<1024 chars) */
1605  const char *double_format; /* user-definable format string for doubles (<1024 chars) */
1606  const char *dime_id_format; /* user-definable format string for integer DIME id (<SOAP_TAGLEN chars) */
1607  const char *http_version; /* HTTP version used "1.0" or "1.1" */
1608  const char *http_content; /* optional custom response content type (with SOAP_FILE) */
1609  const char *encodingStyle; /* default = NULL which means that SOAP encoding is used */
1610  const char *actor; /* SOAP-ENV:actor or role attribute value */
1611  const char *lang; /* xml:lang attribute value of SOAP-ENV:Text */
1612  int recv_timeout; /* when > 0, gives socket recv timeout in seconds, < 0 in usec */
1613  int send_timeout; /* when > 0, gives socket send timeout in seconds, < 0 in usec */
1614  int connect_timeout; /* when > 0, gives socket connect() timeout in seconds, < 0 in usec */
1615  int accept_timeout; /* when > 0, gives socket accept() timeout in seconds, < 0 in usec */
1616  int socket_flags; /* socket recv() and send() flags, e.g. set to MSG_NOSIGNAL to disable sigpipe */
1617  int connect_flags; /* connect() SOL_SOCKET sockopt flags, e.g. set to SO_DEBUG to debug socket */
1618  int bind_flags; /* bind() SOL_SOCKET sockopt flags, e.g. set to SO_REUSEADDR to enable reuse */
1619  int accept_flags; /* accept() SOL_SOCKET sockopt flags */
1620  unsigned short linger_time; /* linger time for SO_LINGER option */
1621  const struct Namespace *namespaces; /* Pointer to global namespace mapping table */
1622  struct Namespace *local_namespaces; /* Local namespace mapping table */
1623  struct soap_nlist *nlist; /* namespace stack */
1624  struct soap_blist *blist; /* block allocation stack */
1625  struct soap_clist *clist; /* class instance allocation list */
1626  void *alist; /* memory allocation (malloc) list */
1627  struct soap_ilist *iht[SOAP_IDHASH];
1628  struct soap_plist *pht[SOAP_PTRHASH];
1629  struct soap_pblk *pblk; /* plist block allocation */
1630  short pidx; /* plist block allocation */
1633  int idnum;
1634  void *user; /* to pass user-defined data */
1635  struct soap_plugin *plugins; /* linked list of plug-in data */
1636  char *userid; /* HTTP Basic authorization userid */
1637  char *passwd; /* HTTP Basic authorization passwd */
1638  int (*fpost)(struct soap*, const char*, const char*, int, const char*, const char*, size_t);
1639  int (*fget)(struct soap*);
1640  int (*fput)(struct soap*);
1641  int (*fdel)(struct soap*);
1642  int (*fhead)(struct soap*);
1643  int (*fform)(struct soap*);
1644  int (*fposthdr)(struct soap*, const char*, const char*);
1645  int (*fresponse)(struct soap*, int, size_t);
1646  int (*fparse)(struct soap*);
1647  int (*fparsehdr)(struct soap*, const char*, const char*);
1648  int (*fheader)(struct soap*);
1649  int (*fresolve)(struct soap*, const char*, struct in_addr* inaddr);
1650  int (*fconnect)(struct soap*, const char*, const char*, int);
1651  int (*fdisconnect)(struct soap*);
1652  int (*fclosesocket)(struct soap*, SOAP_SOCKET);
1653  int (*fshutdownsocket)(struct soap*, SOAP_SOCKET, int);
1654  SOAP_SOCKET(*fopen)(struct soap*, const char*, const char*, int);
1655  SOAP_SOCKET(*faccept)(struct soap*, SOAP_SOCKET, struct sockaddr*, int *n);
1656  int (*fclose)(struct soap*);
1657  int (*fsend)(struct soap*, const char*, size_t);
1658  size_t (*frecv)(struct soap*, char*, size_t);
1659  int (*fpoll)(struct soap*);
1660  void (*fseterror)(struct soap*, const char **c, const char **s);
1661  int (*fignore)(struct soap*, const char*);
1662  int (*fserveloop)(struct soap*);
1663  void *(*fplugin)(struct soap*, const char*);
1664  void *(*fmalloc)(struct soap*, size_t);
1665 #ifndef WITH_LEANER
1666  int (*fprepareinit)(struct soap*);
1667  int (*fpreparesend)(struct soap*, const char*, size_t);
1668  int (*fpreparerecv)(struct soap*, const char*, size_t);
1669  int (*fpreparefinal)(struct soap*);
1670  void *(*fdimereadopen)(struct soap*, void*, const char*, const char*, const char*);
1671  void *(*fdimewriteopen)(struct soap*, const char*, const char*, const char*);
1672  void (*fdimereadclose)(struct soap*, void*);
1673  void (*fdimewriteclose)(struct soap*, void*);
1674  size_t (*fdimeread)(struct soap*, void*, char*, size_t);
1675  int (*fdimewrite)(struct soap*, void*, const char*, size_t);
1676  void *(*fmimereadopen)(struct soap*, void*, const char*, const char*, const char*);
1677  void *(*fmimewriteopen)(struct soap*, void*, const char*, const char*, const char*, enum soap_mime_encoding);
1678  void (*fmimereadclose)(struct soap*, void*);
1679  void (*fmimewriteclose)(struct soap*, void*);
1680  size_t (*fmimeread)(struct soap*, void*, char*, size_t);
1681  int (*fmimewrite)(struct soap*, void*, const char*, size_t);
1682 #endif
1685 #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
1686  std::ostream *os;
1687  std::istream *is;
1688 #else
1689  void *os; /* preserve struct size */
1690  void *is; /* preserve struct size */
1691 #endif
1692 #ifndef UNDER_CE
1693  int sendfd;
1694  int recvfd;
1695 #else
1696  FILE *sendfd;
1697  FILE *recvfd;
1698 #endif
1699  size_t bufidx; /* index in soap.buf[] */
1700  size_t buflen; /* length of soap.buf[] content */
1701  soap_wchar ahead; /* parser lookahead */
1702  short cdata; /* CDATA parser state */
1703  short body; /* parsed XML element has a body or not */
1704  unsigned int level; /* XML nesting level */
1705  size_t count; /* message length counter */
1706  size_t length; /* message length as set by HTTP header */
1707  char *labbuf; /* look-aside buffer */
1708  size_t lablen; /* look-aside buffer allocated length */
1709  size_t labidx; /* look-aside buffer index to available part */
1710  char buf[SOAP_BUFLEN]; /* send and receive buffer */
1711  char msgbuf[1024]; /* in/out buffer for HTTP/MIME headers >=1024 bytes */
1712  char tmpbuf[1024]; /* in/out buffer for HTTP/MIME headers, simpleType values, element and attribute tag names, and DIME must be >=1024 bytes */
1714  char id[SOAP_TAGLEN];
1716  char type[SOAP_TAGLEN];
1717  char arrayType[SOAP_TAGLEN];
1720  short other;
1721  short position;
1723  short root;
1724  struct soap_attribute *attributes; /* attribute list */
1725  short encoding; /* when set, output encodingStyle */
1726  short mustUnderstand; /* a mustUnderstand element was parsed or is output */
1727  short null; /* parsed XML is xsi:nil */
1728  short ns; /* when not set, output full xmlns bindings */
1729  short part; /* parsing state */
1730  short alloced;
1731  short peeked;
1732  size_t chunksize;
1733  size_t chunkbuflen;
1734  char endpoint[SOAP_TAGLEN];
1735  char path[SOAP_TAGLEN];
1736  char host[SOAP_TAGLEN];
1737  char *action;
1738  char *authrealm; /* HTTP authentication realm */
1739  char *prolog; /* XML declaration prolog */
1740  unsigned long ip; /* IP number */
1741  int port; /* port number */
1742  short keep_alive; /* connection should be kept open */
1743  short tcp_keep_alive; /* enable SO_KEEPALIVE */
1744  unsigned int tcp_keep_idle; /* set TCP_KEEPIDLE */
1745  unsigned int tcp_keep_intvl; /* set TCP_KEEPINTVL */
1746  unsigned int tcp_keep_cnt; /* set TCP_KEEPCNT */
1747  unsigned int max_keep_alive; /* maximum keep-alive session (default=100) */
1748  const char *proxy_http_version; /* HTTP version of proxy "1.0" or "1.1" */
1749  const char *proxy_host; /* Proxy Server host name */
1750  int proxy_port; /* Proxy Server port (default = 8080) */
1751  const char *proxy_userid; /* Proxy Authorization user name */
1752  const char *proxy_passwd; /* Proxy Authorization password */
1753  const char *proxy_from; /* X-Forwarding-For header returned by proxy */
1754  int status; /* -1 when request, else error code to be returned by server */
1755  int error;
1756  int errmode;
1757  int errnum;
1758 #ifndef WITH_LEANER
1760  struct soap_dime dime;
1761  struct soap_mime mime;
1763 #endif
1764 #if !defined(WITH_LEAN) || defined(SOAP_DEBUG)
1765  const char *logfile[SOAP_MAXLOGS];
1766  FILE *fdebug[SOAP_MAXLOGS];
1767  struct soap_mlist *mht[SOAP_PTRHASH];
1768 #endif
1769 #ifndef WITH_LEAN
1770  const char *c14ninclude;
1771  const char *c14nexclude;
1773  const char *cookie_domain;
1774  const char *cookie_path;
1776 #endif
1777 #ifndef WITH_NOIO
1778  int ipv6_multicast_if; /* always include this to keep the soap struct size the same in v4 and v6 */
1779  char* ipv4_multicast_if; /* always include this to keep the soap struct size the same in v4 and v6 */
1780  int ipv4_multicast_ttl; /* multicast scope */
1781 #ifdef WITH_IPV6
1782  struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */
1783 #else
1784  struct sockaddr_in peer; /* IPv4: set by soap_connect/soap_accept and by UDP recv */
1785 #endif
1786 #endif
1787  size_t peerlen;
1788 #ifdef WITH_OPENSSL
1789  int (*fsslauth)(struct soap*);
1790  int (*fsslverify)(int, X509_STORE_CTX*);
1791  BIO *bio;
1792  SSL *ssl;
1793  SSL_CTX *ctx;
1794  SSL_SESSION *session;
1795 #else
1796  void *fsslauth; /* dummy members, to preserve struct size */
1797  void *fsslverify;
1798  void *bio;
1799  void *ssl;
1800  void *ctx;
1801  void *session;
1802 #endif
1803  unsigned short ssl_flags;
1804  const char *keyfile;
1805  const char *password;
1806  const char *dhfile;
1807  const char *cafile;
1808  const char *capath;
1809  const char *crlfile;
1810  const char *randfile;
1813 #ifdef WITH_C_LOCALE
1814  locale_t c_locale; /* set to C locale by default */
1815 #else
1816  void *c_locale;
1817 #endif
1818 #ifdef WITH_ZLIB
1819  z_stream *d_stream; /* decompression stream */
1820  uLong z_crc; /* internal gzip crc */
1821 #else
1822  void *d_stream; /* dummy members, to preserve struct size */
1824 #endif
1825  short zlib_state; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_INFLATE */
1826  short zlib_in; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */
1827  short zlib_out; /* SOAP_ZLIB_NONE, SOAP_ZLIB_DEFLATE, or SOAP_ZLIB_GZIP */
1828  char *z_buf; /* buffer */
1829  size_t z_buflen;
1830  unsigned short z_level; /* compression level to be used (0=none, 1=fast to 9=best) */
1831  float z_ratio_in; /* detected compression ratio compressed_length/length of inbound message */
1832  float z_ratio_out; /* detected compression ratio compressed_length/length of outbound message */
1833 #ifdef WMW_RPM_IO
1834  void *rpmreqid;
1835 #endif
1836 #ifdef __cplusplus
1837  soap();
1838  soap(soap_mode);
1839  soap(soap_mode, soap_mode);
1840  soap(struct soap&);
1841  virtual ~soap();
1842 #else
1843  void (*dummy)();
1844 #endif
1845  };
1846 
1848  {
1849  long code;
1850  const char *string;
1851  };
1852 
1853  /* forwarding list */
1854  struct soap_flist
1855  {
1856  struct soap_flist *next;
1857  int type;
1858  void *ptr;
1859  unsigned int level;
1860  size_t len;
1861  void (*fcopy)(struct soap*, int, int, void*, size_t, const void*, size_t);
1862  };
1863 
1864  /* id-ref forwarding list */
1865  struct soap_ilist
1866  {
1867  struct soap_ilist *next;
1868  int type;
1869  size_t size;
1870  void *link;
1871  void *copy;
1873  void *ptr;
1874  unsigned int level;
1875  char id[1]; /* the actual id string value flows into the allocated region below this struct */
1876  };
1877 
1879  {
1881  const char *id;
1882  void *data;
1883  int (*fcopy)(struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src);
1884  void (*fdelete)(struct soap *soap, struct soap_plugin *p); /* should delete fields of plugin only and not free(p) */
1885  };
1886 
1887 #ifndef WITH_NONAMESPACES
1888  extern SOAP_NMAC struct Namespace namespaces[];
1889 #endif
1890 
1891 #ifndef WITH_LEAN
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++])
1894 #else
1895  soap_wchar soap_get0(struct soap*);
1896  soap_wchar soap_get1(struct soap*);
1897 #endif
1898 
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)
1911 
1912 #ifdef HAVE_STRRCHR
1913 # define soap_strrchr(s, t) strrchr(s, t)
1914 #else
1915  SOAP_FMAC1 char* SOAP_FMAC2 soap_strrchr(const char *s, int t);
1916 #endif
1917 
1918 #ifdef HAVE_STRTOL
1919 # define soap_strtol(s, t, b) strtol(s, t, b)
1920 #else
1921  SOAP_FMAC1 long SOAP_FMAC2 soap_strtol(const char *s, char **t, int b);
1922 #endif
1923 
1924 #ifdef HAVE_STRTOUL
1925 # define soap_strtoul(s, t, b) strtoul(s, t, b)
1926 #else
1927  SOAP_FMAC1 unsigned long SOAP_FMAC2 soap_strtoul(const char *s, char **t, int b);
1928 #endif
1929 
1930 #if defined(WITH_OPENSSL)
1931 # define soap_random soap_rand()
1932  SOAP_FMAC1 int SOAP_FMAC2 soap_rand(void);
1933 #elif defined(HAVE_RANDOM)
1934 # define soap_random (int)random()
1935 #else
1936 # define soap_random rand()
1937 #endif
1938 
1939 #ifdef WITH_NOIDREF
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)
1955 #endif
1956 
1957  SOAP_FMAC1 void SOAP_FMAC2 soap_header(struct soap*);
1958  SOAP_FMAC1 void SOAP_FMAC2 soap_fault(struct soap*);
1959  SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultcode(struct soap*);
1960  SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultsubcode(struct soap*);
1961  SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultstring(struct soap*);
1962  SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultdetail(struct soap*);
1967  SOAP_FMAC1 int SOAP_FMAC2 soap_putfault(struct soap*);
1968  SOAP_FMAC1 int SOAP_FMAC2 soap_getfault(struct soap*);
1969 
1971  SOAP_FMAC1 int SOAP_FMAC2 soap_poll(struct soap*);
1972  SOAP_FMAC1 int SOAP_FMAC2 soap_connect_command(struct soap*, int, const char*, const char*);
1973  SOAP_FMAC1 int SOAP_FMAC2 soap_connect(struct soap*, const char*, const char*);
1974  SOAP_FMAC1 SOAP_SOCKET SOAP_FMAC2 soap_bind(struct soap*, const char*, int, int);
1977  SOAP_FMAC1 const char * SOAP_FMAC2 soap_ssl_error(struct soap*, int);
1978 
1979  SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_server_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*, const char*, const char*);
1980  SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_client_context(struct soap*, unsigned short, const char*, const char*, const char*, const char*, const char*);
1981 
1982  SOAP_FMAC1 int SOAP_FMAC2 soap_puthttphdr(struct soap*, int status, size_t count);
1983 
1984  SOAP_FMAC1 const char* SOAP_FMAC2 soap_get_header_attribute(struct soap*, const char*, const char*);
1985  SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_key(char*, size_t, const char*);
1986  SOAP_FMAC1 const char* SOAP_FMAC2 soap_decode_val(char*, size_t, const char*);
1987 
1988  SOAP_FMAC1 size_t SOAP_FMAC2 soap_hash(const char*);
1989  SOAP_FMAC1 void SOAP_FMAC2 soap_set_endpoint(struct soap*, const char*);
1990  SOAP_FMAC1 int SOAP_FMAC2 soap_flush_raw(struct soap*, const char*, size_t);
1991  SOAP_FMAC1 int SOAP_FMAC2 soap_flush(struct soap*);
1992  SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_get(struct soap*);
1993  SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getchar(struct soap*);
1994  SOAP_FMAC1 int SOAP_FMAC2 soap_tag_cmp(const char*, const char*);
1995  SOAP_FMAC1 void SOAP_FMAC2 soap_set_fault(struct soap*);
1996  SOAP_FMAC1 int SOAP_FMAC2 soap_sender_fault(struct soap*, const char*, const char*);
1997  SOAP_FMAC1 int SOAP_FMAC2 soap_sender_fault_subcode(struct soap*, const char*, const char*, const char*);
1998  SOAP_FMAC1 int SOAP_FMAC2 soap_receiver_fault(struct soap*, const char*, const char*);
1999  SOAP_FMAC1 int SOAP_FMAC2 soap_receiver_fault_subcode(struct soap*, const char*, const char*, const char*);
2000  SOAP_FMAC1 int SOAP_FMAC2 soap_set_sender_error(struct soap*, const char*, const char*, int);
2001  SOAP_FMAC1 int SOAP_FMAC2 soap_set_receiver_error(struct soap*, const char*, const char*, int);
2002 
2003  SOAP_FMAC1 int SOAP_FMAC2 soap_send_raw(struct soap*, const char*, size_t);
2004  SOAP_FMAC1 int SOAP_FMAC2 soap_recv_raw(struct soap*);
2005  SOAP_FMAC1 int SOAP_FMAC2 soap_recv(struct soap*);
2006  SOAP_FMAC1 int SOAP_FMAC2 soap_send(struct soap*, const char*);
2007  SOAP_FMAC1 int SOAP_FMAC2 soap_send2(struct soap*, const char*, const char*);
2008  SOAP_FMAC1 int SOAP_FMAC2 soap_send3(struct soap*, const char*, const char*, const char*);
2009 
2010  SOAP_FMAC1 int SOAP_FMAC2 soap_pututf8(struct soap*, unsigned long);
2011  SOAP_FMAC1 soap_wchar SOAP_FMAC2 soap_getutf8(struct soap*);
2012 
2013  SOAP_FMAC1 int SOAP_FMAC2 soap_putbase64(struct soap*, const unsigned char*, int);
2014  SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_getbase64(struct soap*, int*, int);
2015  SOAP_FMAC1 int SOAP_FMAC2 soap_puthex(struct soap*, const unsigned char*, int);
2016  SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_gethex(struct soap*, int*);
2017 
2018 #ifndef WITH_LEANER
2019  SOAP_FMAC1 int SOAP_FMAC2 soap_xop_forward(struct soap*, unsigned char**, int*, char**, char**, char**);
2020  SOAP_FMAC1 int SOAP_FMAC2 soap_dime_forward(struct soap*, unsigned char**, int*, char**, char**, char**);
2021 #endif
2022 
2023 #ifndef WITH_NOIDREF
2024  SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup_id(struct soap*, void *p, int t, struct soap_plist**);
2025  SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup(struct soap*, const void *p, int t, struct soap_plist**);
2026  SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_enter(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**);
2027  SOAP_FMAC1 int SOAP_FMAC2 soap_array_pointer_lookup(struct soap*, const void *p, const struct soap_array *a, int n, int t, struct soap_plist**);
2028  SOAP_FMAC1 int SOAP_FMAC2 soap_embed(struct soap *soap, const void *p, const struct soap_array *a, int n, const char *tag, int type);
2029  SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_lookup(struct soap*, const char*);
2030  SOAP_FMAC1 struct soap_ilist* SOAP_FMAC2 soap_enter(struct soap*, const char*);
2031  SOAP_FMAC1 int SOAP_FMAC2 soap_resolve(struct soap*);
2032  SOAP_FMAC1 void SOAP_FMAC2 soap_embedded(struct soap*, const void *p, int t);
2033  SOAP_FMAC1 int SOAP_FMAC2 soap_reference(struct soap*, const void *p, int t);
2034  SOAP_FMAC1 int SOAP_FMAC2 soap_array_reference(struct soap*, const void *p, const struct soap_array *a, int n, int t);
2035  SOAP_FMAC1 int SOAP_FMAC2 soap_embedded_id(struct soap*, int id, const void *p, int t);
2036  SOAP_FMAC1 int SOAP_FMAC2 soap_is_embedded(struct soap*, struct soap_plist*);
2037  SOAP_FMAC1 int SOAP_FMAC2 soap_is_single(struct soap*, struct soap_plist*);
2038  SOAP_FMAC1 void SOAP_FMAC2 soap_set_embedded(struct soap*, struct soap_plist*);
2039 #endif
2040 
2044  SOAP_FMAC1 int SOAP_FMAC2 soap_end_send(struct soap*);
2045 
2046  SOAP_FMAC1 const struct soap_code_map* SOAP_FMAC2 soap_code(const struct soap_code_map*, const char*);
2047  SOAP_FMAC1 long SOAP_FMAC2 soap_code_int(const struct soap_code_map*, const char*, long);
2048  SOAP_FMAC1 const char* SOAP_FMAC2 soap_code_str(const struct soap_code_map*, long);
2049  SOAP_FMAC1 long SOAP_FMAC2 soap_code_bits(const struct soap_code_map*, const char*);
2050  SOAP_FMAC1 const char* SOAP_FMAC2 soap_code_list(struct soap*, const struct soap_code_map*, long);
2051 
2052  SOAP_FMAC1 int SOAP_FMAC2 soap_getline(struct soap*, char*, int);
2054  SOAP_FMAC1 int SOAP_FMAC2 soap_end_recv(struct soap*);
2055 
2056  SOAP_FMAC1 void* SOAP_FMAC2 soap_malloc(struct soap*, size_t);
2057  SOAP_FMAC1 void SOAP_FMAC2 soap_dealloc(struct soap*, void*);
2058  SOAP_FMAC1 struct soap_clist * SOAP_FMAC2 soap_link(struct soap*, void*, int, int, int (*fdelete)(struct soap_clist*));
2059  SOAP_FMAC1 void SOAP_FMAC2 soap_unlink(struct soap*, const void*);
2060  SOAP_FMAC1 void SOAP_FMAC2 soap_free_temp(struct soap*);
2061  SOAP_FMAC1 void SOAP_FMAC2 soap_del(struct soap*);
2062 
2063  SOAP_FMAC1 void* SOAP_FMAC2 soap_track_malloc(struct soap*, const char*, int, size_t);
2064  SOAP_FMAC1 void SOAP_FMAC2 soap_track_free(struct soap*, const char*, int, void*);
2065 
2066 #ifndef WITH_NOIDREF
2067  SOAP_FMAC1 int SOAP_FMAC2 soap_lookup_type(struct soap*, const char *id);
2068  SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, unsigned int k);
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));
2070 #endif
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*));
2072  SOAP_FMAC1 void SOAP_FMAC2 soap_fcopy(struct soap *soap, int st, int tt, void *p, size_t, const void *q, size_t n);
2073 
2074  SOAP_FMAC1 int SOAP_FMAC2 soap_size(const int *, int);
2075  SOAP_FMAC1 int SOAP_FMAC2 soap_getoffsets(const char *, const int *, int *, int);
2076  SOAP_FMAC1 int SOAP_FMAC2 soap_getsize(const char *, const char *, int *);
2077  SOAP_FMAC1 int SOAP_FMAC2 soap_getsizes(const char *, int *, int);
2078  SOAP_FMAC1 int SOAP_FMAC2 soap_getposition(const char *, int *);
2079 
2080  SOAP_FMAC1 char* SOAP_FMAC2 soap_putsize(struct soap*, const char *, int);
2081  SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizesoffsets(struct soap*, const char *, const int *, const int *, int);
2082  SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizes(struct soap*, const char *, const int *, int);
2083  SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffset(struct soap*, int);
2084  SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffsets(struct soap*, const int *, int);
2085 
2087 
2088  SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new(void);
2089  SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new1(soap_mode);
2090  SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new2(soap_mode, soap_mode);
2091  SOAP_FMAC1 void SOAP_FMAC2 soap_free(struct soap*);
2092  SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy(const struct soap*);
2093  SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_copy_context(struct soap*, const struct soap*);
2094  SOAP_FMAC1 void SOAP_FMAC2 soap_copy_stream(struct soap*, struct soap*);
2095  SOAP_FMAC1 void SOAP_FMAC2 soap_init(struct soap*);
2096  SOAP_FMAC1 void SOAP_FMAC2 soap_init1(struct soap*, soap_mode);
2097  SOAP_FMAC1 void SOAP_FMAC2 soap_init2(struct soap*, soap_mode, soap_mode);
2098  SOAP_FMAC1 void SOAP_FMAC2 soap_done(struct soap*);
2099  SOAP_FMAC1 void SOAP_FMAC2 soap_cleanup(struct soap*);
2100  SOAP_FMAC1 void SOAP_FMAC2 soap_begin(struct soap*);
2101  SOAP_FMAC1 void SOAP_FMAC2 soap_end(struct soap*);
2102  SOAP_FMAC1 void SOAP_FMAC2 soap_delete(struct soap*, void*);
2103 
2104 #ifdef SOAP_DEBUG
2105  SOAP_FMAC1 void SOAP_FMAC2 soap_set_recv_logfile(struct soap*, const char*);
2106  SOAP_FMAC1 void SOAP_FMAC2 soap_set_sent_logfile(struct soap*, const char*);
2107  SOAP_FMAC1 void SOAP_FMAC2 soap_set_test_logfile(struct soap*, const char*);
2108  SOAP_FMAC1 void SOAP_FMAC2 soap_close_logfiles(struct soap*);
2109  SOAP_FMAC1 void SOAP_FMAC2 soap_open_logfile(struct soap*, int);
2110 #endif
2111 
2112  SOAP_FMAC1 const char* SOAP_FMAC2 soap_value(struct soap*);
2113 
2114  SOAP_FMAC1 int SOAP_FMAC2 soap_match_tag(struct soap*, const char*, const char *);
2115  SOAP_FMAC1 int SOAP_FMAC2 soap_match_array(struct soap*, const char*);
2116 
2117  SOAP_FMAC1 int SOAP_FMAC2 soap_element(struct soap*, const char*, int, const char*);
2118  SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_out(struct soap*, const char *tag, int id, const char *type);
2119  SOAP_FMAC1 int SOAP_FMAC2 soap_array_begin_out(struct soap*, const char *tag, int id, const char *type, const char *offset);
2120  SOAP_FMAC1 int SOAP_FMAC2 soap_element_ref(struct soap*, const char *tag, int id, int href);
2121  SOAP_FMAC1 int SOAP_FMAC2 soap_element_href(struct soap*, const char *tag, int id, const char *ref, const char *val);
2122  SOAP_FMAC1 int SOAP_FMAC2 soap_element_null(struct soap*, const char *tag, int id, const char *type);
2123  SOAP_FMAC1 int SOAP_FMAC2 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);
2124  SOAP_FMAC1 int SOAP_FMAC2 soap_element_result(struct soap*, const char *tag);
2125  SOAP_FMAC1 void SOAP_FMAC2 soap_check_result(struct soap*, const char *tag);
2126  SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_out(struct soap*, const char *tag);
2127  SOAP_FMAC1 int SOAP_FMAC2 soap_element_start_end_out(struct soap*, const char *tag);
2128 
2129  SOAP_FMAC1 int SOAP_FMAC2 soap_attribute(struct soap*, const char*, const char*);
2130 
2131  SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_in(struct soap*, const char *tag, int nillable, const char *type);
2132 
2133  SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_in(struct soap*, const char *tag);
2134 
2136 
2137  SOAP_FMAC1 void SOAP_FMAC2 soap_retry(struct soap*);
2138  SOAP_FMAC1 void SOAP_FMAC2 soap_revert(struct soap*);
2139 
2140  SOAP_FMAC1 char* SOAP_FMAC2 soap_strdup(struct soap*, const char*);
2141  SOAP_FMAC1 wchar_t* SOAP_FMAC2 soap_wstrdup(struct soap*, const wchar_t*);
2142  SOAP_FMAC1 const char * SOAP_FMAC2 soap_strsearch(const char *big, const char *little);
2143 
2144  SOAP_FMAC1 int SOAP_FMAC2 soap_string_out(struct soap*, const char *s, int flag);
2145  SOAP_FMAC1 char* SOAP_FMAC2 soap_string_in(struct soap*, int, long, long);
2146 
2147 #ifndef WITH_LEANER
2148  SOAP_FMAC1 int SOAP_FMAC2 soap_wstring_out(struct soap*, const wchar_t *s, int flag);
2149  SOAP_FMAC1 wchar_t* SOAP_FMAC2 soap_wstring_in(struct soap*, int, long, long);
2150 #endif
2151 
2152  SOAP_FMAC1 int SOAP_FMAC2 soap_match_namespace(struct soap*, const char *, const char*, size_t n1, size_t n2);
2153 
2154  SOAP_FMAC1 int SOAP_FMAC2 soap_set_namespaces(struct soap*, const struct Namespace*);
2156 
2158  SOAP_FMAC1 int SOAP_FMAC2 soap_push_namespace(struct soap*, const char *, const char *);
2159  SOAP_FMAC1 const char* SOAP_FMAC2 soap_current_namespace(struct soap *soap, const char *tag);
2160 
2161  SOAP_FMAC1 struct soap_nlist* SOAP_FMAC2 soap_lookup_ns(struct soap *soap, const char *tag, size_t n);
2162 
2163  SOAP_FMAC1 int SOAP_FMAC2 soap_store_lab(struct soap*, const char*, size_t);
2164  SOAP_FMAC1 int SOAP_FMAC2 soap_append_lab(struct soap*, const char*, size_t);
2165 
2167  SOAP_FMAC1 void* SOAP_FMAC2 soap_push_block(struct soap*, struct soap_blist*, size_t);
2168  SOAP_FMAC1 void SOAP_FMAC2 soap_pop_block(struct soap*, struct soap_blist*);
2169  SOAP_FMAC1 size_t SOAP_FMAC2 soap_size_block(struct soap*, struct soap_blist*, size_t);
2170  SOAP_FMAC1 char* SOAP_FMAC2 soap_first_block(struct soap*, struct soap_blist*);
2171  SOAP_FMAC1 char* SOAP_FMAC2 soap_next_block(struct soap*, struct soap_blist*);
2172  SOAP_FMAC1 size_t SOAP_FMAC2 soap_block_size(struct soap*, struct soap_blist*);
2173  SOAP_FMAC1 char* SOAP_FMAC2 soap_save_block(struct soap*, struct soap_blist*, char*, int);
2174  SOAP_FMAC1 void SOAP_FMAC2 soap_end_block(struct soap*, struct soap_blist*);
2175 
2177  SOAP_FMAC1 int soap_envelope_end_out(struct soap*);
2178 
2181 
2184 
2187 
2189 
2190  SOAP_FMAC1 int SOAP_FMAC2 soap_response(struct soap*, int);
2191 
2192  SOAP_FMAC1 int SOAP_FMAC2 soap_send_empty_response(struct soap*, int status);
2194 
2197 
2198 #ifndef WITH_NOSTDLIB
2199  SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault(struct soap*, FILE*);
2200  SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault_location(struct soap*, FILE*);
2201 # ifndef WITH_LEAN
2202 # ifdef __cplusplus
2203  SOAP_FMAC1 void SOAP_FMAC2 soap_stream_fault(struct soap*, std::ostream&);
2204 # endif
2205  SOAP_FMAC1 char* SOAP_FMAC2 soap_sprint_fault(struct soap*, char*, size_t);
2206 # endif
2207 #endif
2208 
2209  SOAP_FMAC1 int SOAP_FMAC2 soap_s2byte(struct soap*, const char*, char*);
2210  SOAP_FMAC1 int SOAP_FMAC2 soap_s2short(struct soap*, const char*, short*);
2211  SOAP_FMAC1 int SOAP_FMAC2 soap_s2int(struct soap*, const char*, int*);
2212  SOAP_FMAC1 int SOAP_FMAC2 soap_s2long(struct soap*, const char*, long*);
2213  SOAP_FMAC1 int SOAP_FMAC2 soap_s2LONG64(struct soap*, const char*, LONG64*);
2214  SOAP_FMAC1 int SOAP_FMAC2 soap_s2float(struct soap*, const char*, float*);
2215  SOAP_FMAC1 int SOAP_FMAC2 soap_s2double(struct soap*, const char*, double*);
2216  SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedByte(struct soap*, const char*, unsigned char*);
2217  SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedShort(struct soap*, const char*, unsigned short*);
2218  SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedInt(struct soap*, const char*, unsigned int*);
2219  SOAP_FMAC1 int SOAP_FMAC2 soap_s2unsignedLong(struct soap*, const char*, unsigned long*);
2220  SOAP_FMAC1 int SOAP_FMAC2 soap_s2ULONG64(struct soap*, const char*, ULONG64*);
2221  SOAP_FMAC1 int SOAP_FMAC2 soap_s2string(struct soap*, const char*, char**);
2222  SOAP_FMAC1 int SOAP_FMAC2 soap_s2QName(struct soap*, const char*, char**);
2223 
2224 #ifndef WITH_LEAN
2225  SOAP_FMAC1 int SOAP_FMAC2 soap_s2wchar(struct soap*, const char*, wchar_t**);
2226  SOAP_FMAC1 int SOAP_FMAC2 soap_s2dateTime(struct soap*, const char*, time_t*);
2227  SOAP_FMAC1 char* SOAP_FMAC2 soap_s2base64(struct soap*, const unsigned char*, char*, int);
2228  SOAP_FMAC1 char* SOAP_FMAC2 soap_s2hex(struct soap*, const unsigned char*, char*, int);
2229 #endif
2230 
2231  SOAP_FMAC1 const char* SOAP_FMAC2 soap_byte2s(struct soap*, char);
2232  SOAP_FMAC1 const char* SOAP_FMAC2 soap_short2s(struct soap*, short);
2233  SOAP_FMAC1 const char* SOAP_FMAC2 soap_int2s(struct soap*, int);
2234  SOAP_FMAC1 const char* SOAP_FMAC2 soap_long2s(struct soap*, long);
2235  SOAP_FMAC1 const char* SOAP_FMAC2 soap_LONG642s(struct soap*, LONG64);
2236  SOAP_FMAC1 const char* SOAP_FMAC2 soap_float2s(struct soap*, float);
2237  SOAP_FMAC1 const char* SOAP_FMAC2 soap_double2s(struct soap*, double);
2238  SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedByte2s(struct soap*, unsigned char);
2239  SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedShort2s(struct soap*, unsigned short);
2240  SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedInt2s(struct soap*, unsigned int);
2241  SOAP_FMAC1 const char* SOAP_FMAC2 soap_unsignedLong2s(struct soap*, unsigned long);
2242  SOAP_FMAC1 const char* SOAP_FMAC2 soap_ULONG642s(struct soap*, ULONG64);
2243  SOAP_FMAC1 const char* SOAP_FMAC2 soap_QName2s(struct soap*, const char*);
2244 
2245 #ifndef WITH_LEAN
2246  SOAP_FMAC1 const char* SOAP_FMAC2 soap_wchar2s(struct soap*, const wchar_t*);
2247  SOAP_FMAC1 const char* SOAP_FMAC2 soap_dateTime2s(struct soap*, time_t);
2248  SOAP_FMAC1 const char* SOAP_FMAC2 soap_base642s(struct soap*, const char*, char*, size_t, int*);
2249  SOAP_FMAC1 const char* SOAP_FMAC2 soap_hex2s(struct soap*, const char*, char*, size_t, int*);
2250 #endif
2251 
2252  SOAP_FMAC1 int* SOAP_FMAC2 soap_inint(struct soap*, const char *tag, int *p, const char *, int);
2253  SOAP_FMAC1 char* SOAP_FMAC2 soap_inbyte(struct soap*, const char *tag, char *p, const char *, int);
2254  SOAP_FMAC1 long* SOAP_FMAC2 soap_inlong(struct soap*, const char *tag, long *p, const char *, int);
2255  SOAP_FMAC1 LONG64* SOAP_FMAC2 soap_inLONG64(struct soap*, const char *tag, LONG64 *p, const char *, int);
2256  SOAP_FMAC1 short* SOAP_FMAC2 soap_inshort(struct soap*, const char *tag, short *p, const char *, int);
2257  SOAP_FMAC1 float* SOAP_FMAC2 soap_infloat(struct soap*, const char *tag, float *p, const char *, int);
2258  SOAP_FMAC1 double* SOAP_FMAC2 soap_indouble(struct soap*, const char *tag, double *p, const char *, int);
2259  SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_inunsignedByte(struct soap*, const char *tag, unsigned char *p, const char *, int);
2260  SOAP_FMAC1 unsigned short* SOAP_FMAC2 soap_inunsignedShort(struct soap*, const char *tag, unsigned short *p, const char *, int);
2261  SOAP_FMAC1 unsigned int* SOAP_FMAC2 soap_inunsignedInt(struct soap*, const char *tag, unsigned int *p, const char *, int);
2262  SOAP_FMAC1 unsigned long* SOAP_FMAC2 soap_inunsignedLong(struct soap*, const char *tag, unsigned long *p, const char *, int);
2263  SOAP_FMAC1 ULONG64* SOAP_FMAC2 soap_inULONG64(struct soap*, const char *tag, ULONG64 *p, const char *, int);
2264  SOAP_FMAC1 char** SOAP_FMAC2 soap_instring(struct soap*, const char *tag, char **p, const char *, int, int, long, long);
2265  SOAP_FMAC1 char** SOAP_FMAC2 soap_inliteral(struct soap*, const char *tag, char **p);
2266 
2267 #ifndef WITH_LEAN
2268  SOAP_FMAC1 time_t* SOAP_FMAC2 soap_indateTime(struct soap*, const char *tag, time_t *p, const char *, int);
2269  SOAP_FMAC1 time_t SOAP_FMAC2 soap_timegm(struct tm*);
2270 #endif
2271 
2272 #ifndef WITH_LEANER
2273  SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwstring(struct soap*, const char *tag, wchar_t **p, const char *, int, long, long);
2274  SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwliteral(struct soap*, const char *tag, wchar_t **p);
2275 #endif
2276 
2277  SOAP_FMAC1 int SOAP_FMAC2 soap_outbyte(struct soap*, const char *tag, int id, const char *p, const char *, int);
2278  SOAP_FMAC1 int SOAP_FMAC2 soap_outshort(struct soap*, const char *tag, int id, const short *p, const char *, int);
2279  SOAP_FMAC1 int SOAP_FMAC2 soap_outint(struct soap*, const char *tag, int id, const int *p, const char *, int);
2280  SOAP_FMAC1 int SOAP_FMAC2 soap_outlong(struct soap*, const char *tag, int id, const long *p, const char *, int);
2281  SOAP_FMAC1 int SOAP_FMAC2 soap_outLONG64(struct soap*, const char *tag, int id, const LONG64 *p, const char *, int);
2282  SOAP_FMAC1 int SOAP_FMAC2 soap_outfloat(struct soap*, const char *tag, int id, const float *p, const char *, int);
2283  SOAP_FMAC1 int SOAP_FMAC2 soap_outdouble(struct soap*, const char *tag, int id, const double *p, const char *, int);
2284  SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedByte(struct soap*, const char *tag, int id, const unsigned char *p, const char *, int);
2285  SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedShort(struct soap*, const char *tag, int id, const unsigned short *p, const char *, int);
2286  SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedInt(struct soap*, const char *tag, int id, const unsigned int *p, const char *, int);
2287  SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedLong(struct soap*, const char *tag, int id, const unsigned long *p, const char *, int);
2288  SOAP_FMAC1 int SOAP_FMAC2 soap_outULONG64(struct soap*, const char *tag, int id, const ULONG64 *p, const char *, int);
2289  SOAP_FMAC1 int SOAP_FMAC2 soap_outstring(struct soap*, const char *tag, int id, char *const*p, const char *, int);
2290  SOAP_FMAC1 int SOAP_FMAC2 soap_outliteral(struct soap*, const char *tag, char *const*p, const char *type);
2291 
2292 #ifndef WITH_LEAN
2293  SOAP_FMAC1 int SOAP_FMAC2 soap_outdateTime(struct soap*, const char *tag, int id, const time_t *p, const char *, int);
2294 #endif
2295 
2296 #ifndef WITH_LEANER
2297  SOAP_FMAC1 int SOAP_FMAC2 soap_outwstring(struct soap*, const char *tag, int id, wchar_t *const*p, const char *, int);
2298  SOAP_FMAC1 int SOAP_FMAC2 soap_outwliteral(struct soap*, const char *tag, wchar_t *const*p, const char *type);
2299 #endif
2300 
2301 #ifndef WITH_LEANER
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);
2303  SOAP_FMAC1 int SOAP_FMAC2 soap_move(struct soap*, long);
2304  SOAP_FMAC1 size_t SOAP_FMAC2 soap_tell(struct soap*);
2305  SOAP_FMAC1 char* SOAP_FMAC2 soap_dime_option(struct soap*, unsigned short, const char*);
2307  SOAP_FMAC1 int SOAP_FMAC2 soap_getdime(struct soap*);
2309  SOAP_FMAC1 int SOAP_FMAC2 soap_putdime(struct soap*);
2311  SOAP_FMAC1 int SOAP_FMAC2 soap_getmime(struct soap*);
2313  SOAP_FMAC1 int SOAP_FMAC2 soap_putmime(struct soap*);
2314  SOAP_FMAC1 void SOAP_FMAC2 soap_set_dime(struct soap*);
2315  SOAP_FMAC1 void SOAP_FMAC2 soap_set_mime(struct soap*, const char *boundary, const char *start);
2316  SOAP_FMAC1 void SOAP_FMAC2 soap_clr_dime(struct soap*);
2317  SOAP_FMAC1 void SOAP_FMAC2 soap_clr_mime(struct soap*);
2318  SOAP_FMAC1 int SOAP_FMAC2 soap_set_dime_attachment(struct soap*, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option);
2319  SOAP_FMAC1 int SOAP_FMAC2 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);
2322  SOAP_FMAC1 struct soap_multipart* SOAP_FMAC2 soap_get_mime_attachment(struct soap *soap, void *handle);
2324  SOAP_FMAC1 int SOAP_FMAC2 soap_match_cid(struct soap*, const char*, const char*);
2325 #endif
2326 
2327  SOAP_FMAC1 int SOAP_FMAC2 soap_register_plugin_arg(struct soap*, int (*fcreate)(struct soap*, struct soap_plugin*, void*), void*);
2328  SOAP_FMAC1 void* SOAP_FMAC2 soap_lookup_plugin(struct soap*, const char*);
2329 
2330  SOAP_FMAC1 const char* SOAP_FMAC2 soap_attr_value(struct soap *soap, const char *name, int flag);
2331  SOAP_FMAC1 int SOAP_FMAC2 soap_set_attr(struct soap *soap, const char *name, const char *value);
2333 
2334 #ifdef WITH_COOKIES
2335  SOAP_FMAC1 void SOAP_FMAC2 soap_getcookies(struct soap *soap, const char *val);
2336  SOAP_FMAC1 size_t SOAP_FMAC2 soap_encode_cookie(const char*, char*, size_t);
2337  SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_set_cookie(struct soap*, const char*, const char*, const char*, const char*);
2338  SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_cookie(struct soap*, const char*, const char*, const char*);
2339  SOAP_FMAC1 extern char* SOAP_FMAC2 soap_cookie_value(struct soap*, const char*, const char*, const char*);
2340  SOAP_FMAC1 extern char* SOAP_FMAC2 soap_env_cookie_value(struct soap*, const char*, const char*, const char*);
2341  SOAP_FMAC1 extern time_t SOAP_FMAC2 soap_cookie_expire(struct soap*, const char*, const char*, const char*);
2342  SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_expire(struct soap*, const char*, long, const char*, const char*);
2343  SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_session(struct soap*, const char*, const char*, const char*);
2344  SOAP_FMAC1 extern int SOAP_FMAC2 soap_clr_cookie_session(struct soap*, const char*, const char*, const char*);
2345  SOAP_FMAC1 extern void SOAP_FMAC2 soap_clr_cookie(struct soap*, const char*, const char*, const char*);
2346  SOAP_FMAC1 extern int SOAP_FMAC2 soap_getenv_cookies(struct soap*);
2347  SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_copy_cookies(struct soap*, const struct soap*);
2348  SOAP_FMAC1 extern void SOAP_FMAC2 soap_free_cookies(struct soap*);
2349 #endif
2350 
2351 #ifdef __cplusplus
2352 } /* extern "C" */
2353 #endif
2354 
2355 #endif
int(* fheader)(struct soap *)
Definition: stdsoap2.h:1648
char tmpbuf[1024]
Definition: stdsoap2.h:1712
void(* fdimewriteclose)(struct soap *, void *)
Definition: stdsoap2.h:1673
char msgbuf[1024]
Definition: stdsoap2.h:1711
const char * id
Definition: stdsoap2.h:1444
int soap_outwliteral(struct soap *, const char *tag, wchar_t *const *p, const char *type)
Definition: stdsoap2.cpp:14125
int soap_set_sender_error(struct soap *, const char *, const char *, int)
Definition: stdsoap2.cpp:19207
int soap_s2LONG64(struct soap *, const char *, long long *)
Definition: stdsoap2.cpp:12173
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 *))
Definition: stdsoap2.cpp:7661
size_t lablen
Definition: stdsoap2.h:1708
int soap_dime_forward(struct soap *, unsigned char **, int *, char **, char **, char **)
Definition: stdsoap2.cpp:2653
const char * soap_current_namespace(struct soap *soap, const char *tag)
Definition: stdsoap2.cpp:3615
void soap_free(struct soap *)
Definition: stdsoap2.cpp:6224
void soap_fcopy(struct soap *soap, int st, int tt, void *p, size_t, const void *q, size_t n)
Definition: stdsoap2.cpp:7736
int soap_outwstring(struct soap *, const char *tag, int id, wchar_t *const *p, const char *, int)
Definition: stdsoap2.cpp:13680
short alloced
Definition: stdsoap2.h:1730
short keep_alive
Definition: stdsoap2.h:1742
struct soap_blist * blist
Definition: stdsoap2.h:1624
int soap_recv_empty_response(struct soap *)
Definition: stdsoap2.cpp:19113
int soap_recv_header(struct soap *)
Definition: stdsoap2.cpp:17719
int * size
Definition: stdsoap2.h:1462
void soap_dealloc(struct soap *, void *)
Definition: stdsoap2.cpp:7236
const char * in
Definition: stdsoap2.h:1264
const char * soap_decode_val(char *, size_t, const char *)
Definition: stdsoap2.cpp:17343
char * prolog
Definition: stdsoap2.h:1739
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)
Definition: stdsoap2.cpp:9902
void soap_done(struct soap *)
Definition: stdsoap2.cpp:4320
char tag[(1024)]
Definition: stdsoap2.h:1713
const char * cookie_domain
Definition: stdsoap2.h:1773
int soap_is_single(struct soap *, struct soap_plist *)
Definition: stdsoap2.cpp:6847
int soap_recv_fault(struct soap *)
Definition: stdsoap2.cpp:19038
int soap_element_ref(struct soap *, const char *tag, int id, int href)
Definition: stdsoap2.cpp:9647
void * soap_lookup_plugin(struct soap *, const char *)
Definition: stdsoap2.cpp:19493
void soap_serializeheader(struct soap *)
Definition: soapC.cpp:27
int soap_puthex(struct soap *, const unsigned char *, int)
Definition: stdsoap2.cpp:2200
int soap_recv(struct soap *)
Definition: stdsoap2.cpp:1519
int soap_body_begin_in(struct soap *)
Definition: stdsoap2.cpp:17685
void * is
Definition: stdsoap2.h:1690
int socket_flags
Definition: stdsoap2.h:1616
void soap_revert(struct soap *)
Definition: stdsoap2.cpp:10863
wchar_t ** soap_inwliteral(struct soap *, const char *tag, wchar_t **p)
Definition: stdsoap2.cpp:14186
int recvfd
Definition: stdsoap2.h:1694
int soap_outLONG64(struct soap *, const char *tag, int id, const long long *p, const char *, int)
Definition: stdsoap2.cpp:12158
struct soap_dom_element * dom
Definition: stdsoap2.h:1759
const char * dime_id_format
Definition: stdsoap2.h:1606
void soap_track_free(struct soap *, const char *, int, void *)
int soap_body_end_out(struct soap *)
Definition: stdsoap2.cpp:17670
const char * cafile
Definition: stdsoap2.h:1807
const char * soap_wchar2s(struct soap *, const wchar_t *)
Definition: stdsoap2.cpp:13531
int soap_element_null(struct soap *, const char *tag, int id, const char *type)
Definition: stdsoap2.cpp:9686
unsigned short z_level
Definition: stdsoap2.h:1830
size_t chunksize
Definition: stdsoap2.h:1389
const char * soap_base642s(struct soap *, const char *, char *, size_t, int *)
Definition: stdsoap2.cpp:18039
int error
Definition: stdsoap2.h:1755
struct soap_multipart * first
Definition: stdsoap2.h:1413
struct soap_plugin * plugins
Definition: stdsoap2.h:1635
int soap_tag_cmp(const char *, const char *)
Definition: stdsoap2.cpp:3657
int soap_element(struct soap *, const char *, int, const char *)
Definition: stdsoap2.cpp:9009
int soap_set_namespaces(struct soap *, const struct Namespace *)
Definition: stdsoap2.cpp:8756
struct soap_ilist * soap_enter(struct soap *, const char *)
Definition: stdsoap2.cpp:7056
void soap_serializefault(struct soap *)
Definition: soapC.cpp:90
unsigned long ip
Definition: stdsoap2.h:1740
int soap_outdouble(struct soap *, const char *tag, int id, const double *p, const char *, int)
Definition: stdsoap2.cpp:12648
const char * soap_unsignedByte2s(struct soap *, unsigned char)
Definition: stdsoap2.cpp:12752
int soap_outfloat(struct soap *, const char *tag, int id, const float *p, const char *, int)
Definition: stdsoap2.cpp:12467
struct soap_multipart * list
Definition: stdsoap2.h:1412
int(* faccept)(struct soap *, int, struct sockaddr *, int *n)
Definition: stdsoap2.h:1655
const char * dhfile
Definition: stdsoap2.h:1806
unsigned int tcp_keep_idle
Definition: stdsoap2.h:1744
int soap_putdime(struct soap *)
Definition: stdsoap2.cpp:14522
const char * nstr
Definition: stdsoap2.h:1494
void(* fmimereadclose)(struct soap *, void *)
Definition: stdsoap2.h:1678
int soap_getposition(const char *, int *)
Definition: stdsoap2.cpp:3452
soap_wchar soap_getchar(struct soap *)
Definition: stdsoap2.cpp:1616
int soap_peek_element(struct soap *)
Definition: stdsoap2.cpp:10336
int sendfd
Definition: stdsoap2.h:1693
short part
Definition: stdsoap2.h:1729
#define SOAP_IDHASH
Definition: stdsoap2.h:834
void * fsslverify
Definition: stdsoap2.h:1797
wchar_t ** soap_inwstring(struct soap *, const char *tag, wchar_t **p, const char *, int, long, long)
Definition: stdsoap2.cpp:13706
char * soap_sprint_fault(struct soap *, char *, size_t)
Definition: stdsoap2.cpp:19366
struct soap_ilist * next
Definition: stdsoap2.h:1867
struct soap_plist * next
Definition: stdsoap2.h:1296
char * soap_s2base64(struct soap *, const unsigned char *, char *, int)
Definition: stdsoap2.cpp:17979
char * action
Definition: stdsoap2.h:1737
soap_mode imode
Definition: stdsoap2.h:1602
int soap_putheader(struct soap *)
Definition: soapC.cpp:33
const char * randfile
Definition: stdsoap2.h:1810
soap_mode mode
Definition: stdsoap2.h:1601
int soap_puthttphdr(struct soap *, int status, size_t count)
Definition: stdsoap2.cpp:18241
int soap_send_fault(struct soap *)
Definition: stdsoap2.cpp:18952
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)
Definition: stdsoap2.cpp:12047
struct soap_multipart * first
Definition: stdsoap2.h:1397
int soap_size(const int *, int)
Definition: stdsoap2.cpp:3318
struct soap * soap_new2(soap_mode, soap_mode)
Definition: stdsoap2.cpp:6208
int(* fserveloop)(struct soap *)
Definition: stdsoap2.h:1662
int soap_xop_forward(struct soap *, unsigned char **, int *, char **, char **, char **)
Definition: stdsoap2.cpp:2624
const char * http_version
Definition: stdsoap2.h:1607
const char * soap_float2s(struct soap *, float)
Definition: stdsoap2.cpp:12434
int(* fdisconnect)(struct soap *)
Definition: stdsoap2.h:1651
int soap_attribute(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:9802
int soap_getsizes(const char *, int *, int)
Definition: stdsoap2.cpp:3419
int soap_connect(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:17832
struct soap_flist * next
Definition: stdsoap2.h:1856
const char * c14nexclude
Definition: stdsoap2.h:1771
struct SOAP_ENV__Fault * fault
Definition: stdsoap2.h:1632
void * link
Definition: stdsoap2.h:1870
#define soap_strtol(s, t, b)
Definition: stdsoap2.h:1919
struct soap_nlist * soap_lookup_ns(struct soap *soap, const char *tag, size_t n)
Definition: stdsoap2.cpp:8896
char * soap_dime_option(struct soap *, unsigned short, const char *)
Definition: stdsoap2.cpp:14436
void * soap_push_block(struct soap *, struct soap_blist *, size_t)
Definition: stdsoap2.cpp:2752
time_t * soap_indateTime(struct soap *, const char *tag, time_t *p, const char *, int)
Definition: stdsoap2.cpp:13992
#define SOAP_BUFLEN
Definition: stdsoap2.h:814
int(* fhead)(struct soap *)
Definition: stdsoap2.h:1642
size_t size
Definition: stdsoap2.h:1388
int soap_send_empty_response(struct soap *, int status)
Definition: stdsoap2.cpp:19087
struct soap_plugin * next
Definition: stdsoap2.h:1880
int soap_array_pointer_lookup(struct soap *, const void *p, const struct soap_array *a, int n, int t, struct soap_plist **)
Definition: stdsoap2.cpp:6383
short ns
Definition: stdsoap2.h:1728
size_t chunksize
Definition: stdsoap2.h:1732
std::istream & operator>>(std::istream &is, CTableCell &cell)
Definition: CTableCell.cpp:61
int soap_end_count(struct soap *)
Definition: stdsoap2.cpp:6503
const char * location
Definition: stdsoap2.h:1448
short version
Definition: stdsoap2.h:1600
char * id
Definition: stdsoap2.h:1463
#define SOAP_PTRBLK
Definition: stdsoap2.h:823
int soap_envelope_begin_in(struct soap *)
Definition: stdsoap2.cpp:17576
int accept_timeout
Definition: stdsoap2.h:1615
int soap_s2long(struct soap *, const char *, long *)
Definition: stdsoap2.cpp:12074
int soap_putmimehdr(struct soap *, struct soap_multipart *)
Definition: stdsoap2.cpp:15294
unsigned int level
Definition: stdsoap2.h:1704
int soap_array_reference(struct soap *, const void *p, const struct soap_array *a, int n, int t)
Definition: stdsoap2.cpp:6723
const struct soap_array * array
Definition: stdsoap2.h:1298
char mark1
Definition: stdsoap2.h:1301
soap_mime_encoding
Definition: stdsoap2.h:1425
const struct Namespace * namespaces
Definition: stdsoap2.h:1621
const char * proxy_host
Definition: stdsoap2.h:1749
char * ptr
Definition: stdsoap2.h:1392
#define soap_int32
Definition: stdsoap2.h:766
int soap_pututf8(struct soap *, unsigned long)
struct soap_multipart * list
Definition: stdsoap2.h:1396
void soap_pop_block(struct soap *, struct soap_blist *)
Definition: stdsoap2.cpp:2780
char * soap_strdup(struct soap *, const char *)
Definition: stdsoap2.cpp:2688
const char * id
Definition: stdsoap2.h:1881
int(* fcopy)(struct soap *soap, struct soap_plugin *dst, struct soap_plugin *src)
Definition: stdsoap2.h:1883
enum soap_mime_encoding encoding
Definition: stdsoap2.h:1447
void soap_set_mime(struct soap *, const char *boundary, const char *start)
Definition: stdsoap2.cpp:15440
struct soap * soap
Definition: stdsoap2.h:1550
int32_t z_crc
Definition: stdsoap2.h:1823
const char * soap_get_header_attribute(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:17301
short * soap_inshort(struct soap *, const char *tag, short *p, const char *, int)
Definition: stdsoap2.cpp:12394
struct soap_multipart * soap_get_mime_attachment(struct soap *soap, void *handle)
Definition: stdsoap2.cpp:15054
void soap_set_endpoint(struct soap *, const char *)
Definition: stdsoap2.cpp:17735
#define SOAP_MAXDIMS
Definition: stdsoap2.h:862
const char * soap_value(struct soap *)
Definition: stdsoap2.cpp:14238
char href[(1024)]
Definition: stdsoap2.h:1715
int soap_check_mime_attachments(struct soap *soap)
Definition: stdsoap2.cpp:15038
int soap_string_out(struct soap *, const char *s, int flag)
Definition: stdsoap2.cpp:10882
void soap_end_block(struct soap *, struct soap_blist *)
Definition: stdsoap2.cpp:3134
struct soap_clist * clist
Definition: stdsoap2.h:1625
int soap_lookup_type(struct soap *, const char *id)
Definition: stdsoap2.cpp:7444
int soap_is_embedded(struct soap *, struct soap_plist *)
Definition: stdsoap2.cpp:6818
int soap_accept(struct soap *)
Definition: stdsoap2.cpp:5779
struct soap_dom_element * prnt
Definition: stdsoap2.h:1539
size_t z_buflen
Definition: stdsoap2.h:1829
int soap_move(struct soap *, long)
Definition: stdsoap2.cpp:2051
unsigned char ** ptr
Definition: stdsoap2.h:1461
size_t(* fdimeread)(struct soap *, void *, char *, size_t)
Definition: stdsoap2.h:1674
int soap_envelope_end_out(struct soap *)
Definition: stdsoap2.cpp:17456
struct soap_attribute * next
Definition: stdsoap2.h:1337
int soap_store_lab(struct soap *, const char *, size_t)
Definition: stdsoap2.cpp:10275
short zlib_state
Definition: stdsoap2.h:1825
int(* fpoll)(struct soap *)
Definition: stdsoap2.h:1659
const char * string
Definition: stdsoap2.h:1850
const char * soap_unsignedInt2s(struct soap *, unsigned int)
Definition: stdsoap2.cpp:12929
int soap_body_begin_out(struct soap *)
Definition: stdsoap2.cpp:17644
int(* fform)(struct soap *)
Definition: stdsoap2.h:1643
short pidx
Definition: stdsoap2.h:1630
int soap_outint(struct soap *, const char *tag, int id, const int *p, const char *, int)
Definition: stdsoap2.cpp:11960
void soap_init1(struct soap *, soap_mode)
Definition: stdsoap2.cpp:8661
char * ns
Definition: stdsoap2.h:1274
struct Namespace * local_namespaces
Definition: stdsoap2.h:1622
void soap_cleanup(struct soap *)
Definition: stdsoap2.cpp:4487
int soap_resolve(struct soap *)
Definition: stdsoap2.cpp:2910
short peeked
Definition: stdsoap2.h:1731
int soap_wstring_out(struct soap *, const wchar_t *s, int flag)
Definition: stdsoap2.cpp:11642
int soap_match_cid(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:15216
int(* fdelete)(struct soap_clist *)
Definition: stdsoap2.h:1331
int soap_envelope_end_in(struct soap *)
Definition: stdsoap2.cpp:17632
char * authrealm
Definition: stdsoap2.h:1738
int soap_begin_send(struct soap *)
Definition: stdsoap2.cpp:6521
const char * actor
Definition: stdsoap2.h:1610
int errmode
Definition: stdsoap2.h:1756
struct soap_multipart * soap_next_multipart(struct soap_multipart *)
Definition: stdsoap2.cpp:15568
int soap_s2float(struct soap *, const char *, float *)
Definition: stdsoap2.cpp:12482
int soap_set_attr(struct soap *soap, const char *name, const char *value)
Definition: stdsoap2.cpp:10035
const char ** soap_faultstring(struct soap *)
Definition: soapC.cpp:139
soap_wchar ahead
Definition: stdsoap2.h:1701
void soap_embedded(struct soap *, const void *p, int t)
Definition: stdsoap2.cpp:6668
#define soap_strtoul(s, t, b)
Definition: stdsoap2.h:1925
char session_host[(1024)]
Definition: stdsoap2.h:1811
int(* fresolve)(struct soap *, const char *, struct in_addr *inaddr)
Definition: stdsoap2.h:1649
int soap_s2unsignedByte(struct soap *, const char *, unsigned char *)
Definition: stdsoap2.cpp:12778
int soap_send(struct soap *, const char *)
Definition: stdsoap2.cpp:959
const char * options
Definition: stdsoap2.h:1395
int soap_s2ULONG64(struct soap *, const char *, unsigned long long *)
Definition: stdsoap2.cpp:13153
int soap_pointer_lookup_id(struct soap *, void *p, int t, struct soap_plist **)
int soap_getmime(struct soap *)
Definition: stdsoap2.cpp:15009
void * bio
Definition: stdsoap2.h:1798
int soap_s2short(struct soap *, const char *, short *)
Definition: stdsoap2.cpp:12371
const char * proxy_http_version
Definition: stdsoap2.h:1748
int soap_outdateTime(struct soap *, const char *tag, int id, const time_t *p, const char *, int)
Definition: stdsoap2.cpp:13885
#define SOAP_SOCKET
Definition: stdsoap2.h:692
int32_t soap_mode
Definition: stdsoap2.h:1084
char * soap_first_block(struct soap *, struct soap_blist *)
Definition: stdsoap2.cpp:3058
const char ** soap_faultsubcode(struct soap *)
Definition: soapC.cpp:121
unsigned int level
Definition: stdsoap2.h:1874
const char * soap_byte2s(struct soap *, char)
Definition: stdsoap2.cpp:12257
int soap_set_receiver_error(struct soap *, const char *, const char *, int)
Definition: stdsoap2.cpp:19218
wchar_t * wide
Definition: stdsoap2.h:1497
void * d_stream
Definition: stdsoap2.h:1822
char * out
Definition: stdsoap2.h:1265
int soap_s2unsignedLong(struct soap *, const char *, unsigned long *)
Definition: stdsoap2.cpp:13054
const char ** soap_faultcode(struct soap *)
Definition: soapC.cpp:111
long * soap_inlong(struct soap *, const char *tag, long *p, const char *, int)
Definition: stdsoap2.cpp:12105
int soap_s2wchar(struct soap *, const char *, wchar_t **)
Definition: stdsoap2.cpp:13462
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))
Definition: stdsoap2.cpp:7589
int(* fdel)(struct soap *)
Definition: stdsoap2.h:1641
struct soap_dom_element * soap_dom_next_element(struct soap_dom_element *elt)
int soap_response(struct soap *, int)
Definition: stdsoap2.cpp:18661
int soap_getheader(struct soap *)
Definition: soapC.cpp:48
int soap_element_begin_out(struct soap *, const char *tag, int id, const char *type)
Definition: stdsoap2.cpp:9244
char buf[(65536)]
Definition: stdsoap2.h:1710
unsigned int n1
Definition: stdsoap2.h:922
const char * http_content
Definition: stdsoap2.h:1608
long soap_code_bits(const struct soap_code_map *, const char *)
Definition: stdsoap2.cpp:1699
int * soap_inint(struct soap *, const char *tag, int *p, const char *, int)
Definition: stdsoap2.cpp:12006
struct soap * soap_copy_context(struct soap *, const struct soap *)
Definition: stdsoap2.cpp:8277
int soap_bind(struct soap *, const char *, int, int)
Definition: stdsoap2.cpp:5457
int soap_s2double(struct soap *, const char *, double *)
Definition: stdsoap2.cpp:12663
char * soap_s2hex(struct soap *, const unsigned char *, char *, int)
Definition: stdsoap2.cpp:18151
int master
Definition: stdsoap2.h:1683
double * soap_indouble(struct soap *, const char *tag, double *p, const char *, int)
Definition: stdsoap2.cpp:12719
#define SOAP_FMAC1
Definition: stdsoap2.h:82
int soap_s2unsignedShort(struct soap *, const char *, unsigned short *)
Definition: stdsoap2.cpp:12866
void soap_del(struct soap *)
Definition: stdsoap2.cpp:6236
size_t soap_hash(const char *)
long long * soap_inLONG64(struct soap *, const char *tag, long long *p, const char *, int)
Definition: stdsoap2.cpp:12210
int soap_getsize(const char *, const char *, int *)
Definition: stdsoap2.cpp:3364
char ** soap_inliteral(struct soap *, const char *tag, char **p)
Definition: stdsoap2.cpp:14078
void soap_set_embedded(struct soap *, struct soap_plist *)
Definition: stdsoap2.cpp:6869
float z_ratio_out
Definition: stdsoap2.h:1832
int soap_end_recv(struct soap *)
Definition: stdsoap2.cpp:7925
int(* fshutdownsocket)(struct soap *, int, int)
Definition: stdsoap2.h:1653
const char * soap_hex2s(struct soap *, const char *, char *, size_t, int *)
Definition: stdsoap2.cpp:18185
size_t size
Definition: stdsoap2.h:1283
int(* fpreparesend)(struct soap *, const char *, size_t)
Definition: stdsoap2.h:1667
short index
Definition: stdsoap2.h:1273
char * ipv4_multicast_if
Definition: stdsoap2.h:1779
int soap_outstring(struct soap *, const char *tag, int id, char *const *p, const char *, int)
Definition: stdsoap2.cpp:13601
void * ptr
Definition: stdsoap2.h:1873
int soap_putmime(struct soap *)
Definition: stdsoap2.cpp:15330
const char * soap_short2s(struct soap *, short)
Definition: stdsoap2.cpp:12345
soap_mode omode
Definition: stdsoap2.h:1603
int soap_closesock(struct soap *)
Definition: stdsoap2.cpp:6121
int(* fposthdr)(struct soap *, const char *, const char *)
Definition: stdsoap2.h:1644
int(* fpreparefinal)(struct soap *)
Definition: stdsoap2.h:1669
size_t count
Definition: stdsoap2.h:1387
short encoding
Definition: stdsoap2.h:1725
int soap_begin_recv(struct soap *)
Definition: stdsoap2.cpp:16617
int(* fdimewrite)(struct soap *, void *, const char *, size_t)
Definition: stdsoap2.h:1675
std::ostream & operator<<(std::ostream &os, const CNormalCall &d)
const char * soap_strsearch(const char *big, const char *little)
Definition: stdsoap2.cpp:8869
int soap_send2(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:974
size_t len
Definition: stdsoap2.h:1860
unsigned int level
Definition: stdsoap2.h:1859
size_t soap_size_block(struct soap *, struct soap_blist *, size_t)
Definition: stdsoap2.cpp:3038
int soap_getoffsets(const char *, const int *, int *, int)
Definition: stdsoap2.cpp:3334
void * ssl
Definition: stdsoap2.h:1799
int soap_send_raw(struct soap *, const char *, size_t)
Definition: stdsoap2.cpp:815
int send_timeout
Definition: stdsoap2.h:1613
int soap_flush(struct soap *)
Definition: stdsoap2.cpp:863
void(* fcopy)(struct soap *, int, int, void *, size_t, const void *, size_t)
Definition: stdsoap2.h:1861
int soap_getdime(struct soap *)
Definition: stdsoap2.cpp:14758
const char * ns
Definition: stdsoap2.h:1263
int soap_putbase64(struct soap *, const unsigned char *, int)
Definition: stdsoap2.cpp:2361
size_t peerlen
Definition: stdsoap2.h:1787
void * alist
Definition: stdsoap2.h:1626
int soap_outunsignedShort(struct soap *, const char *tag, int id, const unsigned short *p, const char *, int)
Definition: stdsoap2.cpp:12851
soap_wchar soap_get(struct soap *)
Definition: stdsoap2.cpp:1856
int soap_outbyte(struct soap *, const char *tag, int id, const char *p, const char *, int)
Definition: stdsoap2.cpp:12268
char * soap_next_block(struct soap *, struct soap_blist *)
Definition: stdsoap2.cpp:3092
void * c_locale
Definition: stdsoap2.h:1816
struct soap_dom_attribute * soap_dom_next_attribute(struct soap_dom_attribute *att)
size_t(* fmimeread)(struct soap *, void *, char *, size_t)
Definition: stdsoap2.h:1680
int bind_flags
Definition: stdsoap2.h:1618
int soap_element_href(struct soap *, const char *tag, int id, const char *ref, const char *val)
Definition: stdsoap2.cpp:9668
int soap_s2unsignedInt(struct soap *, const char *, unsigned int *)
Definition: stdsoap2.cpp:12955
int(* fclosesocket)(struct soap *, int)
Definition: stdsoap2.h:1652
const char * soap_QName2s(struct soap *, const char *)
Definition: stdsoap2.cpp:13359
const char * soap_unsignedLong2s(struct soap *, unsigned long)
Definition: stdsoap2.cpp:13027
const char * start
Definition: stdsoap2.h:1411
int soap_sender_fault(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:19249
struct soap_dom_element * next
Definition: stdsoap2.h:1538
int soap_append_lab(struct soap *, const char *, size_t)
Definition: stdsoap2.cpp:10289
int ipv6_multicast_if
Definition: stdsoap2.h:1778
const char * soap_dateTime2s(struct soap *, time_t)
Definition: stdsoap2.cpp:13795
short cdata
Definition: stdsoap2.h:1702
void * fsslauth
Definition: stdsoap2.h:1796
const char * proxy_userid
Definition: stdsoap2.h:1751
int soap_match_namespace(struct soap *, const char *, const char *, size_t n1, size_t n2)
Definition: stdsoap2.cpp:3585
void soap_clr_mime(struct soap *)
Definition: stdsoap2.cpp:15472
int soap_s2dateTime(struct soap *, const char *, time_t *)
Definition: stdsoap2.cpp:13900
#define SOAP_STD_API
Definition: stdsoap2.h:1594
unsigned long * soap_inunsignedLong(struct soap *, const char *tag, unsigned long *p, const char *, int)
Definition: stdsoap2.cpp:13085
void * soap_id_lookup(struct soap *, const char *id, void **p, int t, size_t n, unsigned int k)
Definition: stdsoap2.cpp:7471
const char * soap_int2s(struct soap *, int)
Definition: stdsoap2.cpp:11949
long soap_code_int(const struct soap_code_map *, const char *, long)
Definition: stdsoap2.cpp:1660
char arraySize[(1024)]
Definition: stdsoap2.h:1718
void * user
Definition: stdsoap2.h:1634
const char * soap_code_str(const struct soap_code_map *, long)
Definition: stdsoap2.cpp:1682
size_t soap_tell(struct soap *)
Definition: stdsoap2.cpp:2070
unsigned int level
Definition: stdsoap2.h:1272
int session_port
Definition: stdsoap2.h:1812
unsigned char * soap_inunsignedByte(struct soap *, const char *tag, unsigned char *p, const char *, int)
Definition: stdsoap2.cpp:12801
void * ptr
Definition: stdsoap2.h:1858
struct soap * soap_copy(const struct soap *)
Definition: stdsoap2.cpp:8266
int soap_outunsignedLong(struct soap *, const char *tag, int id, const unsigned long *p, const char *, int)
Definition: stdsoap2.cpp:13039
unsigned long long * soap_inULONG64(struct soap *, const char *tag, unsigned long long *p, const char *, int)
Definition: stdsoap2.cpp:13190
struct SOAP_ENV__Header * header
Definition: stdsoap2.h:1631
const char * proxy_passwd
Definition: stdsoap2.h:1752
static size_t frecv(struct soap *, char *, size_t)
Definition: stdsoap2.cpp:1005
void(* dummy)()
Definition: stdsoap2.h:1843
int soap_push_namespace(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:3483
struct soap_ilist * soap_lookup(struct soap *, const char *)
Definition: stdsoap2.cpp:7037
const char * type
Definition: stdsoap2.h:1394
int soap_outliteral(struct soap *, const char *tag, char *const *p, const char *type)
Definition: stdsoap2.cpp:14028
void soap_print_fault(struct soap *, FILE *)
Definition: stdsoap2.cpp:19294
struct soap_clist * soap_link(struct soap *, void *, int, int, int(*fdelete)(struct soap_clist *))
Definition: stdsoap2.cpp:7380
char ** options
Definition: stdsoap2.h:1465
struct soap_blist * soap_new_block(struct soap *)
Definition: stdsoap2.cpp:2728
int(* fput)(struct soap *)
Definition: stdsoap2.h:1640
int errnum
Definition: stdsoap2.h:1757
float z_ratio_in
Definition: stdsoap2.h:1831
struct soap_multipart * last
Definition: stdsoap2.h:1397
void soap_free_temp(struct soap *)
Definition: stdsoap2.cpp:8060
int soap_getline(struct soap *, char *, int)
Definition: stdsoap2.cpp:14288
unsigned char * soap_gethex(struct soap *, int *)
Definition: stdsoap2.cpp:2236
void(* fseterror)(struct soap *, const char **c, const char **s)
Definition: stdsoap2.h:1660
struct soap_nlist * next
Definition: stdsoap2.h:1271
struct soap_multipart * next
Definition: stdsoap2.h:1441
int soap_s2string(struct soap *, const char *, char **)
Definition: stdsoap2.cpp:13231
const char * soap_ULONG642s(struct soap *, unsigned long long)
Definition: stdsoap2.cpp:13126
int soap_s2byte(struct soap *, const char *, char *)
Definition: stdsoap2.cpp:12283
size_t labidx
Definition: stdsoap2.h:1709
struct Namespace namespaces[]
#define ULONG64
Definition: stdsoap2.h:734
void soap_open_logfile(struct soap *soap, int i)
Definition: stdsoap2.cpp:8172
size_t soap_block_size(struct soap *, struct soap_blist *)
Definition: stdsoap2.cpp:3120
int soap_receiver_fault_subcode(struct soap *, const char *, const char *, const char *)
Definition: stdsoap2.cpp:19282
struct soap_multipart * last
Definition: stdsoap2.h:1413
char * labbuf
Definition: stdsoap2.h:1707
struct soap_pblk * next
Definition: stdsoap2.h:1308
long int flag
Definition: f2c.h:52
struct soap_dom_attribute * next
Definition: stdsoap2.h:1493
struct soap_attribute * attributes
Definition: stdsoap2.h:1724
#define SOAP_PTRHASH
Definition: stdsoap2.h:827
int connect_flags
Definition: stdsoap2.h:1617
const char * proxy_from
Definition: stdsoap2.h:1753
int soap_poll(struct soap *)
Definition: stdsoap2.cpp:5673
int soap_element_start_end_out(struct soap *, const char *tag)
Definition: stdsoap2.cpp:9458
char * soap_string_in(struct soap *, int, long, long)
Definition: stdsoap2.cpp:11015
int soap_send3(struct soap *, const char *, const char *, const char *)
Definition: stdsoap2.cpp:990
size_t bufidx
Definition: stdsoap2.h:1699
int recv_timeout
Definition: stdsoap2.h:1612
int __size
Definition: stdsoap2.h:1290
void * copy
Definition: stdsoap2.h:1871
const void * ptr
Definition: stdsoap2.h:1297
static int fsend(struct soap *, const char *, size_t)
Definition: stdsoap2.cpp:526
int soap_getdimehdr(struct soap *)
Definition: stdsoap2.cpp:14690
char name[1]
Definition: stdsoap2.h:1342
unsigned short ssl_flags
Definition: stdsoap2.h:1803
int port
Definition: stdsoap2.h:1741
int soap_outunsignedInt(struct soap *, const char *tag, int id, const unsigned int *p, const char *, int)
Definition: stdsoap2.cpp:12940
int soap_embedded_id(struct soap *, int id, const void *p, int t)
Definition: stdsoap2.cpp:6761
wchar_t * soap_wstring_in(struct soap *, int, long, long)
Definition: stdsoap2.cpp:11742
short mustUnderstand
Definition: stdsoap2.h:1726
void soap_clr_dime(struct soap *)
Definition: stdsoap2.cpp:15457
int(* fparsehdr)(struct soap *, const char *, const char *)
Definition: stdsoap2.h:1647
short state
Definition: stdsoap2.h:1599
int soap_sender_fault_subcode(struct soap *, const char *, const char *, const char *)
Definition: stdsoap2.cpp:19260
int soap_envelope_begin_out(struct soap *)
Definition: stdsoap2.cpp:17406
char * boundary
Definition: stdsoap2.h:1410
int soap_outlong(struct soap *, const char *tag, int id, const long *p, const char *, int)
Definition: stdsoap2.cpp:12059
void * ctx
Definition: stdsoap2.h:1800
int(* fprepareinit)(struct soap *)
Definition: stdsoap2.h:1666
void * os
Definition: stdsoap2.h:1689
void soap_unlink(struct soap *, const void *)
Definition: stdsoap2.cpp:7403
const char * float_format
Definition: stdsoap2.h:1604
int positions[(16)]
Definition: stdsoap2.h:1722
int soap_match_tag(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:3727
int(* fmimewrite)(struct soap *, void *, const char *, size_t)
Definition: stdsoap2.h:1681
void soap_set_local_namespaces(struct soap *)
Definition: stdsoap2.cpp:8831
char * soap_putsizesoffsets(struct soap *, const char *, const int *, const int *, int)
Definition: stdsoap2.cpp:3246
void soap_begin(struct soap *)
Definition: stdsoap2.cpp:8685
void * data
Definition: stdsoap2.h:1882
struct soap * soap_new1(soap_mode)
Definition: stdsoap2.cpp:6186
struct soap_pblk * pblk
Definition: stdsoap2.h:1629
unsigned int max_keep_alive
Definition: stdsoap2.h:1747
#define soap_strrchr(s, t)
Definition: stdsoap2.h:1913
void(* fdelete)(struct soap *soap, struct soap_plugin *p)
Definition: stdsoap2.h:1884
short zlib_in
Definition: stdsoap2.h:1826
const char * soap_double2s(struct soap *, double)
Definition: stdsoap2.cpp:12615
int soap_outshort(struct soap *, const char *tag, int id, const short *p, const char *, int)
Definition: stdsoap2.cpp:12356
void soap_print_fault_location(struct soap *, FILE *)
Definition: stdsoap2.cpp:19404
char * z_buf
Definition: stdsoap2.h:1828
struct soap_xlist * next
Definition: stdsoap2.h:1460
int status
Definition: stdsoap2.h:1754
int idnum
Definition: stdsoap2.h:1633
const struct soap_code_map * soap_code(const struct soap_code_map *, const char *)
Definition: stdsoap2.cpp:1638
const char * keyfile
Definition: stdsoap2.h:1804
int(* fresponse)(struct soap *, int, size_t)
Definition: stdsoap2.h:1645
char * userid
Definition: stdsoap2.h:1636
const char * description
Definition: stdsoap2.h:1449
#define SOAP_TAGLEN
Definition: stdsoap2.h:848
int cookie_max
Definition: stdsoap2.h:1775
short tcp_keep_alive
Definition: stdsoap2.h:1743
wchar_t * soap_wstrdup(struct soap *, const wchar_t *)
Definition: stdsoap2.cpp:2704
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)
Definition: stdsoap2.cpp:9717
#define soap_get1(soap)
Definition: stdsoap2.h:1893
#define soap_get0(soap)
Definition: stdsoap2.h:1892
size_t length
Definition: stdsoap2.h:1706
int soap_pointer_lookup(struct soap *, const void *p, int t, struct soap_plist **)
Definition: stdsoap2.cpp:6306
const char * lang
Definition: stdsoap2.h:1611
int soap_outULONG64(struct soap *, const char *tag, int id, const unsigned long long *p, const char *, int)
Definition: stdsoap2.cpp:13138
void soap_header(struct soap *)
Definition: soapC.cpp:56
int ipv4_multicast_ttl
Definition: stdsoap2.h:1780
struct soap_flist * flist
Definition: stdsoap2.h:1872
unsigned short * soap_inunsignedShort(struct soap *, const char *tag, unsigned short *p, const char *, int)
Definition: stdsoap2.cpp:12889
char arrayOffset[(1024)]
Definition: stdsoap2.h:1719
struct soap_plist plist[(32)]
Definition: stdsoap2.h:1309
struct soap_xlist * xlist
Definition: stdsoap2.h:1762
char * soap_putsizes(struct soap *, const char *, const int *, int)
Definition: stdsoap2.cpp:3235
float * soap_infloat(struct soap *, const char *tag, float *p, const char *, int)
Definition: stdsoap2.cpp:12582
void * ptr
Definition: stdsoap2.h:1328
void soap_fault(struct soap *)
Definition: soapC.cpp:65
int soap_register_plugin_arg(struct soap *, int(*fcreate)(struct soap *, struct soap_plugin *, void *), void *)
Definition: stdsoap2.cpp:19445
int soap_pointer_enter(struct soap *, const void *p, const struct soap_array *a, int n, int t, struct soap_plist **)
Definition: stdsoap2.cpp:6336
void(* fdimereadclose)(struct soap *, void *)
Definition: stdsoap2.h:1672
#define SOAP_FMAC2
Definition: stdsoap2.h:86
short position
Definition: stdsoap2.h:1721
void soap_init2(struct soap *, soap_mode, soap_mode)
Definition: stdsoap2.cpp:8672
() void(yyvaluep))
const char * id
Definition: stdsoap2.h:1393
char flags
Definition: stdsoap2.h:1391
unsigned int * soap_inunsignedInt(struct soap *, const char *tag, unsigned int *p, const char *, int)
Definition: stdsoap2.cpp:12986
void soap_set_dime(struct soap *)
Definition: stdsoap2.cpp:15425
int connect_timeout
Definition: stdsoap2.h:1614
int soap_body_end_in(struct soap *)
Definition: stdsoap2.cpp:17704
int proxy_port
Definition: stdsoap2.h:1750
const char * cookie_path
Definition: stdsoap2.h:1774
void soap_init(struct soap *)
Definition: stdsoap2.cpp:8441
char ** soap_instring(struct soap *, const char *tag, char **p, const char *, int, int, long, long)
Definition: stdsoap2.cpp:13625
const char * password
Definition: stdsoap2.h:1805
int(* fpreparerecv)(struct soap *, const char *, size_t)
Definition: stdsoap2.h:1668
void * soap_malloc(struct soap *, size_t)
Definition: stdsoap2.cpp:7080
const char * soap_attr_value(struct soap *soap, const char *name, int flag)
Definition: stdsoap2.cpp:10003
struct soap_dom_attribute * atts
Definition: stdsoap2.h:1541
const char * c14ninclude
Definition: stdsoap2.h:1770
char * soap_putoffsets(struct soap *, const int *, int)
Definition: stdsoap2.cpp:3300
void soap_copy_stream(struct soap *, struct soap *)
Definition: stdsoap2.cpp:8377
void soap_set_fault(struct soap *)
Definition: stdsoap2.cpp:18724
size_t chunkbuflen
Definition: stdsoap2.h:1733
const char * options
Definition: stdsoap2.h:1446
struct soap_dom_element * elts
Definition: stdsoap2.h:1540
void * __ptr
Definition: stdsoap2.h:1289
wchar_t * wide
Definition: stdsoap2.h:1545
int soap_s2int(struct soap *, const char *, int *)
Definition: stdsoap2.cpp:11975
const struct soap_double_nan soap_double_nan
#define LONG64
Definition: stdsoap2.h:733
int soap_s2QName(struct soap *, const char *, char **)
Definition: stdsoap2.cpp:13252
void soap_check_result(struct soap *, const char *tag)
Definition: stdsoap2.cpp:9787
char * soap_putsize(struct soap *, const char *, int)
Definition: stdsoap2.cpp:3224
short body
Definition: stdsoap2.h:1703
const char ** soap_faultdetail(struct soap *)
Definition: soapC.cpp:149
const char * soap_code_list(struct soap *, const struct soap_code_map *, long)
Definition: stdsoap2.cpp:1739
char mark2
Definition: stdsoap2.h:1302
unsigned short linger_time
Definition: stdsoap2.h:1620
soap_wchar soap_getutf8(struct soap *)
Definition: stdsoap2.cpp:2143
size_t buflen
Definition: stdsoap2.h:1390
int socket
Definition: stdsoap2.h:1684
unsigned int tcp_keep_cnt
Definition: stdsoap2.h:1746
int(* fignore)(struct soap *, const char *)
Definition: stdsoap2.h:1661
int soap_match_array(struct soap *, const char *)
Definition: stdsoap2.cpp:3791
#define SOAP_NMAC
Definition: stdsoap2.h:118
const char * type
Definition: stdsoap2.h:1445
void soap_clr_attr(struct soap *soap)
Definition: stdsoap2.cpp:10164
int soap_element_result(struct soap *, const char *tag)
Definition: stdsoap2.cpp:9766
short root
Definition: stdsoap2.h:1723
const char * crlfile
Definition: stdsoap2.h:1809
short null
Definition: stdsoap2.h:1727
char * soap_putoffset(struct soap *, int)
Definition: stdsoap2.cpp:3289
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)
Definition: stdsoap2.cpp:6273
void soap_retry(struct soap *)
Definition: stdsoap2.cpp:10851
const char * capath
Definition: stdsoap2.h:1808
int soap_connect_command(struct soap *, int, const char *, const char *)
Definition: stdsoap2.cpp:17843
int32_t soap_wchar
Definition: stdsoap2.h:1257
int soap_flush_raw(struct soap *, const char *, size_t)
Definition: stdsoap2.cpp:915
short other
Definition: stdsoap2.h:1720
int soap_receiver_fault(struct soap *, const char *, const char *)
Definition: stdsoap2.cpp:19271
const char * double_format
Definition: stdsoap2.h:1605
void soap_pop_namespace(struct soap *)
Definition: stdsoap2.cpp:3565
int(* fget)(struct soap *)
Definition: stdsoap2.h:1639
char * ptr
Definition: stdsoap2.h:1282
const char * id
Definition: stdsoap2.h:1262
void(* fmimewriteclose)(struct soap *, void *)
Definition: stdsoap2.h:1679
unsigned int tcp_keep_intvl
Definition: stdsoap2.h:1745
const char * soap_LONG642s(struct soap *, long long)
Definition: stdsoap2.cpp:12146
#define SOAP_MAXLOGS
Definition: stdsoap2.h:869
size_t buflen
Definition: stdsoap2.h:1700
int accept_flags
Definition: stdsoap2.h:1619
int soap_attachment(struct soap *, const char *, int, const void *, const struct soap_array *, const char *, const char *, const char *, int, const char *, int)
Definition: stdsoap2.cpp:6888
int soap_ssl_accept(struct soap *)
const char * nstr
Definition: stdsoap2.h:1542
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)
Definition: stdsoap2.cpp:15545
struct soap_blist * next
Definition: stdsoap2.h:1281
struct soap_clist * next
Definition: stdsoap2.h:1327
char * soap_inbyte(struct soap *, const char *tag, char *p, const char *, int)
Definition: stdsoap2.cpp:12306
int soap_element_end_out(struct soap *, const char *tag)
Definition: stdsoap2.cpp:9588
int soap_putfault(struct soap *)
Definition: soapC.cpp:98
struct soap * soap_new(void)
Definition: stdsoap2.cpp:6197
const char * soap_ssl_error(struct soap *, int)
int soap_recv_raw(struct soap *)
Definition: stdsoap2.cpp:1292
struct soap_nlist * nlist
Definition: stdsoap2.h:1623
int(* fparse)(struct soap *)
Definition: stdsoap2.h:1646
char * soap_save_block(struct soap *, struct soap_blist *, char *, int)
Definition: stdsoap2.cpp:3179
struct soap_cookie * cookies
Definition: stdsoap2.h:1772
int soap_element_begin_in(struct soap *, const char *tag, int nillable, const char *type)
Definition: stdsoap2.cpp:9864
int soap_reference(struct soap *, const void *p, int t)
Definition: stdsoap2.cpp:6688
char * passwd
Definition: stdsoap2.h:1637
const char * encodingStyle
Definition: stdsoap2.h:1609
int soap_begin_count(struct soap *)
Definition: stdsoap2.cpp:6421
char ** type
Definition: stdsoap2.h:1464
char * value
Definition: stdsoap2.h:1338
void * session
Definition: stdsoap2.h:1801
unsigned int n2
Definition: stdsoap2.h:922
void soap_post_check_mime_attachments(struct soap *soap)
Definition: stdsoap2.cpp:15025
int(* fopen)(struct soap *, const char *, const char *, int)
Definition: stdsoap2.h:1654
void soap_delete(struct soap *, void *)
Definition: stdsoap2.cpp:7316
size_t size
Definition: stdsoap2.h:1869
int soap_getmimehdr(struct soap *)
Definition: stdsoap2.cpp:14923
short zlib_out
Definition: stdsoap2.h:1827
time_t soap_timegm(struct tm *)
Definition: stdsoap2.cpp:13761
void soap_end(struct soap *)
Definition: stdsoap2.cpp:8726
int soap_putdimehdr(struct soap *)
Definition: stdsoap2.cpp:14467
unsigned char * soap_getbase64(struct soap *, int *, int)
Definition: stdsoap2.cpp:2424
const char * soap_unsignedShort2s(struct soap *, unsigned short)
Definition: stdsoap2.cpp:12840
int soap_set_dime_attachment(struct soap *, char *ptr, size_t size, const char *type, const char *id, unsigned short optype, const char *option)
Definition: stdsoap2.cpp:15524
void soap_ssl_init()
struct soap * soap
Definition: stdsoap2.h:1498
int soap_getfault(struct soap *)
Definition: soapC.cpp:106
size_t count
Definition: stdsoap2.h:1705
int soap_outunsignedByte(struct soap *, const char *tag, int id, const unsigned char *p, const char *, int)
Definition: stdsoap2.cpp:12763
int soap_array_begin_out(struct soap *, const char *tag, int id, const char *type, const char *offset)
Definition: stdsoap2.cpp:9404
const char * soap_decode_key(char *, size_t, const char *)
Definition: stdsoap2.cpp:17330
int soap_end_send(struct soap *)
Definition: stdsoap2.cpp:7748