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 2006/07/05 08:06:48 UTC
svn commit: r419172 - in /webservices/axis2/trunk/c: include/axis2_options.h
include/axis2_svc_client.h modules/core/clientapi/op_client.c
modules/core/clientapi/options.c modules/core/clientapi/svc_client.c
Author: samisa
Date: Tue Jul 4 23:06:47 2006
New Revision: 419172
URL: http://svn.apache.org/viewvc?rev=419172&view=rev
Log:
Fixed some warnings
Modified:
webservices/axis2/trunk/c/include/axis2_options.h
webservices/axis2/trunk/c/include/axis2_svc_client.h
webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
webservices/axis2/trunk/c/modules/core/clientapi/options.c
webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
Modified: webservices/axis2/trunk/c/include/axis2_options.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_options.h?rev=419172&r1=419171&r2=419172&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_options.h (original)
+++ webservices/axis2/trunk/c/include/axis2_options.h Tue Jul 4 23:06:47 2006
@@ -149,7 +149,7 @@
void (AXIS2_CALL *
set_parent)(struct axis2_options *options,
const axis2_env_t *env,
- struct axis2_options *parent);
+ const axis2_options_t *parent);
void (AXIS2_CALL *
set_action)(struct axis2_options *options,
Modified: webservices/axis2/trunk/c/include/axis2_svc_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_svc_client.h?rev=419172&r1=419171&r2=419172&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_svc_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_svc_client.h Tue Jul 4 23:06:47 2006
@@ -533,7 +533,7 @@
((svc_client)->ops->get_svc_ctx(svc_client, env))
/** Frees given service client.
- @sa axis2_svc_client_ops#free */
+ @sa axis2_svc_client_ops#free_fn */
#define AXIS2_SVC_CLIENT_FREE(svc_client, env) \
((svc_client)->ops->free_fn(svc_client, env))
Modified: webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c?rev=419172&r1=419171&r2=419172&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Tue Jul 4 23:06:47 2006
@@ -68,12 +68,12 @@
/** public function prototypes */
axis2_status_t AXIS2_CALL
-axis2_op_client_set_options(struct axis2_op_client *op_client,
+axis2_op_client_set_options(axis2_op_client_t *op_client,
const axis2_env_t *env,
- axis2_options_t *options);
+ const axis2_options_t *options);
-axis2_options_t* AXIS2_CALL
-axis2_op_client_get_options(struct axis2_op_client *op_client,
+const axis2_options_t* AXIS2_CALL
+axis2_op_client_get_options(const axis2_op_client_t *op_client,
const axis2_env_t *env);
axis2_status_t AXIS2_CALL
@@ -82,8 +82,8 @@
axis2_msg_ctx_t *mc);
-axis2_msg_ctx_t* AXIS2_CALL
-axis2_op_client_get_msg_ctx(struct axis2_op_client *op_client,
+const axis2_msg_ctx_t* AXIS2_CALL
+axis2_op_client_get_msg_ctx(const axis2_op_client_t *op_client,
const axis2_env_t *env,
const axis2_char_t *message_label);
@@ -195,7 +195,7 @@
axis2_status_t AXIS2_CALL
axis2_op_client_set_options(struct axis2_op_client *op_client,
const axis2_env_t *env,
- axis2_options_t *options)
+ const axis2_options_t *options)
{
axis2_op_client_impl_t *op_client_impl = NULL;
@@ -207,13 +207,13 @@
{
AXIS2_OPTIONS_FREE(op_client_impl->options, env);
}
- op_client_impl->options = options;
+ op_client_impl->options = (axis2_options_t *)options;
return AXIS2_SUCCESS;
}
-axis2_options_t* AXIS2_CALL
-axis2_op_client_get_options(struct axis2_op_client *op_client,
+const axis2_options_t* AXIS2_CALL
+axis2_op_client_get_options(const axis2_op_client_t *op_client,
const axis2_env_t *env)
{
axis2_op_client_impl_t *op_client_impl = NULL;
@@ -264,8 +264,8 @@
}
-axis2_msg_ctx_t* AXIS2_CALL
-axis2_op_client_get_msg_ctx(struct axis2_op_client *op_client,
+const axis2_msg_ctx_t* AXIS2_CALL
+axis2_op_client_get_msg_ctx(const axis2_op_client_t *op_client,
const axis2_env_t *env,
const axis2_char_t *message_label)
{
@@ -331,7 +331,7 @@
}
conf_ctx = AXIS2_SVC_CTX_GET_CONF_CTX(op_client_impl->svc_ctx, env);
- msg_ctx = axis2_op_client_get_msg_ctx(op_client, env,
+ msg_ctx = (axis2_msg_ctx_t *)axis2_op_client_get_msg_ctx(op_client, env,
AXIS2_WSDL_MESSAGE_LABEL_OUT_VALUE);
if (!msg_ctx)
Modified: webservices/axis2/trunk/c/modules/core/clientapi/options.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/options.c?rev=419172&r1=419171&r2=419172&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/options.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/options.c Tue Jul 4 23:06:47 2006
@@ -146,7 +146,7 @@
void AXIS2_CALL
axis2_options_set_parent(struct axis2_options *options,
const axis2_env_t *env,
- struct axis2_options *parent);
+ const axis2_options_t *parent);
void AXIS2_CALL
axis2_options_set_action(struct axis2_options *options,
@@ -697,14 +697,14 @@
void AXIS2_CALL
axis2_options_set_parent(struct axis2_options *options,
const axis2_env_t *env,
- struct axis2_options *parent)
+ const axis2_options_t *parent)
{
axis2_options_impl_t *options_impl = NULL;
/*AXIS2_ENV_CHECK(env, NULL);*/
options_impl = AXIS2_INTF_TO_IMPL(options);
- options_impl->parent = parent;
+ options_impl->parent = (axis2_options_t *)parent;
}
void AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?rev=419172&r1=419171&r2=419172&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Tue Jul 4 23:06:47 2006
@@ -602,7 +602,7 @@
{
axis2_msg_ctx_t *msg_ctx = NULL;
AXIS2_USLEEP(10000);
- msg_ctx = AXIS2_OP_CLIENT_GET_MSG_CTX(svc_client_impl->op_client, env,
+ msg_ctx = (axis2_msg_ctx_t *)AXIS2_OP_CLIENT_GET_MSG_CTX(svc_client_impl->op_client, env,
AXIS2_WSDL_MESSAGE_LABEL_OUT_VALUE);
if (msg_ctx)
{
@@ -678,7 +678,7 @@
AXIS2_OP_CLIENT_ADD_MSG_CTX(op_client, env, msg_ctx);
AXIS2_OP_CLIENT_EXECUTE(op_client, env, AXIS2_TRUE);
- res_msg_ctx = AXIS2_OP_CTX_GET_MSG_CTX(op_client, env, AXIS2_WSDL_MESSAGE_LABEL_IN_VALUE);
+ res_msg_ctx = (axis2_msg_ctx_t *)AXIS2_OP_CTX_GET_MSG_CTX(op_client, env, AXIS2_WSDL_MESSAGE_LABEL_IN_VALUE);
if (!res_msg_ctx)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org