📄 stdsoap2.h
字号:
/*stdsoap2.h 2.4.1Runtime environment.gSOAP XML Web services toolsCopyright (C) 2001-2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.--------------------------------------------------------------------------------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-2004 Robert A. 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--------------------------------------------------------------------------------*/#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_BEGIN_NAMESPACE# define SOAP_BEGIN_NAMESPACE(name)#endif#ifndef SOAP_END_NAMESPACE# define SOAP_END_NAMESPACE(name)#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_FMAC4 /* (de)serializer declaration macro */# define 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#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#ifdef _WIN32# ifndef WIN32# define WIN32# 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#endif#ifdef __MWERKS__# define PALM#endif#ifdef PALM_GCC# define PALM#endif#ifdef HAVE_CONFIG_H# include "config.h"#else# if defined(UNDER_CE)# define WITH_LEAN# elif defined(WIN32)# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# elif defined(CYGWIN)# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(__APPLE__)# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_TIMEGM# elif defined(_AIXVERSION_431)# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(HP_UX)# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(FREEBSD)# define HAVE_GETTIMEOFDAY# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(__VMS)# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(__GLIBC__)# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# define HAVE_TIMEGM# elif defined(TRU64)# define HAVE_GETTIMEOFDAY# define HAVE_SYS_TIMEB_H# define HAVE_RAND_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(MAC_CARBON)# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GETHOSTBYNAME_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# elif defined(PALM)# ifndef CONST2# define CONST2# endif# define WITH_LEAN# define WITH_NONAMESPACES# define _LINUX_CTYPE_H# include <sys_types.h> typedef WChar wchar_t;# define IGNORE_STDIO_STUBS typedef Int32 time_t;# define tm HostTmType# define strftime HostStrFTime# define mktime HostMkTime# define localtime HostLocalTime# define tm_year tm_year_# define tm_hour tm_hour_# define tm_mon tm_mon_# define tm_min tm_min_# define tm_sec tm_sec_# define tm_mday tm_mday_# define tm_isdst tm_isdst_# include <StdIOPalm.h># define O_NONBLOCK FNONBIO# include <sys_time.h># if 1 void displayText(char *text);# define pdebug(s) displayText(s) # define pdebugV(s,p) sprintf(buff,s,p); displayText(buff)# else# define pdebug(s) WinDrawChars(s,strlen(s),10,10) # define pdebugV(s,p) sprintf(buff,s,p); WinDrawChars(buff,strlen(buff),10,10)# endif# include "palmmissing.h"# include "slib_socket.h"# elif defined(SYMBIAN)# define WITH_LEAN# define WITH_NONAMESPACES# define CONST2 const# undef SOAP_FMAC1# define SOAP_FMAC1 EXPORT_C# ifdef __cplusplus# include <e32std.h># else# define TInt64 long# endif# else# define HAVE_SYS_TIMEB_H# define HAVE_FTIME# define HAVE_RAND_R# define HAVE_GETHOSTBYNAME_R# define HAVE_GMTIME_R# define HAVE_LOCALTIME_R# endif#endif#if defined(TRU64)# define SOAP_LONG_FORMAT "%ld"# define SOAP_ULONG_FORMAT "%lu"#elif defined(WIN32)# define SOAP_LONG_FORMAT "%I64d"# define SOAP_ULONG_FORMAT "%I64u"#endif#ifndef SOAP_LONG_FORMAT# define SOAP_LONG_FORMAT "%lld" /* printf format for 64 bit ints */#endif#ifndef SOAP_ULONG_FORMAT# define SOAP_ULONG_FORMAT "%llu" /* printf format for unsigned 64 bit ints */#endif#ifndef SOAP_MALLOC /* use libc malloc */# define SOAP_MALLOC(n) malloc(n)#endif#ifndef SOAP_FREE /* use libc free */# define SOAP_FREE(p) free(p)#endif#include <stdlib.h>#ifndef PALM# include <stdio.h>#endif#ifndef PALM_GCC# include <string.h>#endif#include <ctype.h>#include <limits.h>#if defined(__cplusplus) && !defined(UNDER_CE)# include <iostream>#endif#ifndef UNDER_CE# ifndef PALM# include <errno.h># ifndef MAC_CARBON# include <sys/types.h># endif# ifndef WITH_LEAN# ifdef HAVE_SYS_TIMEB_H# include <sys/timeb.h> /* for ftime() */# endif# include <time.h># endif# endif#endif#ifdef OPENSERVER# include <sys/socket.h># include <sys/stream.h># include <sys/protosw.h> extern int h_errno;#endif#ifndef MAC_CARBON# ifndef WIN32# ifndef PALM# include <sys/socket.h># ifndef SYMBIAN# include <strings.h># endif# ifdef SUN_OS# include <sys/stream.h> /* SUN */# include <sys/socketvar.h> /* SUN < 2.8 (?) */# endif# include <sys/time.h># include <netinet/in.h># include <netinet/tcp.h> /* TCP_NODELAY */# include <arpa/inet.h># endif# endif#endif#ifdef WITH_FASTCGI# include <fcgi_stdio.h>#endif#ifdef WITH_OPENSSL# define OPENSSL_NO_KRB5# include <openssl/ssl.h># include <openssl/err.h># include <openssl/rand.h>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -