axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r330726 - in /webservices/axis2/trunk/c: include/axis2_parameter_container.h modules/core/description/src/parameter.c modules/core/description/src/parameter_container.c
Date Fri, 04 Nov 2005 06:32:31 GMT
Author: damitha
Date: Thu Nov  3 22:32:22 2005
New Revision: 330726

URL: http://svn.apache.org/viewcvs?rev=330726&view=rev
Log:
minor changes

Modified:
    webservices/axis2/trunk/c/include/axis2_parameter_container.h
    webservices/axis2/trunk/c/modules/core/description/src/parameter.c
    webservices/axis2/trunk/c/modules/core/description/src/parameter_container.c

Modified: webservices/axis2/trunk/c/include/axis2_parameter_container.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_parameter_container.h?rev=330726&r1=330725&r2=330726&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_parameter_container.h (original)
+++ webservices/axis2/trunk/c/include/axis2_parameter_container.h Thu Nov  3 22:32:22 2005
@@ -122,7 +122,7 @@
 /*************************** Function macros **********************************/
 
 #define AXIS2_PARAMETER_CONTAINER_FREE(param_container, env) \
-	((param_container->ops)->free (env, param_container))
+		((param_container->ops)->free (env, param_container))
 
 #define AXIS2_PARAMETER_CONTAINER_ADD_PARAMETER(param_container, env, param) \
 		((param_container->ops)->add_param (param_container, env, param))

Modified: webservices/axis2/trunk/c/modules/core/description/src/parameter.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/parameter.c?rev=330726&r1=330725&r2=330726&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/parameter.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/parameter.c Thu Nov  3 22:32:22
2005
@@ -128,21 +128,28 @@
     return &(parameter_impl->parameter);
 }
 
-axis2_char_t* AXIS2_CALL axis2_parameter_get_name(axis2_param_t *parameter, axis2_env_t **env)
+axis2_char_t* AXIS2_CALL 
+axis2_parameter_get_name(axis2_param_t *parameter, 
+							axis2_env_t **env)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, NULL);
     
     return AXIS2_INTF_TO_IMPL(parameter)->name;
 }
 
-void* AXIS2_CALL axis2_parameter_get_value(axis2_param_t *parameter, axis2_env_t **env)
+void* AXIS2_CALL 
+axis2_parameter_get_value(axis2_param_t *parameter, 
+							axis2_env_t **env)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, NULL);
     
     return AXIS2_INTF_TO_IMPL(parameter)->value;
 }
 
-axis2_status_t AXIS2_CALL axis2_parameter_set_name(axis2_param_t *parameter, axis2_env_t
**env, axis2_char_t *name)
+axis2_status_t AXIS2_CALL 
+axis2_parameter_set_name(axis2_param_t *parameter, 
+							axis2_env_t **env, 
+							axis2_char_t *name)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
@@ -150,7 +157,10 @@
     return AXIS2_SUCCESS;
 }
 
-axis2_status_t AXIS2_CALL axis2_parameter_set_value(axis2_param_t *parameter, axis2_env_t
**env, void *value)
+axis2_status_t AXIS2_CALL 
+axis2_parameter_set_value(axis2_param_t *parameter, 
+							axis2_env_t **env, 
+							void *value)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
@@ -158,14 +168,19 @@
     return AXIS2_SUCCESS;
 }
 
-axis2_bool_t AXIS2_CALL axis2_parameter_is_locked(axis2_param_t *parameter, axis2_env_t **env)
+axis2_bool_t AXIS2_CALL 
+axis2_parameter_is_locked(axis2_param_t *parameter, 
+							axis2_env_t **env)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
     return AXIS2_INTF_TO_IMPL(parameter)->locked;
 }
 
-axis2_status_t AXIS2_CALL axis2_parameter_set_locked(axis2_param_t *parameter, axis2_env_t
**env, axis2_bool_t value)
+axis2_status_t AXIS2_CALL 
+axis2_parameter_set_locked(axis2_param_t *parameter, 
+							axis2_env_t **env, 
+							axis2_bool_t value)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
@@ -173,14 +188,19 @@
     return AXIS2_SUCCESS;
 }
 
-int AXIS2_CALL axis2_parameter_get_parameter_type(axis2_param_t *parameter, axis2_env_t **env)
+int AXIS2_CALL 
+axis2_parameter_get_parameter_type(axis2_param_t *parameter, 
+									axis2_env_t **env)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
     return AXIS2_INTF_TO_IMPL(parameter)->type;
 }
 
-axis2_status_t AXIS2_CALL axis2_parameter_set_parameter_type(axis2_param_t *parameter, axis2_env_t
**env, int type)
+axis2_status_t AXIS2_CALL 
+axis2_parameter_set_parameter_type(axis2_param_t *parameter, 
+									axis2_env_t **env, 
+									int type)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
@@ -189,7 +209,10 @@
 
 }
 
-axis2_status_t AXIS2_CALL axis2_parameter_set_parameter_element(axis2_param_t *parameter,
axis2_env_t **env, axis2_om_node_t *element)
+axis2_status_t AXIS2_CALL 
+axis2_parameter_set_parameter_element(axis2_param_t *parameter, 
+										axis2_env_t **env, 
+										axis2_om_node_t *element)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
@@ -198,14 +221,18 @@
 
 }
 
-axis2_om_node_t* AXIS2_CALL axis2_parameter_get_parameter_element(axis2_param_t *parameter,
axis2_env_t **env)
+axis2_om_node_t* AXIS2_CALL 
+axis2_parameter_get_parameter_element(axis2_param_t *parameter, 
+										axis2_env_t **env)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
     
     return AXIS2_INTF_TO_IMPL(parameter)->parameter_element;
 }
 
-axis2_status_t AXIS2_CALL axis2_parameter_free(axis2_param_t *parameter, axis2_env_t **env)
+axis2_status_t AXIS2_CALL 
+axis2_parameter_free(axis2_param_t *parameter, 
+						axis2_env_t **env)
 {
     AXIS2_FUNC_PARAMETER_CHECK(parameter, env, AXIS2_FAILURE);
 	if(NULL != parameter->ops)

Modified: webservices/axis2/trunk/c/modules/core/description/src/parameter_container.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/parameter_container.c?rev=330726&r1=330725&r2=330726&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/parameter_container.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/parameter_container.c Thu Nov 
3 22:32:22 2005
@@ -24,8 +24,7 @@
 typedef struct axis2_param_container_impl_s
 {
 	axis2_param_container_t param_container;
-    axis2_hash_t *params;
-    axis2_bool_t is_locked;	
+    axis2_hash_t *params;	
 } axis2_param_container_impl_t;
 
 #define AXIS2_INTF_TO_IMPL(param_container) \
@@ -99,7 +98,7 @@
         AXIS2_ERROR_SET_STATUS_CODE((*env)->error, AXIS2_FAILURE);
 		return NULL;			
 	}	
-	param_container_impl->is_locked = AXIS2_FALSE;
+	
 	return &(param_container_impl->param_container);
 }
 



Mime
View raw message