00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
#if !defined(_AXISUSERAPI_H_OF_AXIS_INCLUDED_)
00019
#define _AXISUSERAPI_H_OF_AXIS_INCLUDED_
00020
00021
#include <axis/GDefine.h>
00022
#include <time.h>
00023
#include <string.h>
00024
00038 typedef AxiscChar *
xsdc__string;
00039
00044
#ifdef WIN32
00045 typedef __int64
xsdc__integer;
00046
#else
00047
typedef long long xsdc__integer;
00048
#endif
00049
00054 typedef int xsdc__int;
00055
00060
#ifdef WIN32
00061 typedef __int64
xsdc__long;
00062
#else
00063
typedef long long xsdc__long;
00064
#endif
00065
00070 typedef short xsdc__short;
00071
00076 typedef double xsdc__decimal;
00077
00082 typedef float xsdc__float;
00083
00088 typedef double xsdc__double;
00089
00094 typedef enum { false_=0, true_ }
xsdc__boolean;
00099 typedef char xsdc__byte;
00100
00105 typedef AxiscChar *
xsdc__QName;
00106
00111
00112
00117 typedef struct tm
xsdc__dateTime;
00118
00123 typedef struct tm
xsdc__date;
00124
00129 typedef struct tm
xsdc__time;
00130
00135 typedef long xsdc__duration;
00136
00141 typedef unsigned char xsdc__unsignedByte;
00142
00147 typedef unsigned int xsdc__unsignedInt;
00148
00153 typedef unsigned long xsdc__unsignedLong;
00154
00159 typedef unsigned short xsdc__unsignedShort;
00160
00165 typedef struct {
00166
xsdc__unsignedByte __ptr;
00167
xsdc__int __size;
00168 }
xsdc__base64Binary;
00169
00174 typedef struct {
00175
xsdc__unsignedByte __ptr;
00176
xsdc__int __size;
00177 }
xsdc__hexBinary;
00182 typedef AxiscChar *
xsdc__anyURI;
00183
00188 typedef AxiscChar *
xsdc__NMTOKEN;
00189
00195 typedef enum {
00196 AXISC_RPC_ENCODED,
00197 AXISC_DOC_LITERAL,
00198 AXISC_RPC_LITERAL
00199 }
AXISC_BINDING_STYLE;
00200
00201
#define AXISC_DEFINED_ARRAY(type) \
00202
typedef struct {\
00203
type ** m_Array;\
00204
int m_Size;\
00205
} type##_Array;
00206
00207
#define AXISC_DEFINED_POINTER_ARRAY(type) \
00208
typedef struct {\
00209
type * m_Array;\
00210
int m_Size;\
00211
} type##_Array;
00212
00213
#define AXISC_DEFINED_ARRAY2(type) \
00214
typedef struct {\
00215
AXISCHANDLE m_Array;\
00216
int m_Size;\
00217
} type##_Array;
00218
00219
typedef struct {
00220
void* m_Array;
00221
int m_Size;
00222 } Axisc_Array;
00223
00224 AXISC_DEFINED_POINTER_ARRAY(xsdc__string)
00225 AXISC_DEFINED_ARRAY(xsdc__integer)
00226 AXISC_DEFINED_ARRAY(xsdc__int)
00227 AXISC_DEFINED_ARRAY(xsdc__long)
00228 AXISC_DEFINED_ARRAY(xsdc__short)
00229 AXISC_DEFINED_ARRAY(xsdc__decimal)
00230 AXISC_DEFINED_ARRAY(xsdc__float)
00231 AXISC_DEFINED_ARRAY(xsdc__double)
00232 AXISC_DEFINED_ARRAY(xsdc__boolean)
00233 AXISC_DEFINED_POINTER_ARRAY(xsdc__QName)
00234
00235 AXISC_DEFINED_ARRAY(xsdc__dateTime)
00236 AXISC_DEFINED_ARRAY(xsdc__unsignedByte)
00237 AXISC_DEFINED_ARRAY(xsdc__unsignedInt)
00238 AXISC_DEFINED_ARRAY(xsdc__unsignedLong)
00239 AXISC_DEFINED_ARRAY(xsdc__unsignedShort)
00240 AXISC_DEFINED_ARRAY2(
xsdc__base64Binary)
00241 AXISC_DEFINED_ARRAY2(
xsdc__hexBinary)
00242 AXISC_DEFINED_POINTER_ARRAY(xsdc__anyURI)
00243 AXISC_DEFINED_POINTER_ARRAY(xsdc__NMTOKEN)
00244
00245 static const
int xsdc_boolean_true = 1;
00246 static const
int xsdc_boolean_false = 0;
00247
00248 typedef enum {
00249 AXISC_NORMAL_CHANNEL=0,
00250 AXISC_SSL_CHANNEL
00251 } AXISC_CHANNEL_TYPE;
00252
00257 typedef char*
AXISC_XML_String;
00258
00263 typedef struct
00264
{
00268
AXISC_XML_String* _array;
00269
00273
int _size;
00274 }
AxiscAnyType;
00275
00276
#endif