00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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 AXIS2_DECLARE_DATA 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 AXIS2_DECLARE_DATA 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
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
00133
00136 #ifdef __cplusplus
00137 }
00138 #endif
00139 #endif