You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/12/22 05:28:26 UTC
svn commit: r358486 - in /webservices/axis2/trunk/c:
include/axis2_msg_recv.h modules/core/engine/src/msg_recv.c
Author: samisa
Date: Wed Dec 21 20:28:20 2005
New Revision: 358486
URL: http://svn.apache.org/viewcvs?rev=358486&view=rev
Log:
Added void* parameter to receieve to help with derived class implemetations to handle state
Modified:
webservices/axis2/trunk/c/include/axis2_msg_recv.h
webservices/axis2/trunk/c/modules/core/engine/src/msg_recv.c
Modified: webservices/axis2/trunk/c/include/axis2_msg_recv.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_msg_recv.h?rev=358486&r1=358485&r2=358486&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_recv.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_recv.h Wed Dec 21 20:28:20 2005
@@ -65,7 +65,8 @@
axis2_status_t (AXIS2_CALL *receive) (axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- struct axis2_msg_ctx *msg_ctx);
+ struct axis2_msg_ctx *msg_ctx,
+ void* derived);
axis2_status_t (AXIS2_CALL *invoke_in_business_logic) (axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
struct axis2_msg_ctx *in_msg_ctx);
@@ -93,8 +94,8 @@
/************************** Start of function macros **************************/
#define AXIS2_MSG_RECV_FREE(msg_recv, env) (msg_recv->ops->free (msg_recv, env))
-#define AXIS2_MSG_RECV_RECEIVE(msg_recv, env, msg_ctx) \
- (msg_recv->ops->receive (msg_recv, env, msg_ctx))
+#define AXIS2_MSG_RECV_RECEIVE(msg_recv, env, msg_ctx, derived) \
+ (msg_recv->ops->receive (msg_recv, env, msg_ctx, derived))
#define AXIS2_MSG_RECV_SET_IN_ONLY(msg_recv, env, in_only) \
(msg_recv->ops->set_in_only(msg_recv, env, in_only))
Modified: webservices/axis2/trunk/c/modules/core/engine/src/msg_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/src/msg_recv.c?rev=358486&r1=358485&r2=358486&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/src/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/src/msg_recv.c Wed Dec 21 20:28:20 2005
@@ -36,7 +36,8 @@
axis2_status_t AXIS2_CALL
axis2_msg_recv_receive (axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- struct axis2_msg_ctx *msg_ctx);
+ struct axis2_msg_ctx *msg_ctx,
+ void *derived);
/************************* End of function headers ****************************/
@@ -89,9 +90,10 @@
}
axis2_status_t AXIS2_CALL
-axis2_msg_receive (axis2_msg_recv_t *msg_recv,
+axis2_msg_recv_receive (axis2_msg_recv_t *msg_recv,
axis2_env_t **env,
- struct axis2_msg_ctx *msg_ctx)
+ struct axis2_msg_ctx *msg_ctx,
+ void *derived)
{
return AXIS2_SUCCESS;
}