axis2_wsdl_pump.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_PUMP_H
00019 #define AXIS2_WSDL_PUMP_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_string.h>
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038    
00039 typedef struct axis2_wsdl_pump_ops axis2_wsdl_pump_ops_t;
00040 typedef struct axis2_wsdl_pump axis2_wsdl_pump_t;   
00041 struct axis2_wsdl_desc;   
00042 
00052 struct axis2_wsdl_pump_ops
00053 {
00057     axis2_status_t (AXIS2_CALL *
00058     free) (axis2_wsdl_pump_t *wsdl_pump,
00059                             const axis2_env_t *env);
00060 
00061    axis2_status_t (AXIS2_CALL *
00062    pump) (axis2_wsdl_pump_t *wsdl_pump,
00063                   const axis2_env_t *env);
00064 
00065 };
00066 
00071 struct axis2_wsdl_pump
00072 {
00073    axis2_wsdl_pump_ops_t *ops;
00074 };
00075 
00080 AXIS2_EXTERN axis2_wsdl_pump_t * AXIS2_CALL 
00081 axis2_wsdl_pump_create (const axis2_env_t *env,
00082                   struct axis2_wsdl_desc *wom_def,
00083                   void *wsdl_parser);
00084 
00085 /*************************** Function macros **********************************/
00086 
00087 #define AXIS2_WSDL_PUMP_FREE(wsdl_pump, env) ((wsdl_pump)->ops->free (wsdl_pump, env))
00088 
00089 #define AXIS2_WSDL_PUMP_PUMP(wsdl_pump, env) \
00090       ((wsdl_pump)->ops->pump (wsdl_pump, env))
00091 
00092 /*************************** End of function macros ***************************/
00093 
00096 #ifdef __cplusplus
00097 }
00098 #endif
00099 #endif  /* AXIS2_WSDL_PUMP_H */

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