axis2_wsdl_ext.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef AXIS2_WSDL_EXT_H
00019 #define AXIS2_WSDL_EXT_H
00020 
00026 #include <axis2_const.h>
00027 #include <axis2_error.h>
00028 #include <axis2_defines.h>
00029 #include <axis2_env.h>
00030 #include <axis2_allocator.h>
00031 #include <axis2_wsdl_component.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038 struct axis2_wsdl_component;    
00039 typedef struct axis2_wsdl_ext axis2_wsdl_ext_t;
00040 typedef struct axis2_wsdl_ext_ops axis2_wsdl_ext_ops_t;
00041 
00051  struct axis2_wsdl_ext_ops
00052 {
00056    axis2_status_t (AXIS2_CALL *
00057     free)(axis2_wsdl_ext_t *ext,
00058            const axis2_env_t *env);
00059 
00060 };
00061 
00068  struct axis2_wsdl_ext
00069 {
00070    axis2_wsdl_ext_ops_t *ops;
00071     axis2_char_t *namespc;
00072 };
00073 
00078 AXIS2_EXTERN axis2_wsdl_ext_t * AXIS2_CALL 
00079 axis2_wsdl_ext_create (const axis2_env_t *env);
00080 
00081 /*************************** Function macros **********************************/
00082 
00083 #define AXIS2_WSDL_EXT_FREE(ext, env) \
00084       ((ext)->ops->free (ext, env))
00085 
00086 /*************************** End of function macros ***************************/
00087 
00090 #ifdef __cplusplus
00091 }
00092 #endif
00093 #endif  /* AXIS2_WSDL_EXT_H */

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1