axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r410566 [42/49] - in /webservices/axis2/trunk/c: axiom/include/ axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/ axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/ axiom/test/unit/om/ include/ modules/...
Date Wed, 31 May 2006 15:54:39 GMT
Modified: webservices/axis2/trunk/c/woden/src/wsdl20/desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/desc.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/desc.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/desc.c Wed May 31 08:54:07 2006
@@ -63,27 +63,27 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_desc_free(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_status_t AXIS2_CALL
 axis2_woden_desc_free_ops(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_desc_super_objs(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_desc_type(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_documentable_t *AXIS2_CALL
 axis2_woden_desc_get_base_impl(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Description interface methods (the WSDL Component model)
@@ -91,44 +91,44 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_interfaces(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_bindings(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_svcs(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_element_decls(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_element_decl(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_type_defs(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_type_def(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 void *AXIS2_CALL
 axis2_woden_desc_to_element(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Description Element interface methods (the XML Element model)
@@ -137,204 +137,204 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_document_base_uri(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *doc_base_uri);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_target_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_desc_get_target_namespace(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *namespc);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_remove_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_desc_get_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_namespaces(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_import_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *import_el);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_import_elements(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_include_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *include_el);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_include_elements(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_types_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *types_el);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_desc_get_types_element(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_interface_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *interface_el);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_interface_elements(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_binding_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *binding_el);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_binding_elements(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_svc_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *svc_el);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_svc_elements(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* Creator methods */
 
 void *AXIS2_CALL
 axis2_woden_desc_create_documentation_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_import_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_include_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_types_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_fault_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_op_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_fault_ref_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_msg_ref_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_fault_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_op_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_fault_ref_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_msg_ref_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_svc_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_endpoint_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_feature_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_create_property_element(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_extension_registry(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *ext_reg);
 
 void *AXIS2_CALL
 axis2_woden_desc_get_extension_registry(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_desc_to_component(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 }
 /* ************************************************************
  *  Non-API implementation methods
@@ -353,46 +353,46 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_interfaces(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *interface);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_bindings(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *binding);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_svcs(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *svc);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_element_decls(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *element_decl);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_type_defs(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *type_def);
 
 static axis2_status_t AXIS2_CALL
 axis2_woden_desc_init_components(
         void *desc,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_woden_desc_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_desc_t *)
 axis2_woden_desc_to_desc_element(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
    
@@ -406,7 +406,7 @@
 
     axis2_woden_desc_free_ops(desc, env);
     desc_impl->desc.base.desc_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_desc_element_ops_t));
     axis2_woden_desc_element_resolve_methods(&(desc_impl->desc.base.
             desc_element), env, desc_impl->methods);
@@ -416,7 +416,7 @@
 AXIS2_DECLARE(axis2_woden_desc_t *)
 axis2_woden_desc_to_documentable_element(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
    
@@ -430,7 +430,7 @@
 
     axis2_woden_desc_free_ops(desc, env);
     desc_impl->desc.base.desc_element.base.documentable_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_element_ops_t));
     axis2_woden_documentable_element_resolve_methods(&(desc_impl->desc.base.
             desc_element.base.documentable_element), env, 
@@ -441,7 +441,7 @@
 AXIS2_DECLARE(axis2_woden_desc_t *)
 axis2_woden_desc_to_documentable(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
    
@@ -455,7 +455,7 @@
 
     axis2_woden_desc_free_ops(desc, env);
     desc_impl->desc.base.documentable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_ops_t));
     axis2_woden_documentable_resolve_methods(&(desc_impl->desc.base.
             documentable), env, desc_impl->documentable, 
@@ -466,7 +466,7 @@
 AXIS2_DECLARE(axis2_woden_desc_t *)
 axis2_woden_desc_to_wsdl_obj(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     void *wsdl_obj = NULL;
@@ -481,7 +481,7 @@
 
     axis2_woden_desc_free_ops(desc, env);
     desc_impl->desc.base.documentable.base.wsdl_obj.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_wsdl_obj_ops_t));
     wsdl_obj = AXIS2_WODEN_DOCUMENTABLE_GET_BASE_IMPL(
             desc_impl->documentable, env);
@@ -493,7 +493,7 @@
 AXIS2_DECLARE(axis2_woden_desc_t *)
 axis2_woden_desc_to_wsdl_component(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
 
@@ -507,7 +507,7 @@
         desc_impl = (axis2_woden_desc_impl_t *) desc;
     axis2_woden_desc_free_ops(desc, env);
     desc_impl->desc.base.wsdl_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_woden_wsdl_component_ops_t));
     axis2_woden_wsdl_component_resolve_methods(&(desc_impl->desc.base.
             wsdl_component), env, desc_impl->methods);
@@ -516,12 +516,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_desc_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    desc_impl = AXIS2_MALLOC((*env)->allocator, 
+    desc_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_desc_impl_t));
 
     desc_impl->obj_type= AXIS2_WODEN_DESC;
@@ -558,7 +558,7 @@
     desc_impl->desc.base.documentable.base.wsdl_obj.base.wsdl_element.
             base.element_extensible.ops = NULL;
     
-    desc_impl->desc.ops = AXIS2_MALLOC((*env)->allocator, 
+    desc_impl->desc.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_desc_ops_t));
 
     desc_impl->desc.ops->free = axis2_woden_desc_free;
@@ -578,7 +578,7 @@
     desc_impl->methods = axis2_hash_make(env);
     if(!desc_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(desc_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -755,7 +755,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_desc_t *)
-axis2_woden_desc_create(axis2_env_t **env)
+axis2_woden_desc_create(const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
    
@@ -767,7 +767,7 @@
     desc_impl->super = axis2_hash_make(env);
     if(!desc_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(desc_impl->super, "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING, 
@@ -781,7 +781,7 @@
 static axis2_status_t AXIS2_CALL
 axis2_woden_desc_free_ops(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
 
@@ -790,14 +790,14 @@
 
     if(desc_impl->desc.base.desc_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, desc_impl->desc.base.
+        AXIS2_FREE(env->allocator, desc_impl->desc.base.
                 desc_element.ops);
         desc_impl->desc.base.desc_element.ops = NULL;
     }
 
     if(desc_impl->desc.base.desc_element.base.documentable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, desc_impl->desc.base.
+        AXIS2_FREE(env->allocator, desc_impl->desc.base.
                 desc_element.base.documentable_element.ops);
         desc_impl->desc.base.desc_element.base.documentable_element.ops = 
             NULL;
@@ -805,7 +805,7 @@
     
     if(desc_impl->desc.base.documentable.ops)
     {
-        AXIS2_FREE((*env)->allocator, desc_impl->desc.base.
+        AXIS2_FREE(env->allocator, desc_impl->desc.base.
                 documentable.ops);
         desc_impl->desc.base.documentable.ops = 
             NULL;
@@ -813,7 +813,7 @@
     
     if(desc_impl->desc.base.documentable.base.wsdl_obj.ops)
     {
-        AXIS2_FREE((*env)->allocator, desc_impl->desc.base.
+        AXIS2_FREE(env->allocator, desc_impl->desc.base.
                 documentable.base.wsdl_obj.ops);
         desc_impl->desc.base.documentable.base.wsdl_obj.ops = 
             NULL;
@@ -821,7 +821,7 @@
 
     if(desc_impl->desc.base.nested_component.wsdl_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, desc_impl->desc.base.
+        AXIS2_FREE(env->allocator, desc_impl->desc.base.
                 nested_component.wsdl_component.ops);
         desc_impl->desc.base.nested_component.wsdl_component.ops = NULL;
     }
@@ -833,7 +833,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_free(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
 
@@ -869,13 +869,13 @@
 
     if((&(desc_impl->desc))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(desc_impl->desc))->ops);
+        AXIS2_FREE(env->allocator, (&(desc_impl->desc))->ops);
         (&(desc_impl->desc))->ops = NULL;
     }
     
     if(desc_impl)
     {
-        AXIS2_FREE((*env)->allocator, desc_impl);
+        AXIS2_FREE(env->allocator, desc_impl);
         desc_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -884,7 +884,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_desc_super_objs(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
 
@@ -897,7 +897,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_desc_type(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
 
@@ -910,7 +910,7 @@
 axis2_woden_documentable_t *AXIS2_CALL
 axis2_woden_desc_get_base_impl(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
 
@@ -923,14 +923,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_resolve_methods(
         axis2_woden_desc_t *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_desc_t *desc_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_desc_impl_t *desc_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     desc_impl_l = INTF_TO_IMPL(desc_impl);
     
     desc->ops->free = axis2_hash_get(methods, "free", 
@@ -1027,7 +1027,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_interfaces(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1045,7 +1045,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_bindings(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1063,7 +1063,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_svcs(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1081,7 +1081,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_element_decls(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1099,7 +1099,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_element_decl(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
@@ -1107,7 +1107,7 @@
     void *el_decl = NULL;
 
     AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_PARAM_CHECK((*env)->error, qname, NULL);
+    AXIS2_PARAM_CHECK(env->error, qname, NULL);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1132,7 +1132,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_type_defs(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1150,7 +1150,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_type_def(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
@@ -1158,7 +1158,7 @@
     void *type_def = NULL;
 
     AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_PARAM_CHECK((*env)->error, qname, NULL);
+    AXIS2_PARAM_CHECK(env->error, qname, NULL);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1183,7 +1183,7 @@
 void *AXIS2_CALL
 axis2_woden_desc_to_element(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1203,14 +1203,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_document_base_uri(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *doc_base_uri)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, doc_base_uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, doc_base_uri, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1226,14 +1226,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_target_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespc, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespc, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1249,7 +1249,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_desc_get_target_namespace(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1265,7 +1265,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *namespc)
 {
@@ -1290,7 +1290,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_remove_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
@@ -1310,7 +1310,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_desc_get_namespace(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
@@ -1329,7 +1329,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_namespaces(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1345,7 +1345,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_import_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *import_el)
 {
@@ -1353,7 +1353,7 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, import_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, import_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1364,7 +1364,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_import_elements(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1380,7 +1380,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_include_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *include_el)
 {
@@ -1388,7 +1388,7 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, import_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, import_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1399,7 +1399,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_include_elements(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1415,14 +1415,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_types_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *types_el)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, types_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, types_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1438,7 +1438,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_desc_get_types_element(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1454,7 +1454,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_interface_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *interface_el)
 {
@@ -1462,7 +1462,7 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, interface_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, interface_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1473,7 +1473,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_interface_elements(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1489,7 +1489,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_binding_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *binding_el)
 {
@@ -1497,7 +1497,7 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, binding_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, binding_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1508,7 +1508,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_binding_elements(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1524,7 +1524,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_svc_element(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *prefix,
         axis2_url_t *svc_el)
 {
@@ -1532,7 +1532,7 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, svc_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, svc_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1543,7 +1543,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_desc_get_svc_elements(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1560,126 +1560,126 @@
 
 void *AXIS2_CALL
 axis2_woden_desc_create_documentation_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_documentation(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_import_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_import(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_include_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_include(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_types_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_types(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_interface(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_fault_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_interface_fault(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_op_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_interface_op(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_fault_ref_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_interface_fault_ref(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_interface_msg_ref_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_interface_msg_ref(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_binding(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_fault_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_binding_fault(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_op_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_binding_op(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_fault_ref_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_binding_fault_ref(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_binding_msg_ref_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_binding_msg_ref(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_svc_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_svc(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_endpoint_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_endpoint(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_feature_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_feature(env);
 }
 
 void *AXIS2_CALL
 axis2_woden_desc_create_property_element(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     return axis2_woden_property(env);
 }
@@ -1687,14 +1687,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_set_extension_registry(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *ext_reg)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, ext_reg, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, ext_reg, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1710,7 +1710,7 @@
 void *AXIS2_CALL
 axis2_woden_desc_get_extension_registry(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1726,7 +1726,7 @@
 void *AXIS2_CALL
 axis2_woden_desc_to_component(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -1757,14 +1757,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_interfaces(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *interface)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, interface, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, interface, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1775,14 +1775,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_bindings(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *binding)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, binding, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, binding, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1793,14 +1793,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_svcs(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *svc)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, svc, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, svc, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1811,14 +1811,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_element_decls(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *element_decl)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, element_decl, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, element_decl, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1829,14 +1829,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_add_to_all_type_defs(
         void *desc,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *type_def)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, type_def, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, type_def, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));
@@ -1847,13 +1847,13 @@
 static axis2_status_t AXIS2_CALL
 axis2_woden_desc_init_components(
         void *desc,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_desc_impl_t *desc_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, binding, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, binding, AXIS2_FAILURE);
     super = AXIS2_WODEN_DESC_SUPER_OBJS(desc, env);
     desc_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DESC", AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/documentable.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/documentable.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/documentable.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/documentable.c Wed May 31 08:54:07 2006
@@ -36,43 +36,43 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_documentable_free(
         void *documentable,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_documentable_super_objs(
         void *documentable,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_wsdl_obj_t *AXIS2_CALL
 axis2_woden_documentable_get_base_impl(
         void *documentable,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_documentable_add_documentation_element(
         void *documentable,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_documentation_element_t *documentation);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_documentable_get_documentation_elements(
         void *documentable,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_woden_documentable_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    documentable_impl = AXIS2_MALLOC((*env)->allocator, 
+    documentable_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_documentable_impl_t));
 
     documentable_impl->f_doc_elems = NULL;
     documentable_impl->super = NULL;
     
-    documentable_impl->documentable.ops = AXIS2_MALLOC((*env)->allocator, 
+    documentable_impl->documentable.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_documentable_ops_t));
 
     documentable_impl->documentable.ops->free = axis2_woden_documentable_free;
@@ -88,7 +88,7 @@
 
 AXIS2_DECLARE(axis2_woden_documentable_t *)
 axis2_woden_documentable_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
    
@@ -100,7 +100,7 @@
     documentable_impl->super = axis2_hash_make(env);
     if(!documentable_impl->super)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(documentable_impl->super, "AXIS2_WODEN_DOCUMENTABLE", 
@@ -115,7 +115,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentable_free(
         void *documentable,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
 
@@ -142,13 +142,13 @@
     
     if(documentable_impl->documentable.ops)
     {
-        AXIS2_FREE((*env)->allocator, documentable_impl->documentable.ops);
+        AXIS2_FREE(env->allocator, documentable_impl->documentable.ops);
         documentable_impl->documentable.ops = NULL;
     }
     
     if(documentable_impl)
     {
-        AXIS2_FREE((*env)->allocator, documentable_impl);
+        AXIS2_FREE(env->allocator, documentable_impl);
         documentable_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -157,7 +157,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_documentable_super_objs(
         void *documentable,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
 
@@ -170,7 +170,7 @@
 axis2_woden_wsdl_obj_t *AXIS2_CALL
 axis2_woden_documentable_get_base_impl(
         void *documentable,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
 
@@ -183,17 +183,17 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentable_resolve_methods(
         axis2_woden_documentable_t *documentable,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_documentable_t *documentable_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_documentable_impl_t *documentable_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     documentable_impl_l = INTF_TO_IMPL(documentable_impl);
 
-    documentable->ops = AXIS2_MALLOC((*env)->allocator, 
+    documentable->ops = AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_ops_t));
     
     documentable->ops->free = axis2_hash_get(methods, "free", 
@@ -221,14 +221,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentable_add_documentation_element(
         void *documentable,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_documentation_element_t *documentation)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, documentation, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, documentation, AXIS2_FAILURE);
     super = AXIS2_WODEN_DOCUMENTABLE_SUPER_OBJS(documentable, env);
     documentable_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DOCUMENTABLE", AXIS2_HASH_KEY_STRING));
@@ -238,7 +238,7 @@
         documentable_impl->f_doc_elems = axis2_array_list_create(env, 0);
         if(!documentable_impl->f_doc_elems)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -249,7 +249,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_documentable_get_documentation_elements(
         void *documentable,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentable_impl_t *documentable_impl = NULL;
     axis2_hash_t *super = NULL;

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/documentation.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/documentation.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/documentation.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/documentation.c Wed May 31 08:54:07 2006
@@ -41,101 +41,101 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_documentation_free(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_documentation_super_objs(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_documentation_type(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_wsdl_element_t *AXIS2_CALL
 axis2_woden_documentation_get_base_impl(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_set_content(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *doc_el);
 
 void *AXIS2_CALL
 axis2_woden_documentation_get_content(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_documentation_set_ext_attr(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *attr_type,
         axis2_woden_xml_attr_t *attr);
 
 axis2_woden_xml_attr_t *AXIS2_CALL 
 axis2_woden_documentation_get_ext_attr(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *attr_type);
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_documentation_get_ext_attrs(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_documentation_get_ext_attrs_for_namespace(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_documentation_has_ext_attrs_for_namespace(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_documentation_add_ext_element(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_ext_element_t *ext_el);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_documentation_remove_ext_element(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_ext_element_t *ext_el);
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_documentation_get_ext_elements(
         void *documentation,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_documentation_get_ext_elements_of_type(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *ext_type);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_documentation_has_ext_elements_for_namespace(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 static axis2_woden_documentation_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_documentation_t *)
 axis2_woden_documentation_to_documentation_element(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
    
@@ -148,7 +148,7 @@
         documentation_impl = (axis2_woden_documentation_impl_t *) documentation;
 
     documentation_impl->documentation.base.documentation_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_woden_documentation_element_ops_t));
     axis2_woden_documentation_element_resolve_methods(&(documentation_impl->
             documentation.base.documentation_element), env, 
@@ -159,7 +159,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_to_documentation_element_free(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -168,7 +168,7 @@
 
     if(documentation_impl->documentation.base.documentation_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.base.
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.base.
                 documentation_element.ops);
         documentation_impl->documentation.base.documentation_element.ops = 
             NULL;
@@ -179,7 +179,7 @@
 AXIS2_DECLARE(axis2_woden_documentation_t *)
 axis2_woden_documentation_to_attr_extensible(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -193,7 +193,7 @@
         documentation_impl = (axis2_woden_documentation_impl_t *) documentation;
 
     documentation_impl->documentation.base.wsdl_element.base.attr_extensible.
-            ops = AXIS2_MALLOC((*env)->allocator, 
+            ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_attr_extensible_ops_t));
     axis2_woden_attr_extensible_resolve_methods(&(documentation_impl->
             documentation.base.wsdl_element.base.attr_extensible), env, 
@@ -205,7 +205,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_to_attr_extensible_free(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -215,7 +215,7 @@
     if(documentation_impl->documentation.base.wsdl_element.base.attr_extensible.
             ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.
                 base.wsdl_element.base.attr_extensible.ops);
         documentation_impl->documentation.base.wsdl_element.base.
             attr_extensible.ops = NULL;
@@ -226,7 +226,7 @@
 AXIS2_DECLARE(axis2_woden_documentation_t *)
 axis2_woden_documentation_to_element_extensible(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -239,7 +239,7 @@
     else
         documentation_impl = (axis2_woden_documentation_impl_t *) documentation;
     documentation_impl->documentation.base.wsdl_element.base.
-        element_extensible.ops = AXIS2_MALLOC((*env)->allocator, 
+        element_extensible.ops = AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_woden_element_extensible_ops_t));
     axis2_woden_element_extensible_resolve_methods(&(documentation_impl->
             documentation.base.wsdl_element.base.element_extensible), 
@@ -251,7 +251,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_to_element_extensible_free(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -261,7 +261,7 @@
     if(documentation_impl->documentation.base.wsdl_element.base.
             element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.base.
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.base.
                 wsdl_element.base.element_extensible.ops);
         documentation_impl->documentation.base.wsdl_element.base.
             element_extensible.ops = NULL;
@@ -271,12 +271,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_documentation_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    documentation_impl = AXIS2_MALLOC((*env)->allocator, 
+    documentation_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_documentation_impl_t));
 
     documentation_impl->wsdl_element = NULL;
@@ -285,7 +285,7 @@
     documentation_impl->f_content = NULL;
     documentation_impl->methods = NULL;
     
-    documentation_impl->documentation.ops = AXIS2_MALLOC((*env)->allocator, 
+    documentation_impl->documentation.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_documentation_ops_t));
 
     documentation_impl->documentation.ops->free = axis2_woden_documentation_free;
@@ -298,7 +298,7 @@
     documentation_impl->methods = axis2_hash_make(env);
     if(!documentation_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(documentation_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -346,7 +346,7 @@
 
 AXIS2_DECLARE(axis2_woden_documentation_t *)
 axis2_woden_documentation_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
    
@@ -358,7 +358,7 @@
     documentation_impl->super = axis2_hash_make(env);
     if(!documentation_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(documentation_impl->super, "AXIS2_WODEN_DOCUMENTATION", 
@@ -372,7 +372,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_free(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -405,7 +405,7 @@
 
     if(documentation_impl->documentation.base.documentation_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.base.
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.base.
                 documentation_element.ops);
         documentation_impl->documentation.base.documentation_element.ops = 
             NULL;
@@ -414,7 +414,7 @@
     if(documentation_impl->documentation.base.wsdl_element.base.attr_extensible.
             ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.
                 base.wsdl_element.base.attr_extensible.ops);
         documentation_impl->documentation.base.wsdl_element.base.
             attr_extensible.ops = NULL;
@@ -423,7 +423,7 @@
     if(documentation_impl->documentation.base.wsdl_element.base.
             element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.base.
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.base.
                 wsdl_element.base.element_extensible.ops);
         documentation_impl->documentation.base.wsdl_element.base.
             element_extensible.ops = NULL;
@@ -431,13 +431,13 @@
 
     if((&(documentation_impl->documentation))->ops)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl->documentation.ops);
+        AXIS2_FREE(env->allocator, documentation_impl->documentation.ops);
         (&(documentation_impl->documentation))->ops = NULL;
     }
     
     if(documentation_impl)
     {
-        AXIS2_FREE((*env)->allocator, documentation_impl);
+        AXIS2_FREE(env->allocator, documentation_impl);
         documentation_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -446,7 +446,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_documentation_super_objs(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -458,7 +458,7 @@
 
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_documentation_type(void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -471,7 +471,7 @@
 axis2_woden_wsdl_element_t *AXIS2_CALL
 axis2_woden_documentation_get_base_impl(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
 
@@ -484,17 +484,17 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_resolve_methods(
         axis2_woden_documentation_t *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_documentation_t *documentation_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_documentation_impl_t *documentation_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     documentation_impl_l = INTF_TO_IMPL (documentation_impl);
     
-    documentation->ops = AXIS2_MALLOC((*env)->allocator, 
+    documentation->ops = AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentation_ops_t));
     
     documentation->ops->free = axis2_hash_get(methods, "free", 
@@ -512,14 +512,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_set_content(
         void *documentation,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *doc_el)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, documentation, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, documentation, AXIS2_FAILURE);
     super = AXIS2_WODEN_DOCUMENTATION_SUPER_OBJS(documentation, env);
     documentation_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_DOCUMENTATION", AXIS2_HASH_KEY_STRING));
@@ -535,7 +535,7 @@
 void *AXIS2_CALL
 axis2_woden_documentation_get_content(
         void *documentation,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_documentation_impl_t *documentation_impl = NULL;
     axis2_hash_t *super = NULL;

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/element_decl.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/element_decl.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/element_decl.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/element_decl.c Wed May 31 08:54:07 2006
@@ -41,17 +41,17 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_free(
         void *decl,
-        axis2_env_t **envv);
+        const axis2_env_t *envv);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_element_decl_super_objs(
         void *decl,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_element_decl_type(
         void *decl,
-        axis2_env_t **envv);
+        const axis2_env_t *envv);
 
 /* ************************************************************
  *  Element Declaration interface methods (the WSDL Component model)
@@ -59,22 +59,22 @@
 axis2_qname_t *AXIS2_CALL 
 axis2_woden_element_decl_get_qname(
         void *decl,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 axis2_url_t *AXIS2_CALL 
 axis2_woden_element_decl_get_system(
         void *decl,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 axis2_char_t *AXIS2_CALL 
 axis2_woden_element_decl_get_content_model(
         void *decl,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 axis2_generic_obj_t *AXIS2_CALL 
 axis2_woden_element_decl_get_content(
         void *decl,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 /* ************************************************************
  *  Non-API implementation methods
@@ -83,36 +83,36 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_qname(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname); 
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_system(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *type_system_uri); 
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_content_model(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *content_model); 
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_content(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_generic_obj_t *element_content);
 
 
 AXIS2_DECLARE(axis2_woden_element_decl_t *)
 axis2_woden_element_decl_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    decl_impl = AXIS2_MALLOC((*env)->allocator, 
+    decl_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_element_decl_impl_t));
 
     decl_impl->obj_type = AXIS2_WODEN_ELEMENT_DECL;
@@ -123,7 +123,7 @@
     decl_impl->f_content = NULL;
 
     decl_impl->decl.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_element_decl_ops_t)); 
     
     decl_impl->decl.ops->free = 
@@ -151,7 +151,7 @@
     decl_impl->super = axis2_hash_make(env);
     if(!decl_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(decl_impl->super, "AXIS2_WODEN_ELEMENT_DECL", 
@@ -162,7 +162,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_element_decl_free(void *decl,
-                axis2_env_t **env)
+                const axis2_env_t *env)
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
 
@@ -177,13 +177,13 @@
 
     if((&(decl_impl->decl))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(decl_impl->decl))->ops);
+        AXIS2_FREE(env->allocator, (&(decl_impl->decl))->ops);
         (&(decl_impl->decl))->ops = NULL;
     }
 
     if(decl_impl)
     {
-        AXIS2_FREE((*env)->allocator, decl_impl);
+        AXIS2_FREE(env->allocator, decl_impl);
         decl_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -192,7 +192,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_element_decl_super_objs(
         void *decl,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
 
@@ -205,7 +205,7 @@
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_element_decl_type(
         void *decl,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
 
@@ -218,14 +218,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_element_decl_resolve_methods(
         axis2_woden_element_decl_t *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_element_decl_t *decl_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_element_decl_impl_t *decl_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     decl_impl_l = INTF_TO_IMPL(decl_impl);
     
     decl->ops->free = axis2_hash_get(methods, "free", 
@@ -293,7 +293,7 @@
 axis2_qname_t *AXIS2_CALL 
 axis2_woden_element_decl_get_qname(
         void *decl,
-        axis2_env_t **env) 
+        const axis2_env_t *env) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -309,7 +309,7 @@
 axis2_url_t *AXIS2_CALL 
 axis2_woden_element_decl_get_system(
         void *decl,
-        axis2_env_t **env) 
+        const axis2_env_t *env) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -325,7 +325,7 @@
 axis2_char_t *AXIS2_CALL 
 axis2_woden_element_decl_get_content_model(
         void *decl,
-        axis2_env_t **env) 
+        const axis2_env_t *env) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -341,7 +341,7 @@
 axis2_generic_obj_t *AXIS2_CALL 
 axis2_woden_element_decl_get_content(
         void *decl,
-        axis2_env_t **env) 
+        const axis2_env_t *env) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -364,14 +364,14 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_qname(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_ELEMENT_DECL_SUPER_OBJS(decl, env);
     decl_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_ELEMENT_DECL", AXIS2_HASH_KEY_STRING)); 
@@ -388,14 +388,14 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_system(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *type_system_uri) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, type_system_uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, type_system_uri, AXIS2_FAILURE);
     super = AXIS2_WODEN_ELEMENT_DECL_SUPER_OBJS(decl, env);
     decl_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_ELEMENT_DECL", AXIS2_HASH_KEY_STRING)); 
@@ -411,21 +411,21 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_content_model(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *content_model) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, content_model, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, content_model, AXIS2_FAILURE);
     super = AXIS2_WODEN_ELEMENT_DECL_SUPER_OBJS(decl, env);
     decl_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_ELEMENT_DECL", AXIS2_HASH_KEY_STRING)); 
 
     if(decl_impl->f_content_model)
     {
-        AXIS2_FREE((*env)->allocator, decl_impl->f_content_model);
+        AXIS2_FREE(env->allocator, decl_impl->f_content_model);
         decl_impl->f_content_model = NULL;
     }
     decl_impl->f_content_model = AXIS2_STRDUP(content_model, env);
@@ -435,14 +435,14 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_element_decl_set_content(
         void *decl,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_generic_obj_t *element_content) 
 {
     axis2_woden_element_decl_impl_t *decl_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, element_content, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, element_content, AXIS2_FAILURE);
     super = AXIS2_WODEN_ELEMENT_DECL_SUPER_OBJS(decl, env);
     decl_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_ELEMENT_DECL", AXIS2_HASH_KEY_STRING)); 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message