axis2_wsdl_fault_ref.h

Go to the documentation of this file.
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_WSDL_FAULT_REF_H
00018 #define AXIS2_WSDL_FAULT_REF_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_component.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038 struct axis2_wsdl_component;    
00039 typedef struct axis2_wsdl_fault_ref axis2_wsdl_fault_ref_t;
00040 typedef struct axis2_wsdl_fault_ref_ops axis2_wsdl_fault_ref_ops_t;
00041 
00051  struct axis2_wsdl_fault_ref_ops
00052 {
00056    axis2_status_t (AXIS2_CALL *
00057     free)(axis2_wsdl_fault_ref_t *wsdl_fault_ref,
00058           const axis2_env_t *env);
00059 
00065     axis2_char_t * (AXIS2_CALL *
00066     get_direction) (axis2_wsdl_fault_ref_t *fault_ref,
00067                                                 const axis2_env_t *env);
00068     
00074     axis2_status_t (AXIS2_CALL *
00075     set_direction) (axis2_wsdl_fault_ref_t *fault_ref,
00076                                                 const axis2_env_t *env,
00077                                                 const axis2_char_t *direction);
00078     
00084     axis2_char_t * (AXIS2_CALL *
00085     get_msg_label) (axis2_wsdl_fault_ref_t *fault_ref,
00086                                                 const axis2_env_t *env);
00087     
00093     axis2_status_t (AXIS2_CALL *
00094     set_msg_label) (axis2_wsdl_fault_ref_t *fault_ref,
00095                                                 const axis2_env_t *env,
00096                                                 axis2_char_t *msg_label);
00097                                                 
00103     axis2_qname_t * (AXIS2_CALL *
00104     get_ref) (axis2_wsdl_fault_ref_t *fault_ref,
00105                                     const axis2_env_t *env);
00106     
00112     axis2_status_t (AXIS2_CALL *
00113     set_ref) (axis2_wsdl_fault_ref_t *fault_ref,
00114                                     const axis2_env_t *env,
00115                                     axis2_qname_t *ref);                                              
00116 };
00117 
00121  struct axis2_wsdl_fault_ref
00122 {
00123    axis2_wsdl_fault_ref_ops_t *ops;
00124     struct axis2_wsdl_component *wsdl_component;
00125 };
00126 
00131 AXIS2_EXTERN axis2_wsdl_fault_ref_t * AXIS2_CALL 
00132 axis2_wsdl_fault_ref_create (const axis2_env_t *env);
00133 
00134 /*************************** Function macros **********************************/
00135 
00136 #define AXIS2_WSDL_FAULT_REF_FREE(wsdl_fault_ref, env) \
00137       ((wsdl_fault_ref)->ops->free (wsdl_fault_ref, env))
00138 
00139 #define AXIS2_WSDL_FAULT_REF_GET_DIRECTION(wsdl_fault_ref, env) \
00140       ((wsdl_fault_ref)->ops->get_direction (wsdl_fault_ref, env))
00141 
00142 #define AXIS2_WSDL_FAULT_REF_SET_DIRECTION(wsdl_fault_ref, env, direction) \
00143       ((wsdl_fault_ref)->ops->set_direction (wsdl_fault_ref, env, direction))       
00144 
00145 #define AXIS2_WSDL_FAULT_REF_GET_MSG_LABEL(wsdl_fault_ref, env) \
00146       ((wsdl_fault_ref)->ops->get_msg_label (wsdl_fault_ref, env))
00147 
00148 #define AXIS2_WSDL_FAULT_REF_SET_MSG_LABEL(wsdl_fault_ref, env, msg_label) \
00149       ((wsdl_fault_ref)->ops->set_msg_label (wsdl_fault_ref, env, msg_label))
00150         
00151 #define AXIS2_WSDL_FAULT_REF_GET_REF(wsdl_fault_ref, env) \
00152       ((wsdl_fault_ref)->ops->get_ref (wsdl_fault_ref, env))
00153 
00154 #define AXIS2_WSDL_FAULT_REF_SET_REF(wsdl_fault_ref, env, ref) \
00155       ((wsdl_fault_ref)->ops->set_ref (wsdl_fault_ref, env, ref))        
00156         
00157 /*************************** End of function macros ***************************/
00158 
00161 #ifdef __cplusplus
00162 }
00163 #endif
00164 #endif  /* AXIS2_WSDL_FAULT_REF_H */

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