axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r369629 - in /webservices/axis2/trunk/c/modules/core: context/ctx.c engine/conf.c
Date Tue, 17 Jan 2006 02:09:59 GMT
Author: samisa
Date: Mon Jan 16 18:09:53 2006
New Revision: 369629

URL: http://svn.apache.org/viewcvs?rev=369629&view=rev
Log:
More fixes to get the server working. Mainly the pointer handling problems were fixed

Modified:
    webservices/axis2/trunk/c/modules/core/context/ctx.c
    webservices/axis2/trunk/c/modules/core/engine/conf.c

Modified: webservices/axis2/trunk/c/modules/core/context/ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/ctx.c?rev=369629&r1=369628&r2=369629&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/ctx.c Mon Jan 16 18:09:53 2006
@@ -34,6 +34,7 @@
 #define AXIS2_INTF_TO_IMPL(ctx) ((axis2_ctx_impl_t *)ctx)
 
 axis2_char_t* AXIS2_CALL axis2_ctx_get_property(struct axis2_ctx *ctx, axis2_env_t **env,
axis2_char_t *key, axis2_bool_t persistent);
+axis2_status_t AXIS2_CALL axis2_ctx_set_property(struct axis2_ctx *ctx, axis2_env_t **env,
axis2_char_t *key, axis2_status_t *value, axis2_bool_t persistent);
 axis2_hash_t* AXIS2_CALL axis2_ctx_get_non_persistent_map(struct axis2_ctx *ctx, axis2_env_t
**env);
 axis2_hash_t* AXIS2_CALL axis2_ctx_get_persistent_map(struct axis2_ctx *ctx, axis2_env_t
**env);
 axis2_status_t AXIS2_CALL axis2_ctx_free (struct axis2_ctx *ctx, 
@@ -80,6 +81,7 @@
     }
 
     ctx_impl->ctx.ops->get_property = axis2_ctx_get_property;
+    ctx_impl->ctx.ops->set_property = axis2_ctx_set_property;
     ctx_impl->ctx.ops->get_non_persistent_map = axis2_ctx_get_non_persistent_map;
     ctx_impl->ctx.ops->get_persistent_map = axis2_ctx_get_persistent_map;
     ctx_impl->ctx.ops->free = axis2_ctx_free;

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=369629&r1=369628&r2=369629&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Mon Jan 16 18:09:53 2006
@@ -321,6 +321,14 @@
         return NULL;
 	}
     
+    config_impl->svc_grps = axis2_hash_make(env);		
+	if(NULL == config_impl->svc_grps)
+	{
+        axis2_conf_free(&(config_impl->conf), env);
+		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        return NULL;
+	}
+
     config_impl->transports_in = axis2_hash_make(env);		
 	if(NULL == config_impl->transports_in)
 	{



Mime
View raw message