Main Page   Class Hierarchy   Compound List   File List   Compound Members   Examples  

AxisUserAPI.h

00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003  *
00004  *   Licensed under the Apache License, Version 2.0 (the "License");
00005  *   you may not use this file except in compliance with the License.
00006  *   You may obtain a copy of the License at
00007  *
00008  *       http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  *   Unless required by applicable law or agreed to in writing, software
00011  *   distributed under the License is distributed on an "AS IS" BASIS,
00012  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *   See the License for the specific language governing permissions and
00014  *   limitations under the License.
00015  *
00016  *
00017  * @author Susantha Kumara (susantha@opensource.lk, skumara@virtusa.com)
00018  *
00019  */
00020 /* AxisUserAPI.h: interface for the AxisUserAPI class.*/
00021 
00022 #if !defined(_AXISUSERAPI_H____OF_AXIS_INCLUDED_)
00023 #define _AXISUSERAPI_H____OF_AXIS_INCLUDED_
00024 
00025 #include <time.h>
00026 #include <string.h>
00027 
00028 #define AxisChar char
00029 
00030 typedef AxisChar * xsd__string;
00031 typedef int xsd__integer;
00032 typedef int xsd__int;
00033 typedef long xsd__long;
00034 typedef short xsd__short;
00035 typedef double xsd__decimal;
00036 typedef float xsd__float;
00037 typedef double xsd__double;
00038 typedef enum { false_=0, true_ } xsd__boolean;
00039 typedef unsigned char xsd__byte;
00040 typedef AxisChar * xsd__QName;
00041 typedef struct tm xsd__dateTime;
00042 typedef struct tm xsd__date;
00043 typedef struct tm xsd__time;
00044 typedef unsigned char xsd__unsignedByte;
00045 typedef unsigned int xsd__unsignedInt;
00046 typedef unsigned long xsd__unsignedLong;
00047 typedef unsigned short xsd__unsignedShort;
00048 typedef struct {
00049     xsd__unsignedByte * __ptr;
00050     xsd__int __size;
00051 } xsd__base64Binary;
00052 typedef struct{
00053     xsd__unsignedByte * __ptr;
00054     xsd__int __size;
00055 } xsd__hexBinary;
00056 typedef AxisChar * xsd__anyURI;
00057 
00058 typedef enum {
00059     RPC_ENCODED, /*default*/
00060     DOC_LITERAL,
00061     RPC_LITERAL
00062 } AXIS_BINDING_STYLE;
00063 
00064 #define AXIS_DEFINED_ARRAY(type) \
00065     struct {\
00066         type * m_Array;\
00067         int m_Size;\
00068     }
00069 
00070 typedef AXIS_DEFINED_ARRAY(void) Axis_Array;
00071 typedef AXIS_DEFINED_ARRAY(xsd__string) xsd__string_Array;
00072 typedef AXIS_DEFINED_ARRAY(xsd__integer) xsd__integer_Array;
00073 typedef AXIS_DEFINED_ARRAY(xsd__int) xsd__int_Array;
00074 typedef AXIS_DEFINED_ARRAY(xsd__long) xsd__long_Array;
00075 typedef AXIS_DEFINED_ARRAY(xsd__short) xsd__short_Array;
00076 typedef AXIS_DEFINED_ARRAY(xsd__decimal) xsd__decimal_Array;
00077 typedef AXIS_DEFINED_ARRAY(xsd__float) xsd__float_Array;
00078 typedef AXIS_DEFINED_ARRAY(xsd__double) xsd__double_Array;
00079 typedef AXIS_DEFINED_ARRAY(xsd__boolean) xsd__boolean_Array;
00080 typedef AXIS_DEFINED_ARRAY(xsd__QName) xsd__QName_Array;
00081 typedef AXIS_DEFINED_ARRAY(xsd__dateTime) xsd__dateTime_Array;
00082 typedef AXIS_DEFINED_ARRAY(xsd__unsignedByte) xsd__unsignedByte_Array;
00083 typedef AXIS_DEFINED_ARRAY(xsd__unsignedInt) xsd__unsignedInt_Array;
00084 typedef AXIS_DEFINED_ARRAY(xsd__unsignedLong) xsd__unsignedLong_Array;
00085 typedef AXIS_DEFINED_ARRAY(xsd__unsignedShort) xsd__unsignedShort_Array;
00086 typedef AXIS_DEFINED_ARRAY(xsd__base64Binary) xsd__base64Binary_Array;
00087 typedef AXIS_DEFINED_ARRAY(xsd__hexBinary) xsd__hexBinary_Array;
00088 typedef AXIS_DEFINED_ARRAY(xsd__anyURI) xsd__anyURI_Array;
00089  
00090 #define AXIS_OUT_PARAM 
00091 
00092 static const int xsd_boolean_true = 1;
00093 static const int xsd_boolean_false = 0;
00094 
00095 typedef enum {
00096     NORMAL_CHANNEL=0,
00097     SSL_CHANNEL
00098 } AXIS_CHANNEL_TYPE;
00099 
00100 typedef char* XML_String;
00101 
00102 typedef struct 
00103 {
00104         XML_String* _array;
00105         int _size;
00106 } AnyType;
00107 
00108 #endif

Generated on Tue Jun 15 19:13:22 2004 for axiscpp by doxygen1.2.18