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 [30/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/modules/wsdl/wsdl_ext_soap_op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c Wed May 31 08:54:07 2006
@@ -36,43 +36,43 @@
 
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_ext_soap_op_free (axis2_wsdl_ext_soap_op_t *ext_soap_op,
-									axis2_env_t **env);
+									const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_ext_soap_op_get_soap_action(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_ext_soap_op_set_soap_action(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *soap_action);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_ext_soap_op_get_style(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_ext_soap_op_set_style(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *style);
                                 
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_ext_soap_op_t * AXIS2_CALL 
-axis2_wsdl_ext_soap_op_create (axis2_env_t **env,
+axis2_wsdl_ext_soap_op_create (const axis2_env_t *env,
                                  axis2_qname_t *qtype)
 {
     axis2_wsdl_ext_soap_op_impl_t *ext_soap_op_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
-	ext_soap_op_impl = (axis2_wsdl_ext_soap_op_impl_t *) AXIS2_MALLOC((*env)->allocator,
+	ext_soap_op_impl = (axis2_wsdl_ext_soap_op_impl_t *) AXIS2_MALLOC(env->allocator,
 			sizeof(axis2_wsdl_ext_soap_op_impl_t));
 	
 	
 	if(NULL == ext_soap_op_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
     
@@ -86,16 +86,16 @@
     if(NULL == ext_soap_op_impl->ext_soap_op.ext_element)
     {
         axis2_wsdl_ext_soap_op_free(&(ext_soap_op_impl->ext_soap_op), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }    
     
 	ext_soap_op_impl->ext_soap_op.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_ext_soap_op_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_op_ops_t));
 	if(NULL == ext_soap_op_impl->ext_soap_op.ops)
     {
         axis2_wsdl_ext_soap_op_free(&(ext_soap_op_impl->ext_soap_op), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     if(!qtype)
@@ -123,7 +123,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_ext_soap_op_free (axis2_wsdl_ext_soap_op_t *ext_soap_op, 
-                            axis2_env_t **env)
+                            const axis2_env_t *env)
 {
     axis2_wsdl_ext_soap_op_impl_t *exp_soap_op_impl = NULL;
     
@@ -132,17 +132,17 @@
     exp_soap_op_impl = AXIS2_INTF_TO_IMPL(ext_soap_op);
     
 	if(NULL != ext_soap_op->ops)
-        AXIS2_FREE((*env)->allocator, ext_soap_op->ops);
+        AXIS2_FREE(env->allocator, ext_soap_op->ops);
     
     if(NULL != exp_soap_op_impl->soap_action)
     {
-        AXIS2_FREE((*env)->allocator, exp_soap_op_impl->soap_action);
+        AXIS2_FREE(env->allocator, exp_soap_op_impl->soap_action);
         exp_soap_op_impl->soap_action = NULL;
     }
     
     if(NULL != exp_soap_op_impl->style)
     {
-        AXIS2_FREE((*env)->allocator, exp_soap_op_impl->style);
+        AXIS2_FREE(env->allocator, exp_soap_op_impl->style);
         exp_soap_op_impl->style = NULL;
     }
     
@@ -152,7 +152,7 @@
         ext_soap_op->ext_element = NULL;
     }
     
-    AXIS2_FREE((*env)->allocator, exp_soap_op_impl);
+    AXIS2_FREE(env->allocator, exp_soap_op_impl);
     exp_soap_op_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -160,7 +160,7 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_ext_soap_op_get_soap_action(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(ext_soap_op)->soap_action;
@@ -168,25 +168,25 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_ext_soap_op_set_soap_action(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *soap_action) 
 {
     axis2_wsdl_ext_soap_op_impl_t *exp_soap_op_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, soap_action, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, soap_action, AXIS2_FAILURE);
     
     exp_soap_op_impl = AXIS2_INTF_TO_IMPL(ext_soap_op);
     
     if(exp_soap_op_impl->soap_action)
     {
-        AXIS2_FREE((*env)->allocator, exp_soap_op_impl->soap_action);
+        AXIS2_FREE(env->allocator, exp_soap_op_impl->soap_action);
         exp_soap_op_impl->soap_action = NULL;
     }
     exp_soap_op_impl->soap_action = AXIS2_STRDUP(soap_action, env);
     if(!exp_soap_op_impl->soap_action)
     {
-        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;
     }
     return AXIS2_SUCCESS;
@@ -194,7 +194,7 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_ext_soap_op_get_style(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     return AXIS2_INTF_TO_IMPL(ext_soap_op)->style;
@@ -202,24 +202,24 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_ext_soap_op_set_style(axis2_wsdl_ext_soap_op_t *ext_soap_op,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *style) 
 {
     axis2_wsdl_ext_soap_op_impl_t *exp_soap_op_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, style, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, style, AXIS2_FAILURE);
     exp_soap_op_impl = AXIS2_INTF_TO_IMPL(ext_soap_op); 
 
     if(exp_soap_op_impl->style)
     {
-        AXIS2_FREE((*env)->allocator, exp_soap_op_impl->style);
+        AXIS2_FREE(env->allocator, exp_soap_op_impl->style);
         exp_soap_op_impl->style = NULL;
     }
     exp_soap_op_impl->style = AXIS2_STRDUP(style, env);
     if(!exp_soap_op_impl->style)
     {
-        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;
     }
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c Wed May 31 08:54:07 2006
@@ -38,46 +38,46 @@
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_extensible_attribute_free (
                 axis2_wsdl_extensible_attribute_t *extensible_attribute,
-				axis2_env_t **env);
+				const axis2_env_t *env);
 
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_extensible_attribute_get_key(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env);
+                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_attribute_set_key(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_qname_t *key);
                         
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_extensible_attribute_get_value(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env);
+                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_attribute_set_value(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_qname_t *value);
                         
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_extensible_attribute_t * AXIS2_CALL 
-axis2_wsdl_extensible_attribute_create (axis2_env_t **env)
+axis2_wsdl_extensible_attribute_create (const axis2_env_t *env)
 {
     axis2_wsdl_extensible_attribute_impl_t *extensible_attribute_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
 	extensible_attribute_impl = (axis2_wsdl_extensible_attribute_impl_t *) 
-        AXIS2_MALLOC((*env)->allocator, sizeof(axis2_wsdl_extensible_attribute_impl_t));
+        AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_extensible_attribute_impl_t));
 	
 	
 	if(NULL == extensible_attribute_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;        
     }
     
@@ -86,12 +86,12 @@
     extensible_attribute_impl->extensible_attribute.ops = NULL;
     
 	extensible_attribute_impl->extensible_attribute.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_extensible_attribute_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_attribute_ops_t));
 	if(NULL == extensible_attribute_impl->extensible_attribute.ops)
     {
         axis2_wsdl_extensible_attribute_free(&(extensible_attribute_impl->
             extensible_attribute), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -116,11 +116,11 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_extensible_attribute_free (
                         axis2_wsdl_extensible_attribute_t *extensible_attribute, 
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	if(NULL != extensible_attribute->ops)
-        AXIS2_FREE((*env)->allocator, extensible_attribute->ops);
+        AXIS2_FREE(env->allocator, extensible_attribute->ops);
     
     if(NULL != AXIS2_INTF_TO_IMPL(extensible_attribute)->key)
     {
@@ -136,7 +136,7 @@
         AXIS2_INTF_TO_IMPL(extensible_attribute)->value = NULL;
     }
     
-    AXIS2_FREE((*env)->allocator, AXIS2_INTF_TO_IMPL(extensible_attribute));
+    AXIS2_FREE(env->allocator, AXIS2_INTF_TO_IMPL(extensible_attribute));
     
 	return AXIS2_SUCCESS;
 }
@@ -144,7 +144,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_extensible_attribute_get_key(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env) 
+                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(extensible_attribute)->key;
@@ -153,14 +153,14 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_attribute_set_key(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_qname_t *key) 
 {
     axis2_wsdl_extensible_attribute_impl_t *extensible_attribute_impl = 
         AXIS2_INTF_TO_IMPL(extensible_attribute);
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, key, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, key, AXIS2_FAILURE);
     
     if(extensible_attribute_impl->key)
     {
@@ -171,7 +171,7 @@
     extensible_attribute_impl->key = AXIS2_QNAME_CLONE(key, env);
     if(!extensible_attribute_impl->key)
     {
-        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;
     }
     return AXIS2_SUCCESS;
@@ -180,7 +180,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_extensible_attribute_get_value(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env) 
+                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(extensible_attribute)->value;
@@ -189,14 +189,14 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_attribute_set_value(
                             axis2_wsdl_extensible_attribute_t *extensible_attribute,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_qname_t *value) 
 {
     axis2_wsdl_extensible_attribute_impl_t *extensible_attribute_impl = 
         AXIS2_INTF_TO_IMPL(extensible_attribute);
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, value, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, value, AXIS2_FAILURE);
     
     if(extensible_attribute_impl->value)
     {
@@ -207,7 +207,7 @@
     extensible_attribute_impl->value = AXIS2_QNAME_CLONE(value, env);
     if(!extensible_attribute_impl->value)
     {
-        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;
     }
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c Wed May 31 08:54:07 2006
@@ -44,46 +44,46 @@
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_extensible_component_free (
                 axis2_wsdl_extensible_component_t *extensible_component,
-				axis2_env_t **env);
+				const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_component_add_feature(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env,
+                        const axis2_env_t *env,
                         axis2_wsdl_feature_t *wsdl_feature);
 
 axis2_linked_list_t *AXIS2_CALL
 axis2_wsdl_extensible_component_get_features(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
                         
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_component_add_property(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env,
+                        const axis2_env_t *env,
                         axis2_wsdl_property_t *wsdl_property);
 
 axis2_linked_list_t *AXIS2_CALL
 axis2_wsdl_extensible_component_get_properties(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
                         
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_extensible_component_t * AXIS2_CALL 
-axis2_wsdl_extensible_component_create (axis2_env_t **env)
+axis2_wsdl_extensible_component_create (const axis2_env_t *env)
 {
     axis2_wsdl_extensible_component_impl_t *extensible_component_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
 	extensible_component_impl = (axis2_wsdl_extensible_component_impl_t *) 
-        AXIS2_MALLOC((*env)->allocator, sizeof(axis2_wsdl_extensible_component_impl_t));
+        AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_extensible_component_impl_t));
 	
 	
 	if(NULL == extensible_component_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;        
     }
 	
@@ -97,7 +97,7 @@
     {
         axis2_wsdl_extensible_component_free(&(extensible_component_impl->
             extensible_component), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -106,7 +106,7 @@
     {
         axis2_wsdl_extensible_component_free(&(extensible_component_impl->
             extensible_component), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -116,18 +116,18 @@
     {
         axis2_wsdl_extensible_component_free(&(extensible_component_impl->
             extensible_component), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
     
 	extensible_component_impl->extensible_component.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_extensible_component_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_component_ops_t));
 	if(NULL == extensible_component_impl->extensible_component.ops)
     {
         axis2_wsdl_extensible_component_free(&(extensible_component_impl->
             extensible_component), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -151,7 +151,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_extensible_component_free (
                         axis2_wsdl_extensible_component_t *extensible_component, 
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_wsdl_extensible_component_impl_t *extensible_component_impl = NULL;
     
@@ -161,7 +161,7 @@
     
 	if(NULL != extensible_component->ops)
     {
-        AXIS2_FREE((*env)->allocator, extensible_component->ops);
+        AXIS2_FREE(env->allocator, extensible_component->ops);
         extensible_component->ops = NULL;
     }
     
@@ -214,7 +214,7 @@
     }
     
     if(extensible_component_impl)
-        AXIS2_FREE((*env)->allocator, extensible_component_impl);
+        AXIS2_FREE(env->allocator, extensible_component_impl);
     extensible_component_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -223,13 +223,13 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_component_add_feature(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env,
+                        const axis2_env_t *env,
                         axis2_wsdl_feature_t *wsdl_feature) 
 {
     axis2_wsdl_extensible_component_impl_t *extensible_component_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, wsdl_feature, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, wsdl_feature, AXIS2_FAILURE);
     
     extensible_component_impl = AXIS2_INTF_TO_IMPL(extensible_component);
     
@@ -246,7 +246,7 @@
 axis2_linked_list_t *AXIS2_CALL
 axis2_wsdl_extensible_component_get_features(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env) 
+                        const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     
@@ -256,13 +256,13 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_component_add_property(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env,
+                        const axis2_env_t *env,
                         axis2_wsdl_property_t *wsdl_property) 
 {
     axis2_wsdl_extensible_component_impl_t *extensible_component_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, wsdl_property, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, wsdl_property, AXIS2_FAILURE);
     
     extensible_component_impl = AXIS2_INTF_TO_IMPL(extensible_component);
     
@@ -279,7 +279,7 @@
 axis2_linked_list_t *AXIS2_CALL
 axis2_wsdl_extensible_component_get_properties(
                         axis2_wsdl_extensible_component_t *extensible_component,
-                        axis2_env_t **env) 
+                        const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c Wed May 31 08:54:07 2006
@@ -38,46 +38,46 @@
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_extensible_element_free (
                 axis2_wsdl_extensible_element_t *extensible_element,
-				axis2_env_t **env);
+				const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_wsdl_extensible_element_is_required(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env);
+                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_element_set_required(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_bool_t required);
 
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_extensible_element_get_type(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env);
+                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_element_set_type(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_qname_t *type);
                         
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_extensible_element_t * AXIS2_CALL 
-axis2_wsdl_extensible_element_create (axis2_env_t **env)
+axis2_wsdl_extensible_element_create (const axis2_env_t *env)
 {
     axis2_wsdl_extensible_element_impl_t *extensible_element_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
 	extensible_element_impl = (axis2_wsdl_extensible_element_impl_t *) 
-        AXIS2_MALLOC((*env)->allocator, sizeof(axis2_wsdl_extensible_element_impl_t));
+        AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_extensible_element_impl_t));
 	
 	
 	if(NULL == extensible_element_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;        
     }
     
@@ -85,12 +85,12 @@
     extensible_element_impl->extensible_element.ops = NULL;
     
 	extensible_element_impl->extensible_element.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_extensible_element_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_element_ops_t));
 	if(NULL == extensible_element_impl->extensible_element.ops)
     {
         axis2_wsdl_extensible_element_free(&(extensible_element_impl->
             extensible_element), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -115,11 +115,11 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_extensible_element_free (
                         axis2_wsdl_extensible_element_t *extensible_element, 
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	if(NULL != extensible_element->ops)
-        AXIS2_FREE((*env)->allocator, extensible_element->ops);
+        AXIS2_FREE(env->allocator, extensible_element->ops);
     
     if(NULL != AXIS2_INTF_TO_IMPL(extensible_element)->type)
     {
@@ -129,7 +129,7 @@
         
     }
     
-    AXIS2_FREE((*env)->allocator, AXIS2_INTF_TO_IMPL(extensible_element));
+    AXIS2_FREE(env->allocator, AXIS2_INTF_TO_IMPL(extensible_element));
     
 	return AXIS2_SUCCESS;
 }
@@ -137,7 +137,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_wsdl_extensible_element_is_required(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env) 
+                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     return AXIS2_INTF_TO_IMPL(extensible_element)->required;
@@ -146,7 +146,7 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_element_set_required(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_bool_t required) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
@@ -158,7 +158,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_extensible_element_get_type(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env) 
+                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(extensible_element)->type;
@@ -167,14 +167,14 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_extensible_element_set_type(
                             axis2_wsdl_extensible_element_t *extensible_element,
-                            axis2_env_t **env,
+                            const axis2_env_t *env,
                             axis2_qname_t *type) 
 {
     axis2_wsdl_extensible_element_impl_t *extensible_element_impl = 
         AXIS2_INTF_TO_IMPL(extensible_element);
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, type, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, type, AXIS2_FAILURE);
     
     if(extensible_element_impl->type)
     {
@@ -185,7 +185,7 @@
     extensible_element_impl->type = AXIS2_QNAME_CLONE(type, env);
     if(!extensible_element_impl->type)
     {
-        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;
     } 
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c Wed May 31 08:54:07 2006
@@ -50,50 +50,50 @@
 
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_fault_ref_free (axis2_wsdl_fault_ref_t *fault_ref,
-									axis2_env_t **env);
+									const axis2_env_t *env);
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_direction(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env);
+                                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_fault_ref_set_direction(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_char_t *direction);
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_msg_label(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env);
+                                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_fault_ref_set_msg_label(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_char_t *msg_label);
                                             
 axis2_qname_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_ref(axis2_wsdl_fault_ref_t *fault_ref,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wdsl_fault_ref_set_ref(axis2_wsdl_fault_ref_t *fault_ref,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_qname_t *ref);                                           
 
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_fault_ref_t * AXIS2_CALL 
-axis2_wsdl_fault_ref_create (axis2_env_t **env)
+axis2_wsdl_fault_ref_create (const axis2_env_t *env)
 {
     axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
-	fault_ref_impl = (axis2_wsdl_fault_ref_impl_t *) AXIS2_MALLOC((*env)->
+	fault_ref_impl = (axis2_wsdl_fault_ref_impl_t *) AXIS2_MALLOC(env->
         allocator, sizeof(axis2_wsdl_fault_ref_impl_t));
 	
 	if(NULL == fault_ref_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
     
@@ -107,18 +107,18 @@
  
     if(NULL == fault_ref_impl->fault_ref.wsdl_component)
     {
-        AXIS2_FREE((*env)->allocator, fault_ref_impl);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_FREE(env->allocator, fault_ref_impl);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
 	fault_ref_impl->fault_ref.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_fault_ref_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_fault_ref_ops_t));
 	if(NULL == fault_ref_impl->fault_ref.ops)
     {
         AXIS2_WSDL_COMPONENT_FREE(fault_ref_impl->fault_ref.wsdl_component, env);
-        AXIS2_FREE((*env)->allocator, fault_ref_impl);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_FREE(env->allocator, fault_ref_impl);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -146,7 +146,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_fault_ref_free (axis2_wsdl_fault_ref_t *fault_ref, 
-                            axis2_env_t **env)
+                            const axis2_env_t *env)
 {
     axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
     
@@ -156,19 +156,19 @@
     
 	if(NULL != fault_ref->ops)
     {
-        AXIS2_FREE((*env)->allocator, fault_ref->ops);
+        AXIS2_FREE(env->allocator, fault_ref->ops);
         fault_ref->ops = NULL;
     }
     
     if(NULL != fault_ref_impl->msg_label)
     {
-        AXIS2_FREE((*env)->allocator, AXIS2_INTF_TO_IMPL(fault_ref)->msg_label);
+        AXIS2_FREE(env->allocator, AXIS2_INTF_TO_IMPL(fault_ref)->msg_label);
         fault_ref_impl->msg_label = NULL;
     }
     
     if(NULL != fault_ref_impl->direction)
     {
-        AXIS2_FREE((*env)->allocator, fault_ref_impl->direction);
+        AXIS2_FREE(env->allocator, fault_ref_impl->direction);
         fault_ref_impl->direction = NULL;   
     }
     
@@ -185,7 +185,7 @@
     }
     
     if(fault_ref_impl)
-        AXIS2_FREE((*env)->allocator, fault_ref_impl);
+        AXIS2_FREE(env->allocator, fault_ref_impl);
     fault_ref_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -193,7 +193,7 @@
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_direction(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(fault_ref)->direction;
@@ -201,18 +201,18 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_fault_ref_set_direction(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_char_t *direction) 
 {
     axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, direction, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, direction, AXIS2_FAILURE);
     
     fault_ref_impl = AXIS2_INTF_TO_IMPL(fault_ref);
     if(fault_ref_impl->direction)
     {
-        AXIS2_FREE((*env)->allocator, fault_ref_impl->direction);
+        AXIS2_FREE(env->allocator, fault_ref_impl->direction);
         fault_ref_impl->direction = NULL;
     }
     fault_ref_impl->direction = AXIS2_STRDUP(direction, env);
@@ -221,7 +221,7 @@
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_msg_label(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(fault_ref)->msg_label;
@@ -229,18 +229,18 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_fault_ref_set_msg_label(axis2_wsdl_fault_ref_t *fault_ref,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_char_t *msg_label) 
 {
     axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, msg_label, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_label, AXIS2_FAILURE);
     
     fault_ref_impl = AXIS2_INTF_TO_IMPL(fault_ref);
     if(fault_ref_impl->msg_label)
     {
-        AXIS2_FREE((*env)->allocator, fault_ref_impl->msg_label);
+        AXIS2_FREE(env->allocator, fault_ref_impl->msg_label);
         fault_ref_impl->msg_label = NULL;
     }
     fault_ref_impl->msg_label = AXIS2_STRDUP(msg_label, env);
@@ -249,7 +249,7 @@
 
 axis2_qname_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_ref(axis2_wsdl_fault_ref_t *fault_ref,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(fault_ref)->ref;
@@ -257,13 +257,13 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wdsl_fault_ref_set_ref(axis2_wsdl_fault_ref_t *fault_ref,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_qname_t *ref) 
 {
     axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, ref, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, ref, AXIS2_FAILURE);
     
     fault_ref_impl = AXIS2_INTF_TO_IMPL(fault_ref);
     if(fault_ref_impl->ref)

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c Wed May 31 08:54:07 2006
@@ -35,42 +35,42 @@
 
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_feature_free (axis2_wsdl_feature_t *wsdl_feature,
-									axis2_env_t **env);
+									const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_feature_get_name(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_feature_set_name(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *name);
 
 axis2_bool_t AXIS2_CALL
 axis2_wsdl_feature_is_required(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_feature_set_required(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_bool_t required);
                                 
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_feature_t * AXIS2_CALL 
-axis2_wsdl_feature_create (axis2_env_t **env)
+axis2_wsdl_feature_create (const axis2_env_t *env)
 {
     axis2_wsdl_feature_impl_t *wsdl_feature_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
-	wsdl_feature_impl = (axis2_wsdl_feature_impl_t *) AXIS2_MALLOC((*env)->allocator,
+	wsdl_feature_impl = (axis2_wsdl_feature_impl_t *) AXIS2_MALLOC(env->allocator,
 			sizeof(axis2_wsdl_feature_impl_t));
 	
 	
 	if(NULL == wsdl_feature_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
     
@@ -83,16 +83,16 @@
     if(NULL == wsdl_feature_impl->wsdl_feature.wsdl_component)
     {
         axis2_wsdl_feature_free(&(wsdl_feature_impl->wsdl_feature), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }    
     
 	wsdl_feature_impl->wsdl_feature.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_feature_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_feature_ops_t));
 	if(NULL == wsdl_feature_impl->wsdl_feature.ops)
     {
         axis2_wsdl_feature_free(&(wsdl_feature_impl->wsdl_feature), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -113,7 +113,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_feature_free (axis2_wsdl_feature_t *wsdl_feature, 
-                            axis2_env_t **env)
+                            const axis2_env_t *env)
 {
     axis2_wsdl_feature_impl_t *feature_impl = NULL;
     
@@ -122,11 +122,11 @@
     feature_impl = AXIS2_INTF_TO_IMPL(wsdl_feature);
     
 	if(NULL != wsdl_feature->ops)
-        AXIS2_FREE((*env)->allocator, wsdl_feature->ops);
+        AXIS2_FREE(env->allocator, wsdl_feature->ops);
     
     if(NULL != feature_impl->name)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->name);
+        AXIS2_FREE(env->allocator, feature_impl->name);
         feature_impl->name = NULL;
     }
     
@@ -136,7 +136,7 @@
         wsdl_feature->wsdl_component = NULL;
     }
     
-    AXIS2_FREE((*env)->allocator, feature_impl);
+    AXIS2_FREE(env->allocator, feature_impl);
     feature_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -144,7 +144,7 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_feature_get_name(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(wsdl_feature)->name;
@@ -152,25 +152,25 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_feature_set_name(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *name) 
 {
     axis2_wsdl_feature_impl_t *feature_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, name, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
     
     feature_impl = AXIS2_INTF_TO_IMPL(wsdl_feature);
     
     if(feature_impl->name)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->name);
+        AXIS2_FREE(env->allocator, feature_impl->name);
         feature_impl->name = NULL;
     }
     feature_impl->name = AXIS2_STRDUP(name, env);
     if(!feature_impl->name)
     {
-        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;
     }
     return AXIS2_SUCCESS;
@@ -178,7 +178,7 @@
 
 axis2_bool_t AXIS2_CALL
 axis2_wsdl_feature_is_required(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     return AXIS2_INTF_TO_IMPL(wsdl_feature)->required;
@@ -186,7 +186,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_feature_set_required(axis2_wsdl_feature_t *wsdl_feature,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_bool_t required) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c Wed May 31 08:54:07 2006
@@ -35,40 +35,40 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_import_free (axis2_wsdl_import_t *wsdl_import,
-									axis2_env_t **env);
+									const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_import_get_namespace(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_import_set_namespace(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *namespace);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_import_get_location(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_import_set_location(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *location);
                                 
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_import_t * AXIS2_CALL 
-axis2_wsdl_import_create (axis2_env_t **env)
+axis2_wsdl_import_create (const axis2_env_t *env)
 {
     axis2_wsdl_import_impl_t *wsdl_import_impl = NULL;
     
     AXIS2_ENV_CHECK(env, NULL);
     
-    wsdl_import_impl = (axis2_wsdl_import_impl_t *) AXIS2_MALLOC((*env)->allocator,
+    wsdl_import_impl = (axis2_wsdl_import_impl_t *) AXIS2_MALLOC(env->allocator,
         sizeof(axis2_wsdl_import_impl_t));
     if(NULL == wsdl_import_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
     wsdl_import_impl->namespace = NULL;
@@ -80,16 +80,16 @@
     if(NULL == wsdl_import_impl->wsdl_import.wsdl_component)
     {
         axis2_wsdl_import_free(&(wsdl_import_impl->wsdl_import), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }    
     
 	wsdl_import_impl->wsdl_import.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_import_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_import_ops_t));
 	if(NULL == wsdl_import_impl->wsdl_import.ops)
     {
         axis2_wsdl_import_free(&(wsdl_import_impl->wsdl_import), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -110,7 +110,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_import_free (axis2_wsdl_import_t *wsdl_import, 
-                            axis2_env_t **env)
+                            const axis2_env_t *env)
 {
     axis2_wsdl_import_impl_t *import_impl = NULL;
     
@@ -119,17 +119,17 @@
     import_impl = AXIS2_INTF_TO_IMPL(wsdl_import);
     
 	if(NULL != wsdl_import->ops)
-        AXIS2_FREE((*env)->allocator, wsdl_import->ops);
+        AXIS2_FREE(env->allocator, wsdl_import->ops);
     
     if(NULL != import_impl->namespace)
     {
-        AXIS2_FREE((*env)->allocator, import_impl->namespace);
+        AXIS2_FREE(env->allocator, import_impl->namespace);
         import_impl->namespace = NULL;
     }
 
     if(NULL != import_impl->location)
     {
-        AXIS2_FREE((*env)->allocator, import_impl->location);
+        AXIS2_FREE(env->allocator, import_impl->location);
         import_impl->location = NULL;
     }
     
@@ -139,7 +139,7 @@
         wsdl_import->wsdl_component = NULL;
     }
     
-    AXIS2_FREE((*env)->allocator, import_impl);
+    AXIS2_FREE(env->allocator, import_impl);
     import_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -147,7 +147,7 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_import_get_namespace(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(wsdl_import)->namespace;
@@ -155,25 +155,25 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_import_set_namespace(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *namespace) 
 {
     axis2_wsdl_import_impl_t *import_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespace, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespace, AXIS2_FAILURE);
     
     import_impl = AXIS2_INTF_TO_IMPL(wsdl_import);
     
     if(import_impl->namespace)
     {
-        AXIS2_FREE((*env)->allocator, import_impl->namespace);
+        AXIS2_FREE(env->allocator, import_impl->namespace);
         import_impl->namespace = NULL;
     }
     import_impl->namespace = AXIS2_STRDUP(namespace, env);
     if(!import_impl->namespace)
     {
-        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;
     }
     return AXIS2_SUCCESS;
@@ -181,7 +181,7 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_import_get_location(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(wsdl_import)->location;
@@ -189,25 +189,25 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_import_set_location(axis2_wsdl_import_t *wsdl_import,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *location) 
 {
     axis2_wsdl_import_impl_t *import_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, location, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, location, AXIS2_FAILURE);
     
     import_impl = AXIS2_INTF_TO_IMPL(wsdl_import);
     
     if(import_impl->location)
     {
-        AXIS2_FREE((*env)->allocator, import_impl->location);
+        AXIS2_FREE(env->allocator, import_impl->location);
         import_impl->location = NULL;
     }
     import_impl->location = AXIS2_STRDUP(location, env);
     if(!import_impl->location)
     {
-        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;
     }
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c Wed May 31 08:54:07 2006
@@ -34,33 +34,33 @@
 
 axis2_status_t AXIS2_CALL
 	axis2_wsdl_include_free (axis2_wsdl_include_t *wsdl_include,
-									axis2_env_t **env);
+									const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_include_get_location(axis2_wsdl_include_t *wsdl_include,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_include_set_location(axis2_wsdl_include_t *wsdl_include,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *location);
                                 
 /************************** End of function prototypes ************************/
 
 axis2_wsdl_include_t * AXIS2_CALL 
-axis2_wsdl_include_create (axis2_env_t **env)
+axis2_wsdl_include_create (const axis2_env_t *env)
 {
     axis2_wsdl_include_impl_t *wsdl_include_impl = NULL;
     
 	AXIS2_ENV_CHECK(env, NULL);
 	
-	wsdl_include_impl = (axis2_wsdl_include_impl_t *) AXIS2_MALLOC((*env)->allocator,
+	wsdl_include_impl = (axis2_wsdl_include_impl_t *) AXIS2_MALLOC(env->allocator,
 			sizeof(axis2_wsdl_include_impl_t));
 	
 	
 	if(NULL == wsdl_include_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }
     
@@ -72,16 +72,16 @@
     if(NULL == wsdl_include_impl->wsdl_include.wsdl_component)
     {
         axis2_wsdl_include_free(&(wsdl_include_impl->wsdl_include), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }    
     
 	wsdl_include_impl->wsdl_include.ops = 
-		AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_include_ops_t));
+		AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_include_ops_t));
 	if(NULL == wsdl_include_impl->wsdl_include.ops)
     {
         axis2_wsdl_include_free(&(wsdl_include_impl->wsdl_include), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -98,7 +98,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_include_free (axis2_wsdl_include_t *wsdl_include, 
-                            axis2_env_t **env)
+                            const axis2_env_t *env)
 {
     axis2_wsdl_include_impl_t *include_impl = NULL;
     
@@ -107,11 +107,11 @@
     include_impl = AXIS2_INTF_TO_IMPL(wsdl_include);
     
 	if(NULL != wsdl_include->ops)
-        AXIS2_FREE((*env)->allocator, wsdl_include->ops);
+        AXIS2_FREE(env->allocator, wsdl_include->ops);
 
     if(NULL != include_impl->location)
     {
-        AXIS2_FREE((*env)->allocator, include_impl->location);
+        AXIS2_FREE(env->allocator, include_impl->location);
         include_impl->location = NULL;
     }
     
@@ -121,7 +121,7 @@
         wsdl_include->wsdl_component = NULL;
     }
     
-    AXIS2_FREE((*env)->allocator, include_impl);
+    AXIS2_FREE(env->allocator, include_impl);
     include_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -129,7 +129,7 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_include_get_location(axis2_wsdl_include_t *wsdl_include,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(wsdl_include)->location;
@@ -137,25 +137,25 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_include_set_location(axis2_wsdl_include_t *wsdl_include,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *location) 
 {
     axis2_wsdl_include_impl_t *include_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, location, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, location, AXIS2_FAILURE);
     
     include_impl = AXIS2_INTF_TO_IMPL(wsdl_include);
     
     if(include_impl->location)
     {
-        AXIS2_FREE((*env)->allocator, include_impl->location);
+        AXIS2_FREE(env->allocator, include_impl->location);
         include_impl->location = NULL;
     }
     include_impl->location = AXIS2_STRDUP(location, env);
     if(!include_impl->location)
     {
-        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;
     }
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c Wed May 31 08:54:07 2006
@@ -52,96 +52,96 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_free (axis2_wsdl_interface_t *wsdl_interface, 
-                        axis2_env_t **env);	
+                        const axis2_env_t *env);	
 
 axis2_hash_t *AXIS2_CALL
 axis2_wsdl_interface_get_defined_ops(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env);
+                                            const axis2_env_t *env);
 
 axis2_linked_list_t *AXIS2_CALL
 axis2_wsdl_interface_get_faults(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env);
+                                    const axis2_env_t *env);
 
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_interface_get_name(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL
 axis2_wsdl_interface_get_ops(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env);
+                                    const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_wsdl_interface_get_op(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *nc_name);
 
 axis2_hash_t *AXIS2_CALL
 axis2_wsdl_interface_get_super_interfaces(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env);
+                                            const axis2_env_t *env);
 
 axis2_wsdl_interface_t *AXIS2_CALL
 axis2_wsdl_interface_get_super_interface(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_qname_t *qname);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_interface_get_target_namespace(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env);
+                                            const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_faults(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_linked_list_t *list);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_name(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_qname_t *qName);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_ops(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env,
+                                    const axis2_env_t *env,
                                     axis2_hash_t *list);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_op(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env,
+                                    const axis2_env_t *env,
                                     void *op);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_super_interfaces(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_hash_t *list);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_add_super_interface(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_wsdl_interface_t *interface_component);
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_interface_get_style_default(axis2_wsdl_interface_t *wsdl_interface,
-                                        axis2_env_t **env);
+                                        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_style_default(axis2_wsdl_interface_t *wsdl_interface,
-                                        axis2_env_t **env,
+                                        const axis2_env_t *env,
                                         axis2_char_t *style_default);
 
 /************************* End of function headers ****************************/	
 
 axis2_wsdl_interface_t * AXIS2_CALL
-axis2_wsdl_interface_create (axis2_env_t **env)
+axis2_wsdl_interface_create (const axis2_env_t *env)
 {
     axis2_wsdl_interface_impl_t *wsdl_interface_impl = NULL;
     
     AXIS2_ENV_CHECK(env, NULL);
     
-	wsdl_interface_impl = (axis2_wsdl_interface_impl_t *) AXIS2_MALLOC ((*env)->
+	wsdl_interface_impl = (axis2_wsdl_interface_impl_t *) AXIS2_MALLOC (env->
         allocator, sizeof (axis2_wsdl_interface_impl_t));
      
 	if(NULL == wsdl_interface_impl)
 	{
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
 	}
     
@@ -159,7 +159,7 @@
 	if(NULL == wsdl_interface_impl->wsdl_interface.extensible_component)
 	{
         axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;        
 	}    
     
@@ -167,7 +167,7 @@
 	if(NULL == wsdl_interface_impl->faults)
 	{
         axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;		
 	}
 
@@ -175,7 +175,7 @@
 	if(NULL == wsdl_interface_impl->super_interfaces)
 	{
         axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;		
 	}
     
@@ -183,16 +183,16 @@
 	if(NULL == wsdl_interface_impl->ops)
 	{
         axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;		
 	}  
     
-    wsdl_interface_impl->wsdl_interface.ops = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_interface_impl->wsdl_interface.ops = AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_wsdl_interface_ops_t));
 	if(NULL == wsdl_interface_impl->wsdl_interface.ops)
 	{
         axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
-		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+		AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
 	}
 	
@@ -254,7 +254,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_interface_free (
                         axis2_wsdl_interface_t *wsdl_interface, 
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_wsdl_interface_impl_t *wsdl_interface_impl = NULL;
     
@@ -263,7 +263,7 @@
     
 	if(wsdl_interface->ops)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_interface->ops);
+        AXIS2_FREE(env->allocator, wsdl_interface->ops);
         wsdl_interface->ops = NULL;
     }
     
@@ -303,7 +303,7 @@
     
     if(wsdl_interface_impl->style_default)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_interface_impl->style_default);
+        AXIS2_FREE(env->allocator, wsdl_interface_impl->style_default);
         wsdl_interface_impl->style_default = NULL;
     }
     
@@ -315,7 +315,7 @@
     }
     
     if(wsdl_interface_impl)
-        AXIS2_FREE((*env)->allocator, wsdl_interface_impl);
+        AXIS2_FREE(env->allocator, wsdl_interface_impl);
     wsdl_interface_impl = NULL;
     
 	return AXIS2_SUCCESS;
@@ -323,28 +323,28 @@
 
 axis2_hash_t *AXIS2_CALL
 axis2_wsdl_interface_get_defined_ops(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     return AXIS2_INTF_TO_IMPL(wsdl_interface)->ops;
 }
 
 axis2_linked_list_t *AXIS2_CALL
 axis2_wsdl_interface_get_faults(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env) 
+                                    const axis2_env_t *env) 
 {
     return AXIS2_INTF_TO_IMPL(wsdl_interface)->faults;
 }
 
 axis2_hash_t *AXIS2_CALL
 axis2_wsdl_interface_get_ops(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env) 
+                                    const axis2_env_t *env) 
 {
     return AXIS2_INTF_TO_IMPL(wsdl_interface)->ops;
 }
 
 void *AXIS2_CALL
 axis2_wsdl_interface_get_op(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_char_t *nc_name) 
 {
     return axis2_hash_get(AXIS2_INTF_TO_IMPL(
@@ -353,21 +353,21 @@
 
 axis2_hash_t *AXIS2_CALL
 axis2_wsdl_interface_get_super_interfaces(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     return AXIS2_INTF_TO_IMPL(wsdl_interface)->super_interfaces;
 }
 
 axis2_wsdl_interface_t *AXIS2_CALL
 axis2_wsdl_interface_get_super_interface(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_qname_t *qname)
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
     axis2_char_t *name = NULL;
 
     AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_PARAM_CHECK((*env)->error, qname, NULL);
+    AXIS2_PARAM_CHECK(env->error, qname, NULL);
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
 
     name = AXIS2_QNAME_TO_STRING(qname, env);
@@ -377,20 +377,20 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_interface_get_target_namespace(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     return AXIS2_QNAME_GET_URI(AXIS2_INTF_TO_IMPL(wsdl_interface)->qname, env);
 }
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_faults(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_linked_list_t *list) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, list, AXIS2_FAILURE);
     
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     
@@ -405,13 +405,13 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_name(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_qname_t *qName) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qName, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qName, AXIS2_FAILURE);
     
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     
@@ -426,20 +426,20 @@
 
 axis2_qname_t *AXIS2_CALL
 axis2_wsdl_interface_get_name(axis2_wsdl_interface_t *wsdl_interface,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     return AXIS2_INTF_TO_IMPL(wsdl_interface)->qname;
 }
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_ops(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env,
+                                    const axis2_env_t *env,
                                     axis2_hash_t *list) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, list, AXIS2_FAILURE);
     
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     if(interface_impl->ops)
@@ -453,7 +453,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_op(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env,
+                                    const axis2_env_t *env,
                                     void *op) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
@@ -461,14 +461,14 @@
     axis2_char_t *op_qname_str = NULL;
         
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, op, AXIS2_FAILURE); 
+    AXIS2_PARAM_CHECK(env->error, op, AXIS2_FAILURE); 
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     
     wsdl_op_qname = AXIS2_WSDL_OP_GET_QNAME(op, env);    
     if (!wsdl_op_qname) 
     {
         /* The Operation name cannot be null (required) */
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_STATE_WSDL_OP, 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_STATE_WSDL_OP, 
             AXIS2_FAILURE);
         return AXIS2_FAILURE;
     }
@@ -482,13 +482,13 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_super_interfaces(axis2_wsdl_interface_t *wsdl_interface,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_hash_t *list) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, list, AXIS2_FAILURE);
     
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     
@@ -503,7 +503,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_add_super_interface(axis2_wsdl_interface_t *wsdl_interface,
-                                    axis2_env_t **env,
+                                    const axis2_env_t *env,
                                     axis2_wsdl_interface_t *interface_component) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
@@ -511,7 +511,7 @@
     axis2_char_t *name = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, interface_component, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, interface_component, AXIS2_FAILURE);
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     
     qname = axis2_wsdl_interface_get_name(interface_component, env);
@@ -529,26 +529,26 @@
 
 axis2_char_t *AXIS2_CALL
 axis2_wsdl_interface_get_style_default(axis2_wsdl_interface_t *wsdl_interface,
-                                        axis2_env_t **env) 
+                                        const axis2_env_t *env) 
 {   
     return AXIS2_INTF_TO_IMPL(wsdl_interface)->style_default;
 }
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_interface_set_style_default(axis2_wsdl_interface_t *wsdl_interface,
-                                        axis2_env_t **env,
+                                        const axis2_env_t *env,
                                         axis2_char_t *style_default) 
 {
     axis2_wsdl_interface_impl_t *interface_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, style_default, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, style_default, AXIS2_FAILURE);
     
     interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
     
     if(interface_impl->style_default)
     {
-        AXIS2_FREE((*env)->allocator, interface_impl->style_default);
+        AXIS2_FREE(env->allocator, interface_impl->style_default);
         interface_impl->style_default = NULL;
     }
     interface_impl->style_default = style_default;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c Wed May 31 08:54:07 2006
@@ -47,49 +47,49 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_msg_ref_free (axis2_wsdl_msg_ref_t *msg_ref,
-                         axis2_env_t **env);
+                         const axis2_env_t *env);
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_direction(axis2_wsdl_msg_ref_t *msg_ref,
-                                 axis2_env_t **env);
+                                 const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_msg_ref_set_direction(axis2_wsdl_msg_ref_t *msg_ref,
-                                 axis2_env_t **env,
+                                 const axis2_env_t *env,
                                  axis2_char_t *direction);
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
-                                 axis2_env_t **env);
+                                 const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_msg_ref_set_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
-                                 axis2_env_t **env,
+                                 const axis2_env_t *env,
                                  axis2_char_t *msg_label);
                                             
 axis2_qname_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_element(axis2_wsdl_msg_ref_t *msg_ref,
-                               axis2_env_t **env);
+                               const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_wdsl_msg_ref_set_element(axis2_wsdl_msg_ref_t *msg_ref,
-                               axis2_env_t **env,
+                               const axis2_env_t *env,
                                 axis2_qname_t *element);                                           
 
 /************************** End of function prototypes ************************/
 
 AXIS2_DECLARE(axis2_wsdl_msg_ref_t *)
-axis2_wsdl_msg_ref_create (axis2_env_t **env)
+axis2_wsdl_msg_ref_create (const axis2_env_t *env)
 {
     axis2_wsdl_msg_ref_impl_t *msg_ref_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);
 	
-    msg_ref_impl =  (axis2_wsdl_msg_ref_impl_t *) AXIS2_MALLOC((*env)->allocator,
+    msg_ref_impl =  (axis2_wsdl_msg_ref_impl_t *) AXIS2_MALLOC(env->allocator,
             sizeof(axis2_wsdl_msg_ref_impl_t));
 	
     if(NULL == msg_ref_impl)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); 
         return NULL;
     }	
     msg_ref_impl->msg_label = NULL;
@@ -101,15 +101,15 @@
     if(NULL == msg_ref_impl->msg_ref.extensible_component)
     {
         AXIS2_WSDL_MSG_REF_FREE(&(msg_ref_impl->msg_ref), env);
-	AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+	AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     msg_ref_impl->msg_ref.ops = 
-        AXIS2_MALLOC ((*env)->allocator, sizeof(axis2_wsdl_msg_ref_ops_t));
+        AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_msg_ref_ops_t));
     if(NULL == msg_ref_impl->msg_ref.ops)
     {
         AXIS2_WSDL_MSG_REF_FREE(&(msg_ref_impl->msg_ref), env);
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     
@@ -131,7 +131,7 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_msg_ref_free (axis2_wsdl_msg_ref_t *msg_ref, 
-                            axis2_env_t **env)
+                            const axis2_env_t *env)
 {
     axis2_wsdl_msg_ref_impl_t *msg_ref_impl = NULL;
 
@@ -140,15 +140,15 @@
     
     if(NULL != msg_ref->ops)
     {
-        AXIS2_FREE((*env)->allocator, msg_ref->ops);
+        AXIS2_FREE(env->allocator, msg_ref->ops);
     }
     if(NULL != msg_ref_impl->msg_label)
     {
-        AXIS2_FREE((*env)->allocator, msg_ref_impl->msg_label);
+        AXIS2_FREE(env->allocator, msg_ref_impl->msg_label);
     }
     if(NULL != msg_ref_impl->msg_label)
     {
-        AXIS2_FREE((*env)->allocator, msg_ref_impl->msg_label);
+        AXIS2_FREE(env->allocator, msg_ref_impl->msg_label);
     }
     if(NULL != msg_ref_impl->element)
     {
@@ -160,14 +160,14 @@
     }
     if(msg_ref_impl)
     {
-    	AXIS2_FREE((*env)->allocator, msg_ref_impl);
+    	AXIS2_FREE(env->allocator, msg_ref_impl);
     }
     return AXIS2_SUCCESS;
 }
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_direction(axis2_wsdl_msg_ref_t *msg_ref,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_ref)->direction;
@@ -175,11 +175,11 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_msg_ref_set_direction(axis2_wsdl_msg_ref_t *msg_ref,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_char_t *direction) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, direction, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, direction, AXIS2_FAILURE);
 
     AXIS2_INTF_TO_IMPL(msg_ref)->direction = direction;
     return AXIS2_SUCCESS;
@@ -187,7 +187,7 @@
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
-                                            axis2_env_t **env) 
+                                            const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_ref)->msg_label;
@@ -195,11 +195,11 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wsdl_msg_ref_set_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
-                                            axis2_env_t **env,
+                                            const axis2_env_t *env,
                                             axis2_char_t *msg_label) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, msg_label, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_label, AXIS2_FAILURE);
 
     AXIS2_INTF_TO_IMPL(msg_ref)->msg_label = msg_label;
     return AXIS2_SUCCESS;
@@ -207,7 +207,7 @@
 
 axis2_qname_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_element(axis2_wsdl_msg_ref_t *msg_ref,
-                                axis2_env_t **env) 
+                                const axis2_env_t *env) 
 {
     AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_ref)->element;
@@ -215,11 +215,11 @@
 
 axis2_status_t AXIS2_CALL
 axis2_wdsl_msg_ref_set_element(axis2_wsdl_msg_ref_t *msg_ref,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_qname_t *element) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, element, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, element, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_ref)->element = AXIS2_QNAME_CLONE(element, env);
     return AXIS2_SUCCESS;
 }



---------------------------------------------------------------------
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