You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/06/05 07:43:16 UTC
svn commit: r411678 - in /webservices/axis2/trunk/c: include/
modules/core/addr/ modules/core/clientapi/ modules/core/context/
modules/core/description/ modules/core/engine/ modules/core/receivers/
modules/core/transport/http/ util/include/ util/src/
Author: samisa
Date: Sun Jun 4 22:43:14 2006
New Revision: 411678
URL: http://svn.apache.org/viewvc?rev=411678&view=rev
Log:
more -Wwrite-strings related fixes
Modified:
webservices/axis2/trunk/c/include/axis2_endpoint_ref.h
webservices/axis2/trunk/c/include/axis2_http_header.h
webservices/axis2/trunk/c/include/axis2_http_simple_request.h
webservices/axis2/trunk/c/include/axis2_http_simple_response.h
webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
webservices/axis2/trunk/c/include/axis2_mep_client.h
webservices/axis2/trunk/c/include/axis2_msg_ctx.h
webservices/axis2/trunk/c/include/axis2_msg_recv.h
webservices/axis2/trunk/c/include/axis2_op.h
webservices/axis2/trunk/c/include/axis2_op_client.h
webservices/axis2/trunk/c/include/axis2_op_ctx.h
webservices/axis2/trunk/c/include/axis2_options.h
webservices/axis2/trunk/c/include/axis2_relates_to.h
webservices/axis2/trunk/c/modules/core/addr/endpoint_ref.c
webservices/axis2/trunk/c/modules/core/addr/relates_to.c
webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c
webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h
webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
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
webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
webservices/axis2/trunk/c/modules/core/context/op_ctx.c
webservices/axis2/trunk/c/modules/core/description/op.c
webservices/axis2/trunk/c/modules/core/engine/axis2_engine.h
webservices/axis2/trunk/c/modules/core/engine/engine.c
webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
webservices/axis2/trunk/c/modules/core/transport/http/http_header.c
webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c
webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c
webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
webservices/axis2/trunk/c/util/include/axis2_utils.h
webservices/axis2/trunk/c/util/src/utils.c
Modified: webservices/axis2/trunk/c/include/axis2_endpoint_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_endpoint_ref.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_endpoint_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_endpoint_ref.h Sun Jun 4 22:43:14 2006
@@ -221,7 +221,7 @@
*/
AXIS2_EXTERN axis2_endpoint_ref_t* AXIS2_CALL
axis2_endpoint_ref_create(const axis2_env_t *env,
- axis2_char_t *address);
+ const axis2_char_t *address);
#define AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env) \
((endpoint_ref)->ops->get_address(endpoint_ref, env))
Modified: webservices/axis2/trunk/c/include/axis2_http_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_header.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_header.h Sun Jun 4 22:43:14 2006
@@ -71,8 +71,10 @@
AXIS2_EXTERN axis2_http_header_t * AXIS2_CALL
-axis2_http_header_create (const axis2_env_t *env, axis2_char_t *name,
- axis2_char_t *value);
+axis2_http_header_create (const axis2_env_t *env,
+ const axis2_char_t *name,
+ const axis2_char_t *value);
+
AXIS2_EXTERN axis2_http_header_t * AXIS2_CALL AXIS2_CALL
axis2_http_header_create_by_str (const axis2_env_t *env, axis2_char_t *str);
/************************** Start of function macros **************************/
Modified: webservices/axis2/trunk/c/include/axis2_http_simple_request.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_simple_request.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_simple_request.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_simple_request.h Sun Jun 4 22:43:14 2006
@@ -62,7 +62,8 @@
axis2_bool_t (AXIS2_CALL *contains_header)
(axis2_http_simple_request_t *simple_request,
- const axis2_env_t *env, axis2_char_t *name);
+ const axis2_env_t *env,
+ const axis2_char_t *name);
axis2_array_list_t* (AXIS2_CALL *get_headers)
(axis2_http_simple_request_t *simple_request,
@@ -80,11 +81,11 @@
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env, axis2_http_header_t *header);
- axis2_char_t* (AXIS2_CALL *get_content_type)
+ const axis2_char_t* (AXIS2_CALL *get_content_type)
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env);
- axis2_char_t* (AXIS2_CALL *get_charset)
+ const axis2_char_t* (AXIS2_CALL *get_charset)
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env);
Modified: webservices/axis2/trunk/c/include/axis2_http_simple_response.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_simple_response.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_simple_response.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_simple_response.h Sun Jun 4 22:43:14 2006
@@ -77,7 +77,7 @@
axis2_bool_t (AXIS2_CALL *
contains_header)(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env,
- axis2_char_t *name);
+ const axis2_char_t *name);
axis2_array_list_t* (AXIS2_CALL *
get_headers)(axis2_http_simple_response_t *simple_response,
@@ -86,7 +86,7 @@
axis2_http_header_t* (AXIS2_CALL *
get_first_header)(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env,
- axis2_char_t *str);
+ const axis2_char_t *str);
axis2_status_t (AXIS2_CALL *
remove_headers)(axis2_http_simple_response_t *simple_response,
@@ -104,7 +104,7 @@
axis2_http_header_t** headers,
axis2_ssize_t array_size);
- axis2_char_t* (AXIS2_CALL *
+ const axis2_char_t* (AXIS2_CALL *
get_charset)(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env);
@@ -112,7 +112,7 @@
get_content_length)(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env);
- axis2_char_t* (AXIS2_CALL *
+ const axis2_char_t* (AXIS2_CALL *
get_content_type)(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env);
Modified: webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_transport_utils.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_transport_utils.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_transport_utils.h Sun Jun 4 22:43:14 2006
@@ -60,24 +60,31 @@
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_http_transport_utils_process_http_post_request
- (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *in_stream, axis2_stream_t *out_stream,
- axis2_char_t *content_type, int content_length,
+ (const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx,
+ axis2_stream_t *in_stream,
+ axis2_stream_t *out_stream,
+ const axis2_char_t *content_type,
+ const int content_length,
axis2_char_t *soap_action_header,
- axis2_char_t *request_uri);
+ const axis2_char_t *request_uri);
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
axis2_http_transport_utils_process_http_get_request
- (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *in_stream, axis2_stream_t *out_stream,
- axis2_char_t *content_type,
+ (const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx,
+ axis2_stream_t *in_stream,
+ axis2_stream_t *out_stream,
+ const axis2_char_t *content_type,
axis2_char_t *soap_action_header,
- axis2_char_t *request_uri, axis2_conf_ctx_t *conf_ctx,
+ const axis2_char_t *request_uri,
+ axis2_conf_ctx_t *conf_ctx,
axis2_hash_t *request_params);
AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
axis2_http_transport_utils_create_envelope_from_get_request
- (const axis2_env_t *env, axis2_char_t *request_uri,
+ (const axis2_env_t *env,
+ const axis2_char_t *request_uri,
axis2_hash_t *request_params);
AXIS2_EXTERN axis2_om_stax_builder_t* AXIS2_CALL
@@ -112,7 +119,8 @@
AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
axis2_http_transport_utils_create_soap_msg(const axis2_env_t *env,
- axis2_msg_ctx_t *msg_ctx, axis2_char_t *soap_ns_uri);
+ axis2_msg_ctx_t *msg_ctx,
+ const axis2_char_t *soap_ns_uri);
/** @} */
Modified: webservices/axis2/trunk/c/include/axis2_mep_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_mep_client.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_mep_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_mep_client.h Sun Jun 4 22:43:14 2006
@@ -151,7 +151,7 @@
AXIS2_EXTERN axis2_mep_client_t* AXIS2_CALL axis2_mep_client_create(const axis2_env_t *env,
axis2_svc_ctx_t *svc_ctx,
- axis2_char_t *mep);
+ const axis2_char_t *mep);
axis2_msg_ctx_t* AXIS2_CALL
axis2_mep_client_two_way_send(const axis2_env_t *env,
Modified: webservices/axis2/trunk/c/include/axis2_msg_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_ctx.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_ctx.h Sun Jun 4 22:43:14 2006
@@ -310,7 +310,7 @@
axis2_status_t (AXIS2_CALL *
set_wsa_action)(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
- axis2_char_t *action_uri);
+ const axis2_char_t *action_uri);
axis2_char_t* (AXIS2_CALL *
get_wsa_action)(struct axis2_msg_ctx *msg_ctx,
@@ -464,7 +464,7 @@
axis2_param_t* (AXIS2_CALL *
get_parameter)(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
- axis2_char_t *key);
+ const axis2_char_t *key);
/**
* This method is to retrive both module configuration parameters and othere paramerts
@@ -514,7 +514,7 @@
axis2_status_t (AXIS2_CALL *
set_property)(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
- axis2_char_t *key,
+ const axis2_char_t *key,
axis2_property_t *value,
axis2_bool_t persistent);
/**
Modified: webservices/axis2/trunk/c/include/axis2_msg_recv.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_recv.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_recv.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_recv.h Sun Jun 4 22:43:14 2006
@@ -176,7 +176,7 @@
axis2_status_t (AXIS2_CALL *
set_scope) (axis2_msg_recv_t *msg_recv,
const axis2_env_t *env,
- axis2_char_t *scope);
+ const axis2_char_t *scope);
/**
Modified: webservices/axis2/trunk/c/include/axis2_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_op.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_op.h Sun Jun 4 22:43:14 2006
@@ -142,7 +142,7 @@
axis2_status_t (AXIS2_CALL *
set_msg_exchange_pattern) (axis2_op_t *op,
const axis2_env_t *env,
- axis2_char_t *pattern);
+ const axis2_char_t *pattern);
axis2_char_t *(AXIS2_CALL *
get_msg_exchange_pattern) (axis2_op_t *op,
Modified: webservices/axis2/trunk/c/include/axis2_op_client.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_op_client.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_op_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_op_client.h Sun Jun 4 22:43:14 2006
@@ -106,7 +106,7 @@
axis2_msg_ctx_t* (AXIS2_CALL *
get_msg_ctx)(struct axis2_op_client *op_client,
const axis2_env_t *env,
- axis2_char_t *message_label);
+ const axis2_char_t *message_label);
/**
* Set the callback to be executed when a message comes into the MEP and the
Modified: webservices/axis2/trunk/c/include/axis2_op_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_op_ctx.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_op_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_op_ctx.h Sun Jun 4 22:43:14 2006
@@ -114,7 +114,7 @@
axis2_msg_ctx_t* (AXIS2_CALL *
get_msg_ctx)(struct axis2_op_ctx *op_ctx,
const axis2_env_t *env,
- axis2_char_t *message_id);
+ const axis2_char_t *message_id);
/**
* Checks to see if the MEP is complete. i.e. whether all the messages that
Modified: webservices/axis2/trunk/c/include/axis2_options.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_options.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_options.h (original)
+++ webservices/axis2/trunk/c/include/axis2_options.h Sun Jun 4 22:43:14 2006
@@ -79,7 +79,7 @@
get_transport_in)(struct axis2_options *options,
const axis2_env_t *env);
- axis2_char_t* (AXIS2_CALL *
+ const axis2_char_t* (AXIS2_CALL *
get_transport_in_protocol)(struct axis2_options *options,
const axis2_env_t *env);
@@ -117,7 +117,7 @@
get_sender_transport_protocol)(struct axis2_options *options,
const axis2_env_t *env);
- axis2_char_t* (AXIS2_CALL *
+ const axis2_char_t* (AXIS2_CALL *
get_soap_version_uri)(struct axis2_options *options,
const axis2_env_t *env);
@@ -220,7 +220,7 @@
void (AXIS2_CALL *
set_property)(struct axis2_options *options,
const axis2_env_t *env,
- axis2_char_t *property_key,
+ const axis2_char_t *property_key,
void *property);
@@ -248,7 +248,7 @@
void (AXIS2_CALL *
set_soap_version_uri)(struct axis2_options *options,
const axis2_env_t *env,
- axis2_char_t *soap_version_uri);
+ const axis2_char_t *soap_version_uri);
void (AXIS2_CALL *
set_timeout_in_milli_seconds)(struct axis2_options *options,
Modified: webservices/axis2/trunk/c/include/axis2_relates_to.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_relates_to.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_relates_to.h (original)
+++ webservices/axis2/trunk/c/include/axis2_relates_to.h Sun Jun 4 22:43:14 2006
@@ -111,8 +111,8 @@
*/
AXIS2_EXTERN axis2_relates_to_t* AXIS2_CALL
axis2_relates_to_create(const axis2_env_t *env,
- axis2_char_t *value,
- axis2_char_t *relationship_type);
+ const axis2_char_t *value,
+ const axis2_char_t *relationship_type);
#define AXIS2_RELATES_TO_GET_VALUE(relates_to, env) \
((relates_to)->ops->get_value(relates_to, env))
Modified: webservices/axis2/trunk/c/modules/core/addr/endpoint_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/addr/endpoint_ref.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/endpoint_ref.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/endpoint_ref.c Sun Jun 4 22:43:14 2006
@@ -179,7 +179,7 @@
axis2_endpoint_ref_t* AXIS2_CALL
axis2_endpoint_ref_create(const axis2_env_t *env,
- axis2_char_t *address)
+ const axis2_char_t *address)
{
axis2_endpoint_ref_impl_t *endpoint_ref_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/addr/relates_to.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/addr/relates_to.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/relates_to.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/relates_to.c Sun Jun 4 22:43:14 2006
@@ -56,8 +56,8 @@
axis2_relates_to_t* AXIS2_CALL
axis2_relates_to_create(const axis2_env_t *env,
- axis2_char_t *value,
- axis2_char_t *relationship_type)
+ const axis2_char_t *value,
+ const axis2_char_t *relationship_type)
{
axis2_relates_to_impl_t *relates_to_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c Sun Jun 4 22:43:14 2006
@@ -57,13 +57,13 @@
axis2_status_t AXIS2_CALL
axis2_listener_manager_make_sure_started(struct axis2_listener_manager *listener_manager,
const axis2_env_t *env,
- axis2_char_t *transport,
+ const axis2_char_t *transport,
axis2_conf_ctx_t *conf_ctx);
axis2_status_t AXIS2_CALL
axis2_listener_manager_stop(struct axis2_listener_manager *listener_manager,
const axis2_env_t *env,
- axis2_char_t *transport);
+ const axis2_char_t *transport);
axis2_endpoint_ref_t* AXIS2_CALL
axis2_listener_manager_reply_to_epr(struct axis2_listener_manager *listener_manager,
@@ -140,7 +140,7 @@
axis2_status_t AXIS2_CALL
axis2_listener_manager_make_sure_started(struct axis2_listener_manager *listener_manager,
const axis2_env_t *env,
- axis2_char_t *transport,
+ const axis2_char_t *transport,
axis2_conf_ctx_t *conf_ctx)
{
axis2_listener_manager_impl_t *listener_manager_impl = NULL;
@@ -259,7 +259,7 @@
axis2_status_t AXIS2_CALL
axis2_listener_manager_stop(struct axis2_listener_manager *listener_manager,
const axis2_env_t *env,
- axis2_char_t *transport)
+ const axis2_char_t *transport)
{
axis2_listener_manager_impl_t *listener_manager_impl = NULL;
axis2_transport_listener_state_t *tl_state = NULL;
Modified: webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.h Sun Jun 4 22:43:14 2006
@@ -57,13 +57,13 @@
axis2_status_t (AXIS2_CALL *
make_sure_started)(struct axis2_listener_manager *listener_manager,
const axis2_env_t *env,
- axis2_char_t *transport,
+ const axis2_char_t *transport,
axis2_conf_ctx_t *conf_ctx);
axis2_status_t (AXIS2_CALL *
stop)(struct axis2_listener_manager *listener_manager,
const axis2_env_t *env,
- axis2_char_t *transport);
+ const axis2_char_t *transport);
/**
* @param serviceName
* @param transport
Modified: webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c Sun Jun 4 22:43:14 2006
@@ -60,7 +60,9 @@
axis2_status_t AXIS2_CALL axis2_mep_client_free (struct axis2_mep_client *mep_client,
const axis2_env_t *env);
-axis2_mep_client_t* AXIS2_CALL axis2_mep_client_create(const axis2_env_t *env, axis2_svc_ctx_t *svc_ctx, axis2_char_t *mep)
+axis2_mep_client_t* AXIS2_CALL axis2_mep_client_create(const axis2_env_t *env,
+ axis2_svc_ctx_t *svc_ctx,
+ const axis2_char_t *mep)
{
axis2_mep_client_impl_t *mep_client_impl = NULL;
@@ -523,7 +525,7 @@
axis2_conf_ctx_t *conf_ctx = NULL;
axis2_op_t *op = NULL;
axis2_soap_envelope_t *response_envelope = NULL;
- axis2_char_t *soap_ns_uri = NULL;
+ const axis2_char_t *soap_ns_uri = NULL;
axis2_property_t *property = NULL;
AXIS2_ENV_CHECK(env, NULL);
@@ -619,7 +621,7 @@
axis2_conf_ctx_t *conf_ctx = NULL;
axis2_op_t *op = NULL;
axis2_soap_envelope_t *response_envelope = NULL;
- axis2_char_t *soap_ns_uri = NULL;
+ const axis2_char_t *soap_ns_uri = NULL;
axis2_property_t *property = NULL;
AXIS2_ENV_CHECK(env, NULL);
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=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Sun Jun 4 22:43:14 2006
@@ -83,7 +83,7 @@
axis2_msg_ctx_t* AXIS2_CALL
axis2_op_client_get_msg_ctx(struct axis2_op_client *op_client,
const axis2_env_t *env,
- axis2_char_t *message_label);
+ const axis2_char_t *message_label);
axis2_status_t AXIS2_CALL
axis2_op_client_set_callback(struct axis2_op_client *op_client,
@@ -265,7 +265,7 @@
axis2_msg_ctx_t* AXIS2_CALL
axis2_op_client_get_msg_ctx(struct axis2_op_client *op_client,
const axis2_env_t *env,
- axis2_char_t *message_label)
+ const axis2_char_t *message_label)
{
axis2_op_client_impl_t *op_client_impl = NULL;
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=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/options.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/options.c Sun Jun 4 22:43:14 2006
@@ -88,7 +88,7 @@
axis2_options_get_transport_in(struct axis2_options *options,
const axis2_env_t *env);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_options_get_transport_in_protocol(struct axis2_options *options,
const axis2_env_t *env);
@@ -122,7 +122,7 @@
axis2_options_get_sender_transport_protocol(struct axis2_options *options,
const axis2_env_t *env);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_options_get_soap_version_uri(struct axis2_options *options,
const axis2_env_t *env);
@@ -197,7 +197,7 @@
void AXIS2_CALL
axis2_options_set_property(struct axis2_options *options,
const axis2_env_t *env,
- axis2_char_t *property_key,
+ const axis2_char_t *property_key,
void *property);
@@ -226,7 +226,7 @@
void AXIS2_CALL
axis2_options_set_soap_version_uri(struct axis2_options *options,
const axis2_env_t *env,
- axis2_char_t *soap_version_uri);
+ const axis2_char_t *soap_version_uri);
void AXIS2_CALL
axis2_options_set_timeout_in_milli_seconds(struct axis2_options *options,
@@ -446,7 +446,7 @@
return options_impl->transport_in;
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_options_get_transport_in_protocol(struct axis2_options *options,
const axis2_env_t *env)
{
@@ -599,7 +599,7 @@
return options_impl->sender_transport_protocol;
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_options_get_soap_version_uri(struct axis2_options *options,
const axis2_env_t *env)
{
@@ -835,7 +835,7 @@
void AXIS2_CALL
axis2_options_set_property(struct axis2_options *options,
const axis2_env_t *env,
- axis2_char_t *property_key,
+ const axis2_char_t *property_key,
void *property)
{
axis2_options_impl_t *options_impl = NULL;
@@ -916,7 +916,7 @@
void AXIS2_CALL
axis2_options_set_soap_version_uri(struct axis2_options *options,
const axis2_env_t *env,
- axis2_char_t *soap_version_uri)
+ const axis2_char_t *soap_version_uri)
{
axis2_options_impl_t *options_impl = NULL;
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=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Sun Jun 4 22:43:14 2006
@@ -834,7 +834,7 @@
axis2_svc_client_impl_t *svc_client_impl = NULL;
axis2_op_client_t *op_client = NULL;
axis2_msg_ctx_t *msg_ctx = NULL;
- axis2_char_t *transport_in_protocol = NULL;
+ const axis2_char_t *transport_in_protocol = NULL;
svc_client_impl = AXIS2_INTF_TO_IMPL(svc_client);
@@ -921,7 +921,7 @@
const axis2_env_t *env)
{
axis2_svc_client_impl_t *svc_client_impl = NULL;
- axis2_char_t *transport_in_protocol = NULL;
+ const axis2_char_t *transport_in_protocol = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -1247,7 +1247,7 @@
static axis2_bool_t axis2_svc_client_fill_soap_envelope(const axis2_env_t *env, axis2_svc_client_impl_t *svc_client_impl,
axis2_msg_ctx_t *msg_ctx, axis2_om_node_t *payload)
{
- axis2_char_t *soap_version_uri;
+ const axis2_char_t *soap_version_uri;
int soap_version;
axis2_soap_envelope_t *envelope = NULL;
Modified: webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/context/msg_ctx.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/msg_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Sun Jun 4 22:43:14 2006
@@ -230,7 +230,7 @@
axis2_status_t AXIS2_CALL
axis2_msg_ctx_set_wsa_action(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
- axis2_char_t *action_uri);
+ const axis2_char_t *action_uri);
axis2_char_t* AXIS2_CALL
axis2_msg_ctx_get_wsa_action(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env);
@@ -307,7 +307,8 @@
axis2_msg_info_headers_t *msg_info_headers);
axis2_param_t* AXIS2_CALL
axis2_msg_ctx_get_parameter(struct axis2_msg_ctx *msg_ctx,
- const axis2_env_t *env, axis2_char_t *key);
+ const axis2_env_t *env,
+ const axis2_char_t *key);
axis2_param_t* AXIS2_CALL
axis2_msg_ctx_get_module_parameter(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
@@ -321,7 +322,7 @@
axis2_status_t AXIS2_CALL
axis2_msg_ctx_set_property(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
- axis2_char_t *key,
+ const axis2_char_t *key,
axis2_property_t *value,
axis2_bool_t persistent);
axis2_qname_t* AXIS2_CALL
@@ -1105,7 +1106,8 @@
}
axis2_status_t AXIS2_CALL axis2_msg_ctx_set_wsa_action(struct axis2_msg_ctx *msg_ctx,
- const axis2_env_t *env, axis2_char_t *action_uri)
+ const axis2_env_t *env,
+ const axis2_char_t *action_uri)
{
axis2_msg_ctx_impl_t *msg_ctx_impl = NULL;
@@ -1400,7 +1402,8 @@
axis2_param_t *AXIS2_CALL axis2_msg_ctx_get_parameter(struct axis2_msg_ctx *msg_ctx,
- const axis2_env_t *env, axis2_char_t *key)
+ const axis2_env_t *env,
+ const axis2_char_t *key)
{
axis2_msg_ctx_impl_t *msg_ctx_impl = NULL;
axis2_param_t *param = NULL;
@@ -1655,7 +1658,7 @@
axis2_status_t AXIS2_CALL axis2_msg_ctx_set_property(struct axis2_msg_ctx *msg_ctx,
const axis2_env_t *env,
- axis2_char_t *key,
+ const axis2_char_t *key,
axis2_property_t *value,
axis2_bool_t persistent)
{
Modified: webservices/axis2/trunk/c/modules/core/context/op_ctx.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/context/op_ctx.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/op_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/op_ctx.c Sun Jun 4 22:43:14 2006
@@ -86,7 +86,7 @@
axis2_msg_ctx_t* AXIS2_CALL
axis2_op_ctx_get_msg_ctx(struct axis2_op_ctx *op_ctx,
const axis2_env_t *env,
- axis2_char_t *messageLabel);
+ const axis2_char_t *messageLabel);
axis2_bool_t AXIS2_CALL
axis2_op_ctx_get_is_complete(struct axis2_op_ctx *op_ctx,
@@ -395,7 +395,7 @@
axis2_msg_ctx_t* AXIS2_CALL
axis2_op_ctx_get_msg_ctx(struct axis2_op_ctx *op_ctx,
const axis2_env_t *env,
- axis2_char_t *message_id)
+ const axis2_char_t *message_id)
{
axis2_op_ctx_impl_t *op_ctx_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/op.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Sun Jun 4 22:43:14 2006
@@ -97,7 +97,7 @@
axis2_status_t AXIS2_CALL
axis2_op_set_msg_exchange_pattern (axis2_op_t *op,
const axis2_env_t *env,
- axis2_char_t *pattern);
+ const axis2_char_t *pattern);
axis2_char_t * AXIS2_CALL
axis2_op_get_msg_exchange_pattern (axis2_op_t *op,
@@ -974,7 +974,7 @@
axis2_status_t AXIS2_CALL
axis2_op_set_msg_exchange_pattern (axis2_op_t *op,
const axis2_env_t *env,
- axis2_char_t *pattern)
+ const axis2_char_t *pattern)
{
axis2_op_impl_t *op_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/engine/axis2_engine.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/axis2_engine.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/axis2_engine.h (original)
+++ webservices/axis2/trunk/c/modules/core/engine/axis2_engine.h Sun Jun 4 22:43:14 2006
@@ -173,7 +173,7 @@
axis2_char_t *soap_namespace);
- axis2_char_t* (AXIS2_CALL *
+ const axis2_char_t* (AXIS2_CALL *
get_receiver_fault_code)(struct axis2_engine *engine,
const axis2_env_t *env,
axis2_char_t *soap_namespace);
Modified: webservices/axis2/trunk/c/modules/core/engine/engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/engine.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/engine.c Sun Jun 4 22:43:14 2006
@@ -103,7 +103,7 @@
axis2_char_t *soap_namespace);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_engine_get_receiver_fault_code(struct axis2_engine *engine,
const axis2_env_t *env,
axis2_char_t *soap_namespace);
@@ -589,7 +589,7 @@
axis2_endpoint_ref_t *reply_to = NULL;
axis2_property_t *property = NULL;
axis2_soap_envelope_t *envelope = NULL;
- axis2_char_t *wsa_action = NULL;
+ const axis2_char_t *wsa_action = NULL;
axis2_char_t *msg_id = NULL;
axis2_relates_to_t *relates_to = NULL;
axis2_char_t *msg_uuid = NULL;
@@ -951,7 +951,7 @@
return NULL;
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_engine_get_receiver_fault_code(struct axis2_engine *engine,
const axis2_env_t *env,
axis2_char_t *soap_namespace)
Modified: webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c Sun Jun 4 22:43:14 2006
@@ -75,7 +75,7 @@
axis2_status_t AXIS2_CALL
axis2_msg_recv_set_scope(axis2_msg_recv_t *msg_recv,
const axis2_env_t *env,
- axis2_char_t *scope);
+ const axis2_char_t *scope);
axis2_char_t * AXIS2_CALL
axis2_msg_recv_get_scope(axis2_msg_recv_t *msg_recv,
@@ -299,7 +299,7 @@
axis2_status_t AXIS2_CALL
axis2_msg_recv_set_scope(axis2_msg_recv_t *msg_recv,
const axis2_env_t *env,
- axis2_char_t *scope)
+ const axis2_char_t *scope)
{
axis2_msg_recv_impl_t *msg_recv_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c Sun Jun 4 22:43:14 2006
@@ -83,7 +83,7 @@
axis2_om_node_t *out_node = NULL;
axis2_status_t status = AXIS2_SUCCESS;
axis2_bool_t skel_invoked = AXIS2_FALSE;
- axis2_char_t *soap_ns = AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI;
+ const axis2_char_t *soap_ns = AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI;
int soap_version = AXIS2_SOAP12;
axis2_om_namespace_t *env_ns = NULL;
@@ -280,9 +280,9 @@
if (status != AXIS2_SUCCESS)
{
/* something went wrong. set a SOAP Fault*/
- axis2_char_t *fault_value_str = "env:Sender";
- axis2_char_t *fault_reason_str = NULL;
- axis2_char_t *err_msg = NULL;
+ const axis2_char_t *fault_value_str = "env:Sender";
+ const axis2_char_t *fault_reason_str = NULL;
+ const axis2_char_t *err_msg = NULL;
if (!skel_invoked)
fault_value_str = "env:Receiver";
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_header.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_header.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_header.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_header.c Sun Jun 4 22:43:14 2006
@@ -53,8 +53,9 @@
/***************************** End of function headers ************************/
AXIS2_EXTERN axis2_http_header_t * AXIS2_CALL AXIS2_CALL
-axis2_http_header_create (const axis2_env_t *env, axis2_char_t *name,
- axis2_char_t *value)
+axis2_http_header_create (const axis2_env_t *env,
+ const axis2_char_t *name,
+ const axis2_char_t *value)
{
axis2_http_header_impl_t *http_header_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c Sun Jun 4 22:43:14 2006
@@ -55,7 +55,8 @@
axis2_bool_t AXIS2_CALL
axis2_http_simple_request_contains_header
(axis2_http_simple_request_t *simple_request,
- const axis2_env_t *env, axis2_char_t *name);
+ const axis2_env_t *env,
+ const axis2_char_t *name);
axis2_array_list_t* AXIS2_CALL
axis2_http_simple_request_get_headers
@@ -77,12 +78,12 @@
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env, axis2_http_header_t *header);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_request_get_content_type
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_request_get_charset
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env);
@@ -280,7 +281,8 @@
axis2_bool_t AXIS2_CALL
axis2_http_simple_request_contains_header
(axis2_http_simple_request_t *simple_request,
- const axis2_env_t *env, axis2_char_t *name)
+ const axis2_env_t *env,
+ const axis2_char_t *name)
{
int i = 0;
axis2_char_t *header_name = NULL;
@@ -435,7 +437,7 @@
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_request_get_content_type
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env)
@@ -451,7 +453,7 @@
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_request_get_charset
(axis2_http_simple_request_t *simple_request,
const axis2_env_t *env)
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c Sun Jun 4 22:43:14 2006
@@ -72,7 +72,8 @@
axis2_bool_t AXIS2_CALL
axis2_http_simple_response_contains_header
(axis2_http_simple_response_t *simple_response,
- const axis2_env_t *env, axis2_char_t *name);
+ const axis2_env_t *env,
+ const axis2_char_t *name);
axis2_array_list_t* AXIS2_CALL
axis2_http_simple_response_get_headers
@@ -82,7 +83,8 @@
axis2_http_header_t* AXIS2_CALL
axis2_http_simple_response_get_first_header
(axis2_http_simple_response_t *simple_response,
- const axis2_env_t *env, axis2_char_t *str);
+ const axis2_env_t *env,
+ const axis2_char_t *str);
axis2_status_t AXIS2_CALL
axis2_http_simple_response_remove_headers
@@ -94,7 +96,7 @@
(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env, axis2_http_header_t* header);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_response_get_charset
(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env);
@@ -104,7 +106,7 @@
(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env);
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_response_get_content_type
(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env);
@@ -391,7 +393,8 @@
axis2_http_header_t* AXIS2_CALL
axis2_http_simple_response_get_first_header
(axis2_http_simple_response_t *simple_response,
- const axis2_env_t *env, axis2_char_t *str)
+ const axis2_env_t *env,
+ const axis2_char_t *str)
{
axis2_http_simple_response_impl_t *simple_response_impl = NULL;
axis2_http_header_t *tmp_header = NULL;
@@ -524,7 +527,7 @@
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_response_get_charset
(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env)
@@ -566,7 +569,7 @@
}
-axis2_char_t* AXIS2_CALL
+const axis2_char_t* AXIS2_CALL
axis2_http_simple_response_get_content_type
(axis2_http_simple_response_t *simple_response,
const axis2_env_t *env)
@@ -684,7 +687,8 @@
axis2_bool_t AXIS2_CALL
axis2_http_simple_response_contains_header
(axis2_http_simple_response_t *simple_response,
- const axis2_env_t *env, axis2_char_t *name)
+ const axis2_env_t *env,
+ const axis2_char_t *name)
{
axis2_char_t *header_name = NULL;
axis2_http_simple_response_impl_t *simple_response_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Sun Jun 4 22:43:14 2006
@@ -40,24 +40,31 @@
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_http_transport_utils_process_http_post_request
- (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *in_stream, axis2_stream_t *out_stream,
- axis2_char_t *content_type, int content_length,
+ (const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx,
+ axis2_stream_t *in_stream,
+ axis2_stream_t *out_stream,
+ const axis2_char_t *content_type,
+ const int content_length,
axis2_char_t *soap_action_header,
- axis2_char_t *request_uri);
+ const axis2_char_t *request_uri);
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
axis2_http_transport_utils_process_http_get_request
- (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *in_stream, axis2_stream_t *out_stream,
- axis2_char_t *content_type,
+ (const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx,
+ axis2_stream_t *in_stream,
+ axis2_stream_t *out_stream,
+ const axis2_char_t *content_type,
axis2_char_t *soap_action_header,
- axis2_char_t *request_uri, axis2_conf_ctx_t *conf_ctx,
+ const axis2_char_t *request_uri,
+ axis2_conf_ctx_t *conf_ctx,
axis2_hash_t *request_params);
AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
axis2_http_transport_utils_create_envelope_from_get_request
- (const axis2_env_t *env, axis2_char_t *request_uri,
+ (const axis2_env_t *env,
+ const axis2_char_t *request_uri,
axis2_hash_t *request_params);
AXIS2_EXTERN axis2_om_stax_builder_t* AXIS2_CALL
@@ -94,25 +101,30 @@
axis2_conf_ctx_t *conf_ctx);
AXIS2_EXTERN axis2_char_t* AXIS2_CALL
axis2_http_transport_utils_get_charset_enc(const axis2_env_t *env,
- axis2_char_t *content_type);
+ const axis2_char_t *content_type);
int AXIS2_CALL
axis2_http_transport_utils_on_data_request(char *buffer, int size, void *ctx);
AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
axis2_http_transport_utils_create_soap_msg(const axis2_env_t *env,
- axis2_msg_ctx_t *msg_ctx, axis2_char_t *soap_ns_uri);
+ axis2_msg_ctx_t *msg_ctx,
+ const axis2_char_t *soap_ns_uri);
AXIS2_EXTERN axis2_char_t* AXIS2_CALL
axis2_http_transport_utils_get_value_from_content_type(const axis2_env_t *env,
- axis2_char_t *content_type, axis2_char_t *key);
+ const axis2_char_t *content_type,
+ const axis2_char_t *key);
/***************************** End of function headers ************************/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
axis2_http_transport_utils_process_http_post_request
- (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *in_stream, axis2_stream_t *out_stream,
- axis2_char_t *content_type, int content_length,
+ (const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx,
+ axis2_stream_t *in_stream,
+ axis2_stream_t *out_stream,
+ const axis2_char_t *content_type,
+ const int content_length,
axis2_char_t *soap_action_header,
- axis2_char_t *request_uri)
+ const axis2_char_t *request_uri)
{
axis2_soap_envelope_t *soap_envelope = NULL;
axis2_soap_builder_t *soap_builder = NULL;
@@ -411,11 +423,14 @@
AXIS2_EXTERN axis2_bool_t AXIS2_CALL
axis2_http_transport_utils_process_http_get_request
- (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *in_stream, axis2_stream_t *out_stream,
- axis2_char_t *content_type,
+ (const axis2_env_t *env,
+ axis2_msg_ctx_t *msg_ctx,
+ axis2_stream_t *in_stream,
+ axis2_stream_t *out_stream,
+ const axis2_char_t *content_type,
axis2_char_t *soap_action_header,
- axis2_char_t *request_uri, axis2_conf_ctx_t *conf_ctx,
+ const axis2_char_t *request_uri,
+ axis2_conf_ctx_t *conf_ctx,
axis2_hash_t *request_params)
{
axis2_soap_envelope_t *soap_envelope = NULL;
@@ -476,7 +491,8 @@
AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
axis2_http_transport_utils_create_envelope_from_get_request
- (const axis2_env_t *env, axis2_char_t *request_uri,
+ (const axis2_env_t *env,
+ const axis2_char_t *request_uri,
axis2_hash_t *request_params)
{
axis2_char_t **values = NULL;
@@ -722,7 +738,7 @@
axis2_hash_t *services_map = NULL;
axis2_hash_t *errorneous_svc_map = NULL;
axis2_char_t *ret = NULL;
- axis2_char_t *tmp2 = "<h2>Deployed Services</h2>";
+ axis2_char_t *tmp2 = (axis2_char_t *)"<h2>Deployed Services</h2>";
axis2_hash_index_t *hi = NULL;
axis2_bool_t svcs_exists = AXIS2_FALSE;
@@ -836,7 +852,7 @@
AXIS2_EXTERN axis2_char_t* AXIS2_CALL
axis2_http_transport_utils_get_charset_enc(const axis2_env_t *env,
- axis2_char_t *content_type)
+ const axis2_char_t *content_type)
{
axis2_char_t *tmp = NULL;
axis2_char_t *tmp_content_type = NULL;
@@ -955,10 +971,11 @@
AXIS2_EXTERN axis2_soap_envelope_t* AXIS2_CALL
axis2_http_transport_utils_create_soap_msg(const axis2_env_t *env,
- axis2_msg_ctx_t *msg_ctx, axis2_char_t *soap_ns_uri)
+ axis2_msg_ctx_t *msg_ctx,
+ const axis2_char_t *soap_ns_uri)
{
axis2_op_ctx_t *op_ctx = NULL;
- axis2_char_t *char_set_enc = NULL;
+ const axis2_char_t *char_set_enc = NULL;
axis2_char_t *content_type = NULL;
axis2_stream_t *in_stream = NULL;
axis2_callback_info_t *callback_ctx = NULL;
@@ -1133,7 +1150,8 @@
AXIS2_EXTERN axis2_char_t* AXIS2_CALL
axis2_http_transport_utils_get_value_from_content_type(const axis2_env_t *env,
- axis2_char_t *content_type, axis2_char_t *key)
+ const axis2_char_t *content_type,
+ const axis2_char_t *key)
{
axis2_char_t *tmp = NULL;
axis2_char_t *tmp_content_type = NULL;
Modified: webservices/axis2/trunk/c/util/include/axis2_utils.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_utils.h?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_utils.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_utils.h Sun Jun 4 22:43:14 2006
@@ -135,7 +135,7 @@
* @return axis2_char_t ** <code>axis2_char_t **<code>
*/
AXIS2_EXTERN axis2_char_t** AXIS2_CALL
- axis2_parse_request_url_for_svc_and_op(const axis2_env_t *env, axis2_char_t *request);
+ axis2_parse_request_url_for_svc_and_op(const axis2_env_t *env, const axis2_char_t *request);
/** @} */
Modified: webservices/axis2/trunk/c/util/src/utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/utils.c?rev=411678&r1=411677&r2=411678&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/utils.c (original)
+++ webservices/axis2/trunk/c/util/src/utils.c Sun Jun 4 22:43:14 2006
@@ -22,7 +22,7 @@
AXIS2_EXTERN axis2_char_t** AXIS2_CALL
axis2_parse_request_url_for_svc_and_op(const axis2_env_t *env,
- axis2_char_t *request)
+ const axis2_char_t *request)
{
axis2_char_t **ret = NULL;
@@ -33,7 +33,7 @@
ret = AXIS2_MALLOC(env->allocator,
2*(sizeof(axis2_char_t *)));
memset(ret, 0, 2*sizeof(axis2_char_t*));
- tmp = request;
+ tmp = (const axis2_char_t *)request;
while(1)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org