Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

axis2_wsdl_ext_soap_address.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_EXT_SOAP_ADDRESS_H
00018 #define AXIS2_WSDL_EXT_SOAP_ADDRESS_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_wsdl_component.h>
00031 #include <axis2_wsdl_ext.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037 
00038 struct axis2_wsdl_component;    
00039 typedef struct axis2_wsdl_ext_soap_address axis2_wsdl_ext_soap_address_t;
00040 typedef struct axis2_wsdl_ext_soap_address_ops axis2_wsdl_ext_soap_address_ops_t;
00041 
00051 AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_address_ops
00052 {
00056    axis2_status_t (AXIS2_CALL *
00057     free)(axis2_wsdl_ext_soap_address_t *ext_soap_address,
00058            const axis2_env_t *env);
00059 
00060     axis2_char_t *(AXIS2_CALL *
00061     get_location_uri) (axis2_wsdl_ext_soap_address_t *ext_soap_address,
00062                                     const axis2_env_t *env);
00063 
00067     axis2_status_t (AXIS2_CALL *
00068     set_location_uri) (axis2_wsdl_ext_soap_address_t *ext_soap_address,
00069                                     const axis2_env_t *env,
00070                                     axis2_char_t *location_uri);
00071  
00072 };
00073 
00080 AXIS2_DECLARE_DATA struct axis2_wsdl_ext_soap_address
00081 {
00082     axis2_wsdl_ext_t base;
00083    axis2_wsdl_ext_soap_address_ops_t *ops;
00084     struct axis2_wsdl_extensible_element *ext_element;
00085 };
00086 
00091 AXIS2_EXTERN axis2_wsdl_ext_soap_address_t * AXIS2_CALL 
00092 axis2_wsdl_ext_soap_address_create (const axis2_env_t *env,
00093                                     axis2_qname_t *qtype);
00094 
00095 /*************************** Function macros **********************************/
00096 
00097 #define AXIS2_WSDL_EXT_SOAP_ADDRESS_FREE(ext_soap_address, env) \
00098       ((ext_soap_address)->ops->free (ext_soap_address, env))
00099 
00100 #define AXIS2_WSDL_EXT_SOAP_ADDRESS_GET_LOCATION_URI(ext_soap_address, env) \
00101       ((ext_soap_address)->ops->get_location_uri (ext_soap_address, env))
00102 
00103 #define AXIS2_WSDL_EXT_SOAP_ADDRESS_SET_LOCATION_URI(ext_soap_address, env, location_uri) \
00104       ((ext_soap_address)->ops->set_location_uri (ext_soap_address, env, location_uri))        
00105 
00106 /*************************** End of function macros ***************************/
00107 
00110 #ifdef __cplusplus
00111 }
00112 #endif
00113 #endif  /* AXIS2_WSDL_EXT_SOAP_ADDRESS_H */

Generated on Fri Jun 16 18:02:31 2006 for Axis2/C by  doxygen 1.4.2