📄 stdsoap2.h
字号:
/*stdsoap2.h 2.7.9lgSOAP runtimegSOAP XML Web services toolsCopyright (C) 2000-2007, Robert van Engelen, Genivia Inc., All Rights Reserved.This part of the software is released under one of the following licenses:GPL, the gSOAP public license, or Genivia's license for commercial use.--------------------------------------------------------------------------------Contributors:Wind River Systems, Inc., for the following additions (marked WR[...]): - vxWorks compatible--------------------------------------------------------------------------------gSOAP public license.The contents of this file are subject to the gSOAP Public License Version 1.3(the "License"); you may not use this file except in compliance with theLicense. You may obtain a copy of the License athttp://www.cs.fsu.edu/~engelen/soaplicense.htmlSoftware distributed under the License is distributed on an "AS IS" basis,WITHOUT WARRANTY OF ANY KIND, either express or implied. See the Licensefor the specific language governing rights and limitations under the License.The Initial Developer of the Original Code is Robert A. van Engelen.Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc., All Rights Reserved.--------------------------------------------------------------------------------GPL license.This program is free software; you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation; either version 2 of the License, or (at your option) any laterversion.This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along withthis program; if not, write to the Free Software Foundation, Inc., 59 TemplePlace, Suite 330, Boston, MA 02111-1307 USAAuthor contact information:engelen@genivia.com / engelen@acm.org--------------------------------------------------------------------------------A commercial use license is available from Genivia, Inc., contact@genivia.com--------------------------------------------------------------------------------*/#ifdef WITH_SOAPDEFS_H# include "soapdefs.h" /* include user-defined stuff */#endif#ifndef _THREAD_SAFE# define _THREAD_SAFE#endif#ifndef OPENSERVER# ifndef _REENTRANT# define _REENTRANT# endif#endif#ifndef SOAP_FMAC1 /* stdsoap2.h declaration macro */# define SOAP_FMAC1#endif#ifndef SOAP_FMAC2 /* stdsoap2.h declaration macro */# define SOAP_FMAC2#endif#ifndef SOAP_FMAC3 /* (de)serializer declaration macro */# define SOAP_FMAC3#endif#ifndef SOAP_FMAC3S /* string converter for (de)serializer declaration macro */# define SOAP_FMAC3S SOAP_FMAC3#endif#ifndef SOAP_FMAC4 /* (de)serializer declaration macro */# define SOAP_FMAC4#endif#ifndef SOAP_FMAC4S /* string converter for (de)serializer declaration macro */# define SOAP_FMAC4S SOAP_FMAC4#endif#ifndef SOAP_FMAC5 /* stub/skeleton declaration macro */# define SOAP_FMAC5#endif#ifndef SOAP_FMAC6 /* stub/skeleton declaration macro */# define SOAP_FMAC6#endif#ifndef SOAP_CMAC /* class declaration macro */# define SOAP_CMAC#endif#ifndef SOAP_NMAC /* namespace table declaration macro */# define SOAP_NMAC#endif#ifndef SOAP_SOURCE_STAMP# define SOAP_SOURCE_STAMP(str)#endif/* gSOAP 2.7.4 and higher: fast look-aside buffering is stable */#ifndef WITH_FAST# define WITH_FAST#endif#ifdef WITH_LEANER# ifndef WITH_LEAN# define WITH_LEAN# endif#endif#ifdef WITH_LEAN# ifdef WITH_COOKIES# error "Cannot build WITH_LEAN code WITH_COOKIES enabled"# endif#endif#ifndef STDSOAP_H#define STDSOAP_H#if defined(__vxworks) || defined(__VXWORKS__)# define VXWORKS#endif#ifdef _WIN32# ifndef WIN32# define WIN32# endif#endif#ifdef _WIN32_WCE# ifndef UNDER_CE# define UNDER_CE _WIN32_WCE# endif#endif#ifdef UNDER_CE# ifndef WIN32# define WIN32# endif#endif#ifdef __BORLANDC__# ifdef __WIN32__# ifndef WIN32# define WIN32# endif# endif#endif#ifdef __CYGWIN__# ifndef CYGWIN# define CYGWIN# endif#endif#ifdef __SYMBIAN32__ # define SYMBIAN# undef WIN32#endif#if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__)# ifndef PALM# define PALM# endif#endif#if defined(__hpux)# ifndef HP_UX# define HP_UX# endif#endif#if defined(__digital__) && defined(__unix__)# ifndef TRU64# define TRU64 # endif#endif#ifdef __MVS__# ifndef OS390# define OS390# endif#endif#ifdef HAVE_CONFIG_H# include "config.h"# ifdef WITH_OPENSSL# ifndef HAVE_OPENSSL_SSL_H# undef WITH_OPENSSL# endif# endif#else# if defined(UNDER_CE)# define WITH_NOEMPTYSTRUCT# define WITH_LEAN# define HAVE_SSCANF# elif defined(WIN32)# define WITH_NOEMPTYSTRUCT# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_WCTOMB# define HAVE_MBTOWC# define SOAP_LONG_FORMAT "%I64d"# define SOAP_ULONG_FORMAT "%I64u"# elif defined(CYGWIN)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(__APPLE__)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_TIMEGM# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(_AIX43)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(_AIX41)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(HP_UX)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(FREEBSD) || defined(__FreeBSD__)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_STRTOLL# define HAVE_STRTOULL# define HAVE_GETTIMEOFDAY# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# define SOAP_LONG_FORMAT "%qd"# define SOAP_ULONG_FORMAT "%qu"# elif defined(__VMS)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(__GLIBC__) || defined(__GNU__)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_STRTOLL# define HAVE_STRTOULL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_TIMEGM# define HAVE_WCTOMB# define HAVE_MBTOWC# define HAVE_ISNAN# elif defined(TRU64)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_GETTIMEOFDAY# define HAVE_SYS_TIMEB_H# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define __USE_STD_IOSTREAM# define HAVE_WCTOMB# define HAVE_MBTOWC# define SOAP_LONG_FORMAT "%ld"# define SOAP_ULONG_FORMAT "%lu"# elif defined(MAC_CARBON)# define WITH_NOIO# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GETHOSTBYNAME_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(PALM)# define WITH_LEAN# define HAVE_STRTOD /* strtod() is defined in palmFunctions.h */# include <stdlib.h> /* Needs to be included before unix headers */# include <sys_types.h># define IGNORE_STDIO_STUBS# include <StdIOPalm.h># define O_NONBLOCK FNONBIO# include <sys_socket.h># include "palmFunctions.h"# elif defined(SYMBIAN)# define WITH_LEAN# define WITH_NONAMESPACES# define HAVE_STRTOD /* use STRTOD since sscanf doesn't seem to work */# include <e32def.h># include <sys/ioctl.h># elif defined(VXWORKS)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_PGMTIME_R# define HAVE_PLOCALTIME_R# define HAVE_MKTIME# elif defined(OS390)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(AS400)# define HAVE_STRRCHR# define HAVE_STRTOD# define HAVE_SSCANF# define HAVE_STRTOL# define HAVE_STRTOUL# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_WCTOMB# define HAVE_MBTOWC# elif defined(__QNX__) || defined(QNX)/* QNX does not have a working version of strtof */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -