00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
#if !defined(_AXISUSERAPI_H_OF_AXIS_INCLUDED_)
00018
#define _AXISUSERAPI_H_OF_AXIS_INCLUDED_
00019
00020
#include <axis/GDefine.h>
00021
#include <time.h>
00022
#include <string.h>
00023
00034 typedef AxiscChar *
xsdc__string;
00035
00040 typedef int xsdc__integer;
00041
00046 typedef int xsdc__int;
00047
00052
#ifdef WIN32
00053 typedef __int64
xsdc__long;
00054
#else
00055
typedef long long xsdc__long;
00056
#endif
00057
00062 typedef short xsdc__short;
00063
00068 typedef double xsdc__decimal;
00069
00074 typedef float xsdc__float;
00075
00080 typedef double xsdc__double;
00081
00086 typedef enum { false_=0, true_ }
xsdc__boolean;
00087
00092 typedef signed char xsdc__byte;
00093
00098 typedef AxiscChar *
xsdc__QName;
00099
00104 typedef AxiscChar *
xsdc__NCName;
00105
00110 typedef struct tm
xsdc__dateTime;
00111
00116 typedef struct tm
xsdc__date;
00117
00122 typedef struct tm
xsdc__time;
00123
00128 typedef unsigned char xsdc__unsignedByte;
00129
00134 typedef unsigned int xsdc__unsignedInt;
00135
00140 typedef unsigned long xsdc__unsignedLong;
00141
00146 typedef unsigned short xsdc__unsignedShort;
00147
00152 typedef struct {
00153
xsdc__unsignedByte * __ptr;
00154
xsdc__int __size;
00155 }
xsdc__base64Binary;
00156
00161 typedef struct {
00162
xsdc__unsignedByte * __ptr;
00163
xsdc__int __size;
00164 }
xsdc__hexBinary;
00165
00170 typedef AxiscChar *
xsdc__anyURI;
00171
00176 typedef AxiscChar *
xsdc__NMTOKEN;
00177
00183 typedef enum {
00184 AXISC_RPC_ENCODED,
00185 AXISC_DOC_LITERAL,
00186 AXISC_RPC_LITERAL
00187 }
AXISC_BINDING_STYLE;
00188
00189
#define AXISC_DEFINED_ARRAY(type) \
00190
typedef struct {\
00191
type * m_Array;\
00192
int m_Size;\
00193
} type##_Array;
00194
00195
#define AXISC_DEFINED_ARRAY2(type) \
00196
typedef struct {\
00197
AXISCHANDLE m_Array;\
00198
int m_Size;\
00199
} type##_Array;
00200
00201
typedef struct {
00202
void* m_Array;
00203
int m_Size;
00204 } Axisc_Array;
00205
00206 AXISC_DEFINED_ARRAY(xsdc__string)
00207 AXISC_DEFINED_ARRAY(xsdc__integer)
00208 AXISC_DEFINED_ARRAY(xsdc__int)
00209 AXISC_DEFINED_ARRAY(xsdc__long)
00210 AXISC_DEFINED_ARRAY(xsdc__short)
00211 AXISC_DEFINED_ARRAY(xsdc__decimal)
00212 AXISC_DEFINED_ARRAY(xsdc__float)
00213 AXISC_DEFINED_ARRAY(xsdc__double)
00214 AXISC_DEFINED_ARRAY(xsdc__boolean)
00215 AXISC_DEFINED_ARRAY(xsdc__QName)
00216 AXISC_DEFINED_ARRAY(xsdc__NCName)
00217 AXISC_DEFINED_ARRAY(xsdc__dateTime)
00218 AXISC_DEFINED_ARRAY(xsdc__unsignedByte)
00219 AXISC_DEFINED_ARRAY(xsdc__unsignedInt)
00220 AXISC_DEFINED_ARRAY(xsdc__unsignedLong)
00221 AXISC_DEFINED_ARRAY(xsdc__unsignedShort)
00222 AXISC_DEFINED_ARRAY2(
xsdc__base64Binary)
00223 AXISC_DEFINED_ARRAY2(
xsdc__hexBinary)
00224 AXISC_DEFINED_ARRAY(xsdc__anyURI)
00225 AXISC_DEFINED_ARRAY(xsdc__NMTOKEN)
00226
00227 static const
int xsdc_boolean_true = 1;
00228 static const
int xsdc_boolean_false = 0;
00229
00230 typedef enum {
00231 AXISC_NORMAL_CHANNEL=0,
00232 AXISC_SSL_CHANNEL
00233 } AXISC_CHANNEL_TYPE;
00234
00239 typedef char*
AXISC_XML_String;
00240
00245 typedef struct
00246
{
00250
AXISC_XML_String* _array;
00251
00255
int _size;
00256 }
AxiscAnyType;
00257
00258
#endif