axis2_wsdl_binding_fault.h

00001 /*
00002  * Copyright 2004,2005 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 #ifndef AXIS2_BINDING_FAULT_H
00018 #define AXIS2_BINDING_FAULT_H
00019 
00025 #include <axis2_const.h>
00026 #include <axis2_error.h>
00027 #include <axis2_defines.h>
00028 #include <axis2_env.h>
00029 #include <axis2_allocator.h>
00030 #include <axis2_qname.h>
00031 #include <axis2_wsdl_extensible_component.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038 struct axis2_wsdl_extensible_component;    
00039 typedef struct axis2_wsdl_binding_fault axis2_wsdl_binding_fault_t;
00040 typedef struct axis2_wsdl_binding_fault_ops axis2_wsdl_binding_fault_ops_t;
00041 
00051  struct axis2_wsdl_binding_fault_ops
00052 {
00056    axis2_status_t (AXIS2_CALL *
00057     free)(axis2_wsdl_binding_fault_t *binding_fault,
00058           const axis2_env_t *env);
00059 
00065     axis2_qname_t *(AXIS2_CALL *
00066     get_ref) (axis2_wsdl_binding_fault_t *binding_fault,
00067                                 const axis2_env_t *env);
00068     
00074     axis2_status_t (AXIS2_CALL *
00075     set_ref)(axis2_wsdl_binding_fault_t *binding_fault,
00076                                 const axis2_env_t *env,
00077                                 axis2_qname_t *ref);
00078 };
00079 
00083  struct axis2_wsdl_binding_fault
00084 {
00085    axis2_wsdl_binding_fault_ops_t *ops;
00086     struct axis2_wsdl_extensible_component *extensible_component;
00087 };
00088 
00093 AXIS2_EXTERN axis2_wsdl_binding_fault_t * AXIS2_CALL 
00094 axis2_binding_fault_create (const axis2_env_t *env);
00095 
00096 /*************************** Function macros **********************************/
00097 
00098 #define AXIS2_WSDL_BINDING_FAULT_FREE(binding_fault, env) \
00099       ((binding_fault)->ops->free (binding_fault, env))
00100 
00101 #define AXIS2_WSDL_BINDING_FAULT_GET_REF(binding_fault, env) \
00102       ((binding_fault)->ops->get_ref (binding_fault, env))
00103 
00104 #define AXIS2_WSDL_BINDING_FAULT_SET_REF(binding_fault, env, ref) \
00105       ((binding_fault)->ops->set_ref (binding_fault, env, ref))       
00106 
00107 /*************************** End of function macros ***************************/
00108 
00111 #ifdef __cplusplus
00112 }
00113 #endif
00114 #endif  /* AXIS2_BINDING_FAULT_H */

Generated on Thu Oct 26 21:00:12 2006 for Axis2/C by  doxygen 1.4.7