axis2_wsdl_binding_msg_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_BINDING_MSG_REF_H
00018 #define AXIS2_WSDL_BINDING_MSG_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_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_msg_ref axis2_wsdl_binding_msg_ref_t;
00040 typedef struct axis2_wsdl_binding_msg_ref_ops axis2_wsdl_binding_msg_ref_ops_t;
00041 
00051  struct axis2_wsdl_binding_msg_ref_ops
00052 {
00056    axis2_status_t (AXIS2_CALL *
00057     free)(axis2_wsdl_binding_msg_ref_t *wsdl_binding_msg_ref,
00058           const axis2_env_t *env);
00059 
00065     axis2_char_t * (AXIS2_CALL *
00066     get_direction) (axis2_wsdl_binding_msg_ref_t *binding_msg_ref,
00067                                                 const axis2_env_t *env);
00068     
00074     axis2_status_t (AXIS2_CALL *
00075     set_direction) (axis2_wsdl_binding_msg_ref_t *binding_msg_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_binding_msg_ref_t *binding_msg_ref,
00086                                                 const axis2_env_t *env);
00087     
00093     axis2_status_t (AXIS2_CALL *
00094     set_msg_label) (axis2_wsdl_binding_msg_ref_t *binding_msg_ref,
00095                                                 const axis2_env_t *env,
00096                                                 const axis2_char_t *msg_label);
00097 };
00098 
00102  struct axis2_wsdl_binding_msg_ref
00103 {
00104    axis2_wsdl_binding_msg_ref_ops_t *ops;
00105     struct axis2_wsdl_extensible_component *extensible_component;
00106 };
00107 
00112 AXIS2_EXTERN axis2_wsdl_binding_msg_ref_t * AXIS2_CALL 
00113 axis2_wsdl_binding_msg_ref_create (const axis2_env_t *env);
00114 
00115 /*************************** Function macros **********************************/
00116 
00117 #define AXIS2_WSDL_BINDING_MSG_REF_FREE(wsdl_binding_msg_ref, env) \
00118       ((wsdl_binding_msg_ref)->ops->free (wsdl_binding_msg_ref, env))
00119 
00120 #define AXIS2_WSDL_BINDING_MSG_REF_GET_DIRECTION(wsdl_binding_msg_ref, env) \
00121       ((wsdl_binding_msg_ref)->ops->get_direction (wsdl_binding_msg_ref, env))
00122 
00123 #define AXIS2_WSDL_BINDING_MSG_REF_SET_DIRECTION(wsdl_binding_msg_ref, env, direction) \
00124       ((wsdl_binding_msg_ref)->ops->set_direction (wsdl_binding_msg_ref, env, direction))       
00125 
00126 #define AXIS2_WSDL_BINDING_MSG_REF_GET_MSG_LABEL(wsdl_binding_msg_ref, env) \
00127       ((wsdl_binding_msg_ref)->ops->get_msg_label (wsdl_binding_msg_ref, env))
00128 
00129 #define AXIS2_WSDL_BINDING_MSG_REF_SET_MSG_LABEL(wsdl_binding_msg_ref, env, ref) \
00130       ((wsdl_binding_msg_ref)->ops->set_msg_label (wsdl_binding_msg_ref, env, msg_label))
00131         
00132 /*************************** End of function macros ***************************/
00133 
00136 #ifdef __cplusplus
00137 }
00138 #endif
00139 #endif  /* AXIS2_WSDL_BINDING_MSG_REF_H */

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