axis2_wsdl_fault_ref.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_FAULT_REF_H
00019 #define AXIS2_WSDL_FAULT_REF_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_qname.h>
00032 #include <axis2_wsdl_component.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039 struct axis2_wsdl_component;    
00040 typedef struct axis2_wsdl_fault_ref axis2_wsdl_fault_ref_t;
00041 typedef struct axis2_wsdl_fault_ref_ops axis2_wsdl_fault_ref_ops_t;
00042 
00052  struct axis2_wsdl_fault_ref_ops
00053 {
00057    axis2_status_t (AXIS2_CALL *
00058     free)(axis2_wsdl_fault_ref_t *wsdl_fault_ref,
00059           const axis2_env_t *env);
00060 
00066     axis2_char_t * (AXIS2_CALL *
00067     get_direction) (axis2_wsdl_fault_ref_t *fault_ref,
00068                                                 const axis2_env_t *env);
00069     
00075     axis2_status_t (AXIS2_CALL *
00076     set_direction) (axis2_wsdl_fault_ref_t *fault_ref,
00077                                                 const axis2_env_t *env,
00078                                                 const axis2_char_t *direction);
00079     
00085     axis2_char_t * (AXIS2_CALL *
00086     get_msg_label) (axis2_wsdl_fault_ref_t *fault_ref,
00087                                                 const axis2_env_t *env);
00088     
00094     axis2_status_t (AXIS2_CALL *
00095     set_msg_label) (axis2_wsdl_fault_ref_t *fault_ref,
00096                                                 const axis2_env_t *env,
00097                                                 axis2_char_t *msg_label);
00098                                                 
00104     axis2_qname_t * (AXIS2_CALL *
00105     get_ref) (axis2_wsdl_fault_ref_t *fault_ref,
00106                                     const axis2_env_t *env);
00107     
00113     axis2_status_t (AXIS2_CALL *
00114     set_ref) (axis2_wsdl_fault_ref_t *fault_ref,
00115                                     const axis2_env_t *env,
00116                                     axis2_qname_t *ref);                                              
00117 };
00118 
00122  struct axis2_wsdl_fault_ref
00123 {
00124    axis2_wsdl_fault_ref_ops_t *ops;
00125     struct axis2_wsdl_component *wsdl_component;
00126 };
00127 
00132 AXIS2_EXTERN axis2_wsdl_fault_ref_t * AXIS2_CALL 
00133 axis2_wsdl_fault_ref_create (const axis2_env_t *env);
00134 
00135 /*************************** Function macros **********************************/
00136 
00137 #define AXIS2_WSDL_FAULT_REF_FREE(wsdl_fault_ref, env) \
00138       ((wsdl_fault_ref)->ops->free (wsdl_fault_ref, env))
00139 
00140 #define AXIS2_WSDL_FAULT_REF_GET_DIRECTION(wsdl_fault_ref, env) \
00141       ((wsdl_fault_ref)->ops->get_direction (wsdl_fault_ref, env))
00142 
00143 #define AXIS2_WSDL_FAULT_REF_SET_DIRECTION(wsdl_fault_ref, env, direction) \
00144       ((wsdl_fault_ref)->ops->set_direction (wsdl_fault_ref, env, direction))       
00145 
00146 #define AXIS2_WSDL_FAULT_REF_GET_MSG_LABEL(wsdl_fault_ref, env) \
00147       ((wsdl_fault_ref)->ops->get_msg_label (wsdl_fault_ref, env))
00148 
00149 #define AXIS2_WSDL_FAULT_REF_SET_MSG_LABEL(wsdl_fault_ref, env, msg_label) \
00150       ((wsdl_fault_ref)->ops->set_msg_label (wsdl_fault_ref, env, msg_label))
00151         
00152 #define AXIS2_WSDL_FAULT_REF_GET_REF(wsdl_fault_ref, env) \
00153       ((wsdl_fault_ref)->ops->get_ref (wsdl_fault_ref, env))
00154 
00155 #define AXIS2_WSDL_FAULT_REF_SET_REF(wsdl_fault_ref, env, ref) \
00156       ((wsdl_fault_ref)->ops->set_ref (wsdl_fault_ref, env, ref))        
00157         
00158 /*************************** End of function macros ***************************/
00159 
00162 #ifdef __cplusplus
00163 }
00164 #endif
00165 #endif  /* AXIS2_WSDL_FAULT_REF_H */

Generated on Wed Dec 20 20:34:50 2006 for Axis2/C by  doxygen 1.5.1