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/06 12:42:02 UTC

svn commit: r412071 [1/2] - in /webservices/axis2/trunk/c: axiom/include/ axiom/src/soap/ include/ modules/core/addr/ modules/core/clientapi/ modules/core/deployment/ modules/core/description/ modules/core/engine/ modules/core/transport/http/ modules/c...

Author: samisa
Date: Tue Jun  6 03:41:58 2006
New Revision: 412071

URL: http://svn.apache.org/viewvc?rev=412071&view=rev
Log:
Fixing more warnings in the code, Mainly -Wwrite-strings related stuff

Modified:
    webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h
    webservices/axis2/trunk/c/axiom/src/soap/soap_header.c
    webservices/axis2/trunk/c/include/axis2_conf.h
    webservices/axis2/trunk/c/include/axis2_http_header.h
    webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h
    webservices/axis2/trunk/c/include/axis2_http_request_line.h
    webservices/axis2/trunk/c/include/axis2_http_response_writer.h
    webservices/axis2/trunk/c/include/axis2_http_server.h
    webservices/axis2/trunk/c/include/axis2_http_status_line.h
    webservices/axis2/trunk/c/include/axis2_msg_info_headers.h
    webservices/axis2/trunk/c/include/axis2_op.h
    webservices/axis2/trunk/c/include/axis2_phase_rule.h
    webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h
    webservices/axis2/trunk/c/include/axis2_stub.h
    webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h
    webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h
    webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h
    webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c
    webservices/axis2/trunk/c/modules/core/clientapi/stub.c
    webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
    webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c
    webservices/axis2/trunk/c/modules/core/deployment/axis2_arch_file_data.h
    webservices/axis2/trunk/c/modules/core/deployment/axis2_conf_init.h
    webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h
    webservices/axis2/trunk/c/modules/core/deployment/conf_init.c
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
    webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
    webservices/axis2/trunk/c/modules/core/description/op.c
    webservices/axis2/trunk/c/modules/core/description/phase_rule.c
    webservices/axis2/trunk/c/modules/core/engine/conf.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_header.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
    webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c
    webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
    webservices/axis2/trunk/c/modules/core/util/axis2_core_utils.h
    webservices/axis2/trunk/c/modules/core/util/core_utils.c
    webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
    webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
    webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c
    webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c
    webservices/axis2/trunk/c/test/core/addr/test_addr.c
    webservices/axis2/trunk/c/test/core/description/test_description.c
    webservices/axis2/trunk/c/test/core/transport/http/test_http_transport.c
    webservices/axis2/trunk/c/test/unit/core/description/test_svc.c
    webservices/axis2/trunk/c/test/unit/main.c
    webservices/axis2/trunk/c/util/include/axis2_file_handler.h
    webservices/axis2/trunk/c/util/include/axis2_param.h
    webservices/axis2/trunk/c/util/include/axis2_url.h
    webservices/axis2/trunk/c/util/include/platforms/unix/axis2_unix.h
    webservices/axis2/trunk/c/util/src/array_list.c
    webservices/axis2/trunk/c/util/src/file_handler.c
    webservices/axis2/trunk/c/util/src/param.c
    webservices/axis2/trunk/c/util/src/url.c
    webservices/axis2/trunk/c/util/src/utils.c

Modified: webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axis2_soap_header.h Tue Jun  6 03:41:58 2006
@@ -76,7 +76,7 @@
         struct axis2_soap_header_block* (AXIS2_CALL *
       add_header_block)(axis2_soap_header_t* header,
                       const axis2_env_t *env,
-                    axis2_char_t *localname,
+                    const axis2_char_t *localname,
                     axis2_om_namespace_t *ns); 
        /**
         * returns a hash_table of all the soap_header_block_t  struct in this
@@ -104,7 +104,7 @@
         axis2_array_list_t* (AXIS2_CALL *
       get_header_blocks_with_namespace_uri)(axis2_soap_header_t* header,
                                               const axis2_env_t *env,
-                                              axis2_char_t *ns_uri);
+                                              const axis2_char_t *ns_uri);
        /**
         * returns an iterator to iterate through all soap header block's om nodes 
         * @param header 

Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_header.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_header.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_header.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_header.c Tue Jun  6 03:41:58 2006
@@ -57,7 +57,7 @@
 axis2_soap_header_block_t* AXIS2_CALL 
 axis2_soap_header_add_header_block(axis2_soap_header_t* header,
                                    const axis2_env_t *env,
-                                   axis2_char_t *localname,
+                                   const axis2_char_t *localname,
                                    axis2_om_namespace_t *ns); 
 axis2_hash_t* AXIS2_CALL 
 axis2_soap_header_examine_header_blocks
@@ -88,7 +88,7 @@
 axis2_soap_header_get_header_blocks_with_namespace_uri
                                         (axis2_soap_header_t* header,
                                          const axis2_env_t *env,
-                                         axis2_char_t *ns_uri);  
+                                         const axis2_char_t *ns_uri);  
 
 axis2_hash_t* AXIS2_CALL 
 axis2_soap_header_get_all_header_blocks(axis2_soap_header_t *header,
@@ -292,7 +292,7 @@
 axis2_soap_header_block_t* AXIS2_CALL 
 axis2_soap_header_add_header_block(axis2_soap_header_t* header,
                                    const axis2_env_t *env,
-                                   axis2_char_t *localname,
+                                   const axis2_char_t *localname,
                                    axis2_om_namespace_t *ns)
 {
     axis2_soap_header_impl_t *header_impl = NULL;
@@ -557,7 +557,7 @@
 axis2_soap_header_get_header_blocks_with_namespace_uri
                                         (axis2_soap_header_t* header,
                                          const axis2_env_t *env,
-                                         axis2_char_t *ns_uri)
+                                         const axis2_char_t *ns_uri)
 {
     axis2_soap_header_impl_t *header_impl = NULL;
     

Modified: webservices/axis2/trunk/c/include/axis2_conf.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_conf.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_conf.h (original)
+++ webservices/axis2/trunk/c/include/axis2_conf.h Tue Jun  6 03:41:58 2006
@@ -310,11 +310,11 @@
     axis2_char_t * (AXIS2_CALL *
     get_default_module_version)(axis2_conf_t *conf, 
                                 const axis2_env_t *env, 
-                                axis2_char_t* module_name);
+                                const axis2_char_t* module_name);
                                 
     struct axis2_module_desc * (AXIS2_CALL *
     get_default_module)(axis2_conf_t *conf,const axis2_env_t *env, 
-                                axis2_char_t *module_name);
+                                const axis2_char_t *module_name);
 
     axis2_status_t (AXIS2_CALL *
     add_default_module_version)(axis2_conf_t *conf, const axis2_env_t *env,
@@ -323,8 +323,8 @@
 
     axis2_status_t (AXIS2_CALL *
     engage_module_with_version)(axis2_conf_t *conf, const axis2_env_t *env,
-                                            axis2_char_t *module_name,
-                                            axis2_char_t *version_id);
+                                            const axis2_char_t *module_name,
+                                            const axis2_char_t *version_id);
                                 
 };
 

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=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_header.h Tue Jun  6 03:41:58 2006
@@ -76,7 +76,7 @@
     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);
+axis2_http_header_create_by_str (const axis2_env_t *env, const axis2_char_t *str);
 /************************** Start of function macros **************************/
 
 #define AXIS2_HTTP_HEADER_TO_EXTERNAL_FORM(header, env) \

Modified: webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_out_transport_info.h Tue Jun  6 03:41:58 2006
@@ -49,11 +49,12 @@
 AXIS2_DECLARE_DATA struct axis2_http_out_transport_info_ops
 {
     int (AXIS2_CALL *set_content_type) (axis2_http_out_transport_info_t *info, 
-               const axis2_env_t *env, axis2_char_t *content_type);
+               const axis2_env_t *env, 
+               const axis2_char_t *content_type);
     
     axis2_status_t (AXIS2_CALL *set_char_encoding) 
                     (axis2_http_out_transport_info_t *info, const axis2_env_t *env,
-               axis2_char_t *encoding);
+               const axis2_char_t *encoding);
     
     axis2_status_t (AXIS2_CALL *free) 
                (axis2_http_out_transport_info_t *out_transport_info, 

Modified: webservices/axis2/trunk/c/include/axis2_http_request_line.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_request_line.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_request_line.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_request_line.h Tue Jun  6 03:41:58 2006
@@ -78,8 +78,10 @@
 
 
 AXIS2_EXTERN axis2_http_request_line_t * AXIS2_CALL 
-axis2_http_request_line_create(const axis2_env_t *env, axis2_char_t *method, 
-                                axis2_char_t *uri, axis2_char_t *http_version);
+axis2_http_request_line_create(const axis2_env_t *env, 
+    const axis2_char_t *method, 
+    const axis2_char_t *uri, 
+    const axis2_char_t *http_version);
 
 AXIS2_EXTERN axis2_http_request_line_t* AXIS2_CALL
 axis2_http_request_line_parse_line(const axis2_env_t *env, const axis2_char_t *str);

Modified: webservices/axis2/trunk/c/include/axis2_http_response_writer.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_response_writer.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_response_writer.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_response_writer.h Tue Jun  6 03:41:58 2006
@@ -72,7 +72,8 @@
 
     axis2_status_t (AXIS2_CALL *print_str) 
                     (axis2_http_response_writer_t *response_writer, 
-                    const axis2_env_t *env, char *str);
+                    const axis2_env_t *env, 
+                    const char *str);
     
     axis2_status_t (AXIS2_CALL *print_int) 
                     (axis2_http_response_writer_t *response_writer, 
@@ -80,7 +81,8 @@
     
     axis2_status_t (AXIS2_CALL *println_str) 
                     (axis2_http_response_writer_t *response_writer, 
-                    const axis2_env_t *env, char *str);
+                    const axis2_env_t *env, 
+                    const char *str);
     
     axis2_status_t (AXIS2_CALL *println) 
                     (axis2_http_response_writer_t *response_writer, 

Modified: webservices/axis2/trunk/c/include/axis2_http_server.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_server.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_server.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_server.h Tue Jun  6 03:41:58 2006
@@ -43,8 +43,8 @@
    
 AXIS2_EXTERN axis2_transport_receiver_t * AXIS2_CALL 
 axis2_http_server_create (const axis2_env_t *env, 
-                         axis2_char_t *repo, 
-                         int port);
+                         const axis2_char_t *repo, 
+                         const int port);
 
 axis2_status_t AXIS2_CALL 
 axis2_http_server_stop(axis2_transport_receiver_t *server, 

Modified: webservices/axis2/trunk/c/include/axis2_http_status_line.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_http_status_line.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_status_line.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_status_line.h Tue Jun  6 03:41:58 2006
@@ -83,7 +83,7 @@
 
 AXIS2_EXTERN axis2_http_status_line_t * AXIS2_CALL 
 axis2_http_status_line_create(const axis2_env_t *env, 
-                              axis2_char_t *str);
+                              const axis2_char_t *str);
 
 /************************* Start of function macros    ***************************/
 

Modified: webservices/axis2/trunk/c/include/axis2_msg_info_headers.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_info_headers.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_info_headers.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_info_headers.h Tue Jun  6 03:41:58 2006
@@ -170,7 +170,7 @@
         axis2_status_t (AXIS2_CALL *
       set_action)(struct axis2_msg_info_headers *msg_info_headers, 
                     const axis2_env_t *env, 
-                  axis2_char_t *action);
+                  const axis2_char_t *action);
         /**
          * Method get_message_id
          *
@@ -240,8 +240,9 @@
  * @param relationship_type
  */
 AXIS2_EXTERN axis2_msg_info_headers_t* AXIS2_CALL 
-axis2_msg_info_headers_create(const axis2_env_t *env, axis2_endpoint_ref_t *to,
-                              axis2_char_t *action);
+axis2_msg_info_headers_create(const axis2_env_t *env, 
+    axis2_endpoint_ref_t *to,
+    const axis2_char_t *action);
     
 
 #define AXIS2_MSG_INFO_HEADERS_GET_TO(msg_info_headers, env) \

Modified: webservices/axis2/trunk/c/include/axis2_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_op.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_op.h (original)
+++ webservices/axis2/trunk/c/include/axis2_op.h Tue Jun  6 03:41:58 2006
@@ -106,7 +106,7 @@
    axis2_param_t *(AXIS2_CALL *
     get_param)(axis2_op_t *op, 
                 const axis2_env_t *env,
-                axis2_char_t *name);
+                const axis2_char_t *name);
 
 
    axis2_array_list_t *(AXIS2_CALL *

Modified: webservices/axis2/trunk/c/include/axis2_phase_rule.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_phase_rule.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase_rule.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase_rule.h Tue Jun  6 03:41:58 2006
@@ -52,7 +52,7 @@
         axis2_status_t (AXIS2_CALL *
       set_before) (struct axis2_phase_rule *phase_rule, 
                      const axis2_env_t *env, 
-                axis2_char_t *before);
+                const axis2_char_t *before);
       
         axis2_char_t* (AXIS2_CALL *
       get_after) (struct axis2_phase_rule * phase_rule, 
@@ -61,7 +61,7 @@
         axis2_status_t (AXIS2_CALL *
       set_after) (struct axis2_phase_rule * phase_rule, 
                     const axis2_env_t *env, 
-               axis2_char_t *after);
+               const axis2_char_t *after);
       
         axis2_char_t* (AXIS2_CALL *
       get_name) (struct axis2_phase_rule * phase_rule, 
@@ -115,7 +115,7 @@
  */
 AXIS2_EXTERN axis2_phase_rule_t* AXIS2_CALL 
 axis2_phase_rule_create(const axis2_env_t *env, 
-                  axis2_char_t *phase_name);
+                  const axis2_char_t *phase_name);
     
 #define AXIS2_PHASE_RULE_GET_BEFORE(phase_rule, env) \
       ((phase_rule)->ops->get_before(phase_rule, env))

Modified: webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h Tue Jun  6 03:41:58 2006
@@ -55,8 +55,8 @@
                                 (axis2_soap_over_http_sender_t *sender, 
                                 const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
                         axis2_soap_envelope_t *out, 
-                        axis2_char_t *str_url, 
-                        axis2_char_t *soap_action);
+                        const axis2_char_t *str_url, 
+                        const axis2_char_t *soap_action);
    
    axis2_status_t (AXIS2_CALL *set_chunked) 
                                 (axis2_soap_over_http_sender_t *sender, 

Modified: webservices/axis2/trunk/c/include/axis2_stub.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_stub.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_stub.h (original)
+++ webservices/axis2/trunk/c/include/axis2_stub.h Tue Jun  6 03:41:58 2006
@@ -115,7 +115,7 @@
 AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
 axis2_stub_create_with_endpoint_ref_and_client_home(const axis2_env_t *env,
                                         axis2_endpoint_ref_t *endpoint_ref,
-                                        axis2_char_t *client_home);
+                                        const axis2_char_t *client_home);
 
 /**
  * Creates axis2_stub struct

Modified: webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl4c_parser.h Tue Jun  6 03:41:58 2006
@@ -277,7 +277,7 @@
      * @param namespace
      */
     void *
-    axis2_wsdl4c_parser_get_extensibility_handler_a_ns(void *parser, char *ns);
+    axis2_wsdl4c_parser_get_extensibility_handler_a_ns(void *parser, const char *ns);
 
     /** 
      * Return the extensibility handler for the given id.

Modified: webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_fault_ref.h Tue Jun  6 03:41:58 2006
@@ -74,7 +74,7 @@
     axis2_status_t (AXIS2_CALL *
     set_direction) (axis2_wsdl_fault_ref_t *fault_ref,
                                                 const axis2_env_t *env,
-                                                axis2_char_t *direction);
+                                                const axis2_char_t *direction);
     
     /**
      * Method getMessageLabel

Modified: webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h (original)
+++ webservices/axis2/trunk/c/include/axis2_wsdl_msg_ref.h Tue Jun  6 03:41:58 2006
@@ -74,7 +74,7 @@
     axis2_status_t (AXIS2_CALL *
     set_direction) (axis2_wsdl_msg_ref_t *msg_ref,
                                                 const axis2_env_t *env,
-                                                axis2_char_t *direction);
+                                                const axis2_char_t *direction);
     
     /**
      * Method getMessageLabel
@@ -93,7 +93,7 @@
     axis2_status_t (AXIS2_CALL *
     set_msg_label) (axis2_wsdl_msg_ref_t *msg_ref,
                                                 const axis2_env_t *env,
-                                                axis2_char_t *msg_label);
+                                                const axis2_char_t *msg_label);
                                                 
     /**
      * Returns an Element which refers to the actual message that will get 

Modified: webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c Tue Jun  6 03:41:58 2006
@@ -129,7 +129,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_msg_info_headers_set_action(struct axis2_msg_info_headers *msg_info_headers, 
                                   const axis2_env_t *env, 
-                                  axis2_char_t *action);
+                                  const axis2_char_t *action);
                                   
 axis2_char_t* AXIS2_CALL 
 axis2_msg_info_headers_get_message_id(struct axis2_msg_info_headers *msg_info_headers, 
@@ -171,8 +171,9 @@
  * @param action
  */
 axis2_msg_info_headers_t* AXIS2_CALL 
-axis2_msg_info_headers_create(const axis2_env_t *env, axis2_endpoint_ref_t *to,
-                              axis2_char_t *action) 
+axis2_msg_info_headers_create(const axis2_env_t *env, 
+    axis2_endpoint_ref_t *to,
+    const axis2_char_t *action) 
 {
     axis2_msg_info_headers_impl_t *msg_info_headers_impl = NULL;
     
@@ -451,7 +452,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_msg_info_headers_set_action(struct axis2_msg_info_headers *msg_info_headers, 
                                   const axis2_env_t *env, 
-                                  axis2_char_t *action) 
+                                  const axis2_char_t *action) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(NULL != AXIS2_INTF_TO_IMPL(msg_info_headers)->action)

Modified: webservices/axis2/trunk/c/modules/core/clientapi/stub.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/stub.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/stub.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/stub.c Tue Jun  6 03:41:58 2006
@@ -130,7 +130,7 @@
 AXIS2_EXTERN axis2_stub_t * AXIS2_CALL 
 axis2_stub_create_with_endpoint_ref_and_client_home (const axis2_env_t *env,
                                         axis2_endpoint_ref_t *endpoint_ref,
-                                        axis2_char_t *client_home)
+                                        const axis2_char_t *client_home)
 {
     axis2_stub_impl_t *stub_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=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Tue Jun  6 03:41:58 2006
@@ -63,7 +63,7 @@
 static axis2_bool_t axis2_svc_client_init_transports_from_conf_ctx(const axis2_env_t *env, 
                            axis2_svc_client_impl_t *svc_client_impl,
                            axis2_conf_ctx_t *conf_ctx,
-                           axis2_char_t *client_home);
+                           const axis2_char_t *client_home);
 static axis2_bool_t axis2_svc_client_init_data(const axis2_env_t *env,
                            axis2_svc_client_impl_t *svc_client_impl);
 static void axis2_svc_client_init_ops(axis2_svc_client_t *svc_client);
@@ -1006,7 +1006,7 @@
 static axis2_bool_t axis2_svc_client_init_transports_from_conf_ctx(const axis2_env_t *env,
                                     axis2_svc_client_impl_t *svc_client_impl,
                                     axis2_conf_ctx_t *conf_ctx,
-                           axis2_char_t *client_home)
+                           const axis2_char_t *client_home)
 {
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c Tue Jun  6 03:41:58 2006
@@ -220,7 +220,7 @@
 AXIS2_EXTERN axis2_arch_file_data_t * AXIS2_CALL
 axis2_arch_file_data_create_with_type_and_name(const axis2_env_t *env,
                                                     int type,
-                                                    axis2_char_t *name)
+                                                    const axis2_char_t *name)
 {
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
     file_data_impl = (axis2_arch_file_data_impl_t *)

Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_arch_file_data.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_arch_file_data.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_arch_file_data.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_arch_file_data.h Tue Jun  6 03:41:58 2006
@@ -171,7 +171,7 @@
 AXIS2_EXTERN axis2_arch_file_data_t * AXIS2_CALL
 axis2_arch_file_data_create_with_type_and_name(const axis2_env_t *env,
                                                     int type,
-                                                    axis2_char_t *name);
+                                                    const axis2_char_t *name);
 
 /*************************** Function macros **********************************/
 

Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_conf_init.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_conf_init.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_conf_init.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_conf_init.h Tue Jun  6 03:41:58 2006
@@ -46,7 +46,7 @@
  * @return pointer to an instance of configuration context properly initialized
  */
 AXIS2_EXTERN axis2_conf_ctx_t* AXIS2_CALL build_conf_ctx (const axis2_env_t *env,
-    axis2_char_t *repo_name);
+    const axis2_char_t *repo_name);
 /**
  * Builds the Configuration for the Client
  * @param env Environment. MUST NOT be NULL
@@ -54,7 +54,7 @@
  * @return pointer to an instance of configuration context properly initialized
  */
 AXIS2_EXTERN axis2_conf_ctx_t* AXIS2_CALL build_client_conf_ctx(const axis2_env_t *env,
-        axis2_char_t *axis2_home);
+        const axis2_char_t *axis2_home);
 
 
 /** @} */

Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_dep_engine.h Tue Jun  6 03:41:58 2006
@@ -122,7 +122,7 @@
     struct axis2_conf *(AXIS2_CALL *
     load_client) (axis2_dep_engine_t *dep_engine,
                                     const axis2_env_t *env,
-                                    axis2_char_t *client_home);
+                                    const axis2_char_t *client_home);
     
     
     void * (AXIS2_CALL *
@@ -221,7 +221,7 @@
     AXIS2_EXTERN axis2_dep_engine_t * AXIS2_CALL
     axis2_dep_engine_create_with_repos_name (
                                             const axis2_env_t *env, 
-                                            axis2_char_t *repos_path);
+                                            const axis2_char_t *repos_path);
     /**
      * Creates deployment engine struct
      * @param repos_path is the path to which Repositary Listner should listen.
@@ -231,8 +231,8 @@
     AXIS2_EXTERN axis2_dep_engine_t * AXIS2_CALL 
     axis2_dep_engine_create_with_repos_name_and_svr_xml_file (
                                             const axis2_env_t *env, 
-                                            axis2_char_t *repos_path, 
-                                            axis2_char_t *svr_xml_file);                                            
+                                            const axis2_char_t *repos_path, 
+                                            const axis2_char_t *svr_xml_file);                                            
 
 
 

Modified: webservices/axis2/trunk/c/modules/core/deployment/conf_init.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/conf_init.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/conf_init.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/conf_init.c Tue Jun  6 03:41:58 2006
@@ -25,7 +25,7 @@
     
 AXIS2_EXTERN axis2_conf_ctx_t* AXIS2_CALL 
 build_conf_ctx (const axis2_env_t *env,
-    axis2_char_t *repo_name)
+    const axis2_char_t *repo_name)
 {    
     axis2_conf_ctx_t *conf_ctx = NULL;
     axis2_dep_engine_t *dep_engine = NULL;
@@ -66,7 +66,7 @@
 }
 
  axis2_conf_ctx_t* AXIS2_CALL build_client_conf_ctx(const axis2_env_t *env,
-        axis2_char_t *axis2_home)
+        const axis2_char_t *axis2_home)
 {
     axis2_conf_ctx_t *conf_ctx = NULL;
     axis2_dep_engine_t *dep_engine = NULL;

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Tue Jun  6 03:41:58 2006
@@ -149,12 +149,12 @@
 axis2_conf_t *AXIS2_CALL
 axis2_dep_engine_load_client(axis2_dep_engine_t *dep_engine,
                                 const axis2_env_t *env,
-                                axis2_char_t *client_home);
+                                const axis2_char_t *client_home);
 
 static axis2_status_t
 axis2_dep_engine_check_client_home(axis2_dep_engine_t *dep_engine,
                                     const axis2_env_t *env,
-                                    axis2_char_t *client_home);
+                                    const axis2_char_t *client_home);
 
 /**
  * This methode used to check the modules referd by server.xml
@@ -371,7 +371,7 @@
 axis2_dep_engine_t *AXIS2_CALL 
 axis2_dep_engine_create_with_repos_name (
                                         const axis2_env_t *env, 
-                                        axis2_char_t *repos_path)
+                                        const axis2_char_t *repos_path)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     
@@ -390,8 +390,8 @@
 
 axis2_dep_engine_t *AXIS2_CALL
 axis2_dep_engine_create_with_repos_name_and_svr_xml_file(const axis2_env_t *env,
-                                                    axis2_char_t *repos_path,
-                                                    axis2_char_t *svr_xml_file)
+                                                    const axis2_char_t *repos_path,
+                                                    const axis2_char_t *svr_xml_file)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_char_t *conf_file_l = NULL;
@@ -844,7 +844,7 @@
 axis2_conf_t *AXIS2_CALL
 axis2_dep_engine_load_client(axis2_dep_engine_t *dep_engine,
                                 const axis2_env_t *env,
-                                axis2_char_t *client_home) 
+                                const axis2_char_t *client_home) 
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_bool_t is_repos_exist = AXIS2_FALSE;
@@ -933,7 +933,7 @@
 static axis2_status_t
 axis2_dep_engine_check_client_home(axis2_dep_engine_t *dep_engine,
                                     const axis2_env_t *env,
-                                    axis2_char_t *client_home)
+                                    const axis2_char_t *client_home)
 {
     axis2_dep_engine_impl_t *dep_engine_impl = NULL;
     axis2_char_t *path_l = NULL;

Modified: webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/desc_builder.c Tue Jun  6 03:41:58 2006
@@ -983,7 +983,7 @@
                                         const axis2_env_t *env,
                                         axis2_char_t *file_name) 
 {
-    axis2_char_t *separator = NULL;
+    const axis2_char_t *separator = NULL;
     axis2_char_t *value = NULL;
     axis2_char_t *file_name_l = NULL;
     axis2_char_t *short_name = NULL;
@@ -1034,7 +1034,7 @@
                                 const axis2_env_t *env,
                                 axis2_char_t *in) 
 {
-    axis2_char_t *separator = ":";
+    const axis2_char_t *separator = ":";
     axis2_char_t *value = NULL;
     axis2_char_t *in_l = 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=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Tue Jun  6 03:41:58 2006
@@ -56,7 +56,7 @@
 axis2_param_t * AXIS2_CALL
 axis2_op_get_param (axis2_op_t *op, 
                             const axis2_env_t *env,
-                            axis2_char_t *name);
+                            const axis2_char_t *name);
 
 axis2_array_list_t * AXIS2_CALL
 axis2_op_get_params (axis2_op_t *op, 
@@ -820,7 +820,7 @@
 axis2_param_t * AXIS2_CALL
 axis2_op_get_param (axis2_op_t *op, 
                                 const axis2_env_t *env,
-                              axis2_char_t *param_name)
+                              const axis2_char_t *param_name)
 {
     axis2_op_impl_t *op_impl = NULL;
     axis2_param_container_t *param_container_l = NULL;

Modified: webservices/axis2/trunk/c/modules/core/description/phase_rule.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/phase_rule.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/phase_rule.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/phase_rule.c Tue Jun  6 03:41:58 2006
@@ -46,7 +46,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_phase_rule_set_before (struct axis2_phase_rule *phase_rule, 
                              const axis2_env_t *env, 
-                             axis2_char_t *before);
+                             const axis2_char_t *before);
                              
 axis2_char_t* AXIS2_CALL 
 axis2_phase_rule_get_after (struct axis2_phase_rule * phase_rule, 
@@ -55,7 +55,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_phase_rule_set_after (struct axis2_phase_rule * phase_rule, 
                             const axis2_env_t *env, 
-                            axis2_char_t *after);
+                            const axis2_char_t *after);
                             
 axis2_char_t* AXIS2_CALL 
 axis2_phase_rule_get_name (struct axis2_phase_rule * phase_rule, 
@@ -100,7 +100,7 @@
 
 AXIS2_EXTERN axis2_phase_rule_t* AXIS2_CALL
 axis2_phase_rule_create(const axis2_env_t *env, 
-                        axis2_char_t *name)
+                        const axis2_char_t *name)
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     
@@ -187,7 +187,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_phase_rule_set_before (struct axis2_phase_rule *phase_rule, 
                              const axis2_env_t *env, 
-                             axis2_char_t *before)
+                             const axis2_char_t *before)
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     
@@ -225,7 +225,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_phase_rule_set_after (struct axis2_phase_rule * phase_rule, 
                             const axis2_env_t *env, 
-                            axis2_char_t *after)
+                            const axis2_char_t *after)
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Tue Jun  6 03:41:58 2006
@@ -295,11 +295,11 @@
                         
 axis2_char_t * AXIS2_CALL
 axis2_conf_get_default_module_version(axis2_conf_t *conf, const axis2_env_t *env, 
-                                    axis2_char_t* module_name);
+                                    const axis2_char_t* module_name);
                                     
 axis2_module_desc_t* AXIS2_CALL
 axis2_conf_get_default_module(axis2_conf_t *conf,const axis2_env_t *env, 
-                                axis2_char_t *module_name);
+                                const axis2_char_t *module_name);
                                 
 axis2_status_t AXIS2_CALL
 axis2_conf_add_default_module_version(axis2_conf_t *conf, const axis2_env_t *env,
@@ -308,8 +308,8 @@
                                         
 axis2_status_t AXIS2_CALL
 axis2_conf_engage_module_with_version(axis2_conf_t *conf, const axis2_env_t *env,
-                                            axis2_char_t *module_name,
-                                            axis2_char_t *version_id);
+                                            const axis2_char_t *module_name,
+                                            const axis2_char_t *version_id);
 
 /************************** End of function prototypes ************************/
 
@@ -2095,7 +2095,7 @@
 
 axis2_char_t * AXIS2_CALL
 axis2_conf_get_default_module_version(axis2_conf_t *conf, const axis2_env_t *env, 
-                                    axis2_char_t* module_name)
+                                    const axis2_char_t* module_name)
 {
     axis2_hash_t *def_ver_map = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -2111,7 +2111,7 @@
 
 axis2_module_desc_t* AXIS2_CALL
 axis2_conf_get_default_module(axis2_conf_t *conf,const axis2_env_t *env, 
-                                axis2_char_t *module_name)
+                                const axis2_char_t *module_name)
 {
     axis2_module_desc_t *ret_mod = NULL;
     axis2_char_t *mod_name = NULL;
@@ -2200,8 +2200,8 @@
  */
 axis2_status_t AXIS2_CALL
 axis2_conf_engage_module_with_version(axis2_conf_t *conf, const axis2_env_t *env,
-                                            axis2_char_t *module_name,
-                                            axis2_char_t *version_id)
+                                            const axis2_char_t *module_name,
+                                            const axis2_char_t *version_id)
 {
     axis2_qname_t *module_qname = NULL;
     axis2_status_t status = AXIS2_FAILURE;

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=412071&r1=412070&r2=412071&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 Tue Jun  6 03:41:58 2006
@@ -94,7 +94,7 @@
 }
 
 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)
+axis2_http_header_create_by_str (const axis2_env_t *env, const axis2_char_t *str)
 {
    axis2_char_t *tmp_str = NULL;
    axis2_char_t *ch = NULL;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c Tue Jun  6 03:41:58 2006
@@ -41,12 +41,12 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_content_type 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env, 
-            axis2_char_t *content_type);
+            const axis2_char_t *content_type);
     
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_char_encoding 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env,
-            axis2_char_t *encoding);
+            const axis2_char_t *encoding);
     
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_free 
@@ -130,7 +130,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_content_type 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env, 
-            axis2_char_t *content_type)
+            const axis2_char_t *content_type)
 {
     axis2_char_t *tmp1 = NULL;
    axis2_char_t *tmp2 = NULL;
@@ -165,7 +165,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_char_encoding 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env,
-            axis2_char_t *encoding)
+            const axis2_char_t *encoding)
 {
     axis2_http_out_transport_info_impl_t *info_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c Tue Jun  6 03:41:58 2006
@@ -68,8 +68,10 @@
 /***************************** End of function headers ************************/
 
 AXIS2_EXTERN axis2_http_request_line_t * AXIS2_CALL 
-axis2_http_request_line_create(const axis2_env_t *env, axis2_char_t *method, 
-                                axis2_char_t *uri, axis2_char_t *http_version)
+axis2_http_request_line_create(const axis2_env_t *env, 
+    const axis2_char_t *method, 
+    const axis2_char_t *uri, 
+    const axis2_char_t *http_version)
 {
     axis2_http_request_line_impl_t *request_line_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c Tue Jun  6 03:41:58 2006
@@ -65,7 +65,7 @@
 /***************************** End of function headers ************************/
 
 AXIS2_EXTERN axis2_http_status_line_t * AXIS2_CALL
-axis2_http_status_line_create(const axis2_env_t *env, axis2_char_t *str)
+axis2_http_status_line_create(const axis2_env_t *env, const axis2_char_t *str)
 {
     axis2_char_t *tmp_status_line = NULL;
     axis2_char_t *reason_phrase = NULL;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c Tue Jun  6 03:41:58 2006
@@ -64,7 +64,8 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_response_writer_print_str
                 (axis2_http_response_writer_t *response_writer, 
-                const axis2_env_t *env, char *str);
+                const axis2_env_t *env, 
+                const char *str);
 
 axis2_status_t AXIS2_CALL 
 axis2_http_response_writer_print_int
@@ -74,7 +75,8 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_response_writer_println_str
                 (axis2_http_response_writer_t *response_writer, 
-                const axis2_env_t *env, char *str);
+                const axis2_env_t *env, 
+                const char *str);
 
 axis2_status_t AXIS2_CALL 
 axis2_http_response_writer_println
@@ -252,7 +254,8 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_response_writer_print_str
                 (axis2_http_response_writer_t *response_writer, 
-                const axis2_env_t *env, char *str)
+                const axis2_env_t *env, 
+                const char *str)
 {
    axis2_http_response_writer_impl_t *writer_impl = NULL;
    int write = -1;
@@ -291,7 +294,8 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_response_writer_println_str
                 (axis2_http_response_writer_t *response_writer, 
-                const axis2_env_t *env, char *str)
+                const axis2_env_t *env, 
+                const char *str)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, str, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c Tue Jun  6 03:41:58 2006
@@ -70,7 +70,9 @@
 /***************************** End of function headers ************************/
 
 AXIS2_EXTERN axis2_transport_receiver_t * AXIS2_CALL 
-axis2_http_server_create (const axis2_env_t *env, axis2_char_t *repo, int port)
+axis2_http_server_create (const axis2_env_t *env, 
+    const axis2_char_t *repo, 
+    const int port)
 {
     axis2_http_server_impl_t *server_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);
@@ -242,7 +244,7 @@
                   const axis2_env_t *env, axis2_char_t *svc_name)
 {
    axis2_endpoint_ref_t *epr = NULL;
-   axis2_char_t *host_address = NULL;
+   const axis2_char_t *host_address = NULL;
    axis2_char_t *svc_path = NULL;
    axis2_url_t *url = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c Tue Jun  6 03:41:58 2006
@@ -152,14 +152,14 @@
                      (axis2_transport_sender_t *transport_sender, 
                           const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)
 {
-    axis2_char_t *char_set_enc = NULL;
-   axis2_endpoint_ref_t *epr = NULL;
-   axis2_char_t *transport_url = NULL;
-   axis2_xml_writer_t *xml_writer = NULL;
-   axis2_om_output_t *om_output = NULL;
-   axis2_char_t *buffer = NULL;
-   axis2_soap_envelope_t *soap_data_out = NULL;
-   axis2_bool_t do_mtom;
+    const axis2_char_t *char_set_enc = NULL;
+    axis2_endpoint_ref_t *epr = NULL;
+    axis2_char_t *transport_url = NULL;
+    axis2_xml_writer_t *xml_writer = NULL;
+    axis2_om_output_t *om_output = NULL;
+    axis2_char_t *buffer = NULL;
+    axis2_soap_envelope_t *soap_data_out = NULL;
+    axis2_bool_t do_mtom;
     axis2_property_t *property = NULL;
     axis2_om_node_t *data_out = NULL;
    
@@ -532,7 +532,7 @@
                      axis2_soap_envelope_t *out, 
                      axis2_om_output_t *om_output)
 {
-   axis2_char_t *soap_action = NULL;
+   const axis2_char_t *soap_action = NULL;
    axis2_char_t *url = NULL;
    axis2_soap_over_http_sender_t *sender = NULL;
     axis2_status_t status = AXIS2_FAILURE;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c Tue Jun  6 03:41:58 2006
@@ -100,7 +100,7 @@
         return NULL;
    }
    
-    sender_impl->http_version = AXIS2_HTTP_HEADER_PROTOCOL_11;
+    sender_impl->http_version = (axis2_char_t *)AXIS2_HTTP_HEADER_PROTOCOL_11;
     sender_impl->so_timeout = AXIS2_HTTP_DEFAULT_SO_TIMEOUT;
     sender_impl->connection_timeout = AXIS2_HTTP_DEFAULT_CONNECTION_TIMEOUT;
    sender_impl->om_output = NULL;
@@ -166,11 +166,11 @@
    axis2_rest_sender_impl_t *sender_impl = NULL;
    axis2_xml_writer_t *xml_writer = NULL;
    axis2_char_t *buffer = NULL;
-   axis2_char_t *char_set_enc = NULL;
+   const axis2_char_t *char_set_enc = NULL;
    int status_code = -1;
    axis2_http_header_t *http_header = NULL;
    axis2_http_simple_response_t *response = NULL;
-   axis2_char_t *content_type = NULL;
+   const axis2_char_t *content_type = NULL;
     axis2_property_t *property = NULL;
       
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c Tue Jun  6 03:41:58 2006
@@ -70,8 +70,9 @@
 axis2_soap_over_http_sender_send 
                   (axis2_soap_over_http_sender_t *sender, 
                   const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
-                  axis2_soap_envelope_t *out, axis2_char_t *str_url, 
-                  axis2_char_t *soap_action);
+                  axis2_soap_envelope_t *out, 
+                  const axis2_char_t *str_url, 
+                  const axis2_char_t *soap_action);
 
 axis2_status_t AXIS2_CALL 
 axis2_soap_over_http_sender_set_chunked
@@ -116,7 +117,7 @@
         return NULL;
    }
    
-    sender_impl->http_version = AXIS2_HTTP_HEADER_PROTOCOL_11;
+    sender_impl->http_version = (axis2_char_t *)AXIS2_HTTP_HEADER_PROTOCOL_11;
     sender_impl->so_timeout = AXIS2_HTTP_DEFAULT_SO_TIMEOUT;
     sender_impl->connection_timeout = AXIS2_HTTP_DEFAULT_CONNECTION_TIMEOUT;
    /* unlike the java impl we don't have a default om output
@@ -178,30 +179,31 @@
 axis2_soap_over_http_sender_send 
                   (axis2_soap_over_http_sender_t *sender, 
                   const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx,
-                  axis2_soap_envelope_t *out, axis2_char_t *str_url, 
-                  axis2_char_t *soap_action)
+                  axis2_soap_envelope_t *out, 
+                  const axis2_char_t *str_url, 
+                  const axis2_char_t *soap_action)
 {
-   axis2_http_simple_request_t *request = NULL;
-   axis2_http_request_line_t *request_line = NULL;
-   axis2_url_t *url = NULL;
-   axis2_soap_over_http_sender_impl_t *sender_impl = NULL;
-   axis2_xml_writer_t *xml_writer = NULL;
-   axis2_char_t *buffer = NULL;
-   axis2_char_t *char_set_enc = NULL;
-   int status_code = -1;
-   axis2_http_header_t *http_header = NULL;
-   axis2_http_simple_response_t *response = NULL;
-   axis2_char_t *content_type = NULL;
+    axis2_http_simple_request_t *request = NULL;
+    axis2_http_request_line_t *request_line = NULL;
+    axis2_url_t *url = NULL;
+    axis2_soap_over_http_sender_impl_t *sender_impl = NULL;
+    axis2_xml_writer_t *xml_writer = NULL;
+    axis2_char_t *buffer = NULL;
+    const axis2_char_t *char_set_enc = NULL;
+    int status_code = -1;
+    axis2_http_header_t *http_header = NULL;
+    axis2_http_simple_response_t *response = NULL;
+    axis2_char_t *content_type = NULL;
     axis2_property_t *property = NULL;
     axis2_byte_t *output_stream = NULL;
     int output_stream_size = 0;
     axis2_bool_t doing_mtom = AXIS2_FALSE;
       
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-   AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
-   AXIS2_PARAM_CHECK(env->error, out, AXIS2_FAILURE);
-   AXIS2_PARAM_CHECK(env->error, str_url, AXIS2_FAILURE);
-   AXIS2_PARAM_CHECK(env->error, soap_action, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, out, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, str_url, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, soap_action, AXIS2_FAILURE);
    
    url = axis2_url_parse_string(env, str_url);
    sender_impl = AXIS2_INTF_TO_IMPL(sender);
@@ -337,18 +339,18 @@
    /* TODO we need to set the content type with soap action header for soap12*/
     if (doing_mtom)
     {
-        content_type = AXIS2_OM_OUTPUT_GET_CONTENT_TYPE(sender_impl->om_output, 
+        content_type = (axis2_char_t *)AXIS2_OM_OUTPUT_GET_CONTENT_TYPE(sender_impl->om_output, 
                         env);
     }
    else if(AXIS2_TRUE == AXIS2_MSG_CTX_GET_IS_SOAP_11(msg_ctx, env))
    {
-      content_type = AXIS2_HTTP_HEADER_ACCEPT_TEXT_XML;
+        content_type = (axis2_char_t *)AXIS2_HTTP_HEADER_ACCEPT_TEXT_XML;
         content_type = AXIS2_STRACAT(content_type, ";charset=", env);
         content_type = AXIS2_STRACAT(content_type, char_set_enc, env);
    }
    else
    {
-      content_type = AXIS2_HTTP_HEADER_ACCEPT_APPL_SOAP;
+        content_type = (axis2_char_t *)AXIS2_HTTP_HEADER_ACCEPT_APPL_SOAP;
         content_type = AXIS2_STRACAT(content_type, ";charset=", env);
         content_type = AXIS2_STRACAT(content_type, char_set_enc, env);
         content_type = AXIS2_STRACAT(content_type, ";action=", env);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c Tue Jun  6 03:41:58 2006
@@ -42,12 +42,12 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_content_type 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env, 
-            axis2_char_t *content_type);
+            const axis2_char_t *content_type);
     
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_char_encoding 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env,
-            axis2_char_t *encoding);
+            const axis2_char_t *encoding);
     
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_free 
@@ -131,7 +131,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_content_type 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env, 
-            axis2_char_t *content_type)
+            const axis2_char_t *content_type)
 {
     axis2_char_t *tmp1 = NULL;
    axis2_char_t *tmp2 = NULL;
@@ -164,7 +164,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_out_transport_info_set_char_encoding 
             (axis2_http_out_transport_info_t *info, const axis2_env_t *env,
-            axis2_char_t *encoding)
+            const axis2_char_t *encoding)
 {
     axis2_apache2_out_transport_info_impl_t *info_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c Tue Jun  6 03:41:58 2006
@@ -30,12 +30,14 @@
 axis2_env_t *system_env = NULL;
 axis2_transport_receiver_t *server = NULL;
 /***************************** Function headers *******************************/
-axis2_env_t* init_syetem_env(axis2_allocator_t *allocator, axis2_char_t *log_file);
+axis2_env_t* init_syetem_env(axis2_allocator_t *allocator, 
+    const axis2_char_t *log_file);
 void system_exit(axis2_env_t *env, int status);
 void usage(axis2_char_t* prog_name);
 void sig_handler(int signal);
 /***************************** End of function headers ************************/
-axis2_env_t* init_syetem_env(axis2_allocator_t *allocator, axis2_char_t *log_file)
+axis2_env_t* init_syetem_env(axis2_allocator_t *allocator, 
+    const axis2_char_t *log_file)
 {
    axis2_error_t *error = axis2_error_create(allocator);
    axis2_log_t *log = axis2_log_create(allocator, NULL, log_file);
@@ -74,9 +76,9 @@
     int c;
 
     axis2_log_levels_t log_level = AXIS2_LOG_LEVEL_DEBUG;
-    axis2_char_t *log_file = "axis2.log";
+    const axis2_char_t *log_file = "axis2.log";
    int port = 9090;
-    axis2_char_t *repo_path = "../";
+    const axis2_char_t *repo_path = "../";
    axis2_http_socket_read_timeout = AXIS2_HTTP_DEFAULT_SO_TIMEOUT;
 
     while ((c = AXIS2_GETOPT(argc, argv, ":p:r:ht:l:f:")) != -1)

Modified: webservices/axis2/trunk/c/modules/core/util/axis2_core_utils.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/util/axis2_core_utils.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/util/axis2_core_utils.h (original)
+++ webservices/axis2/trunk/c/modules/core/util/axis2_core_utils.h Tue Jun  6 03:41:58 2006
@@ -44,8 +44,9 @@
                                     axis2_msg_ctx_t *out_msg_ctx);
                                     
     AXIS2_EXTERN axis2_qname_t* AXIS2_CALL
-    axis2_core_utils_get_module_qname(const axis2_env_t *env, axis2_char_t *name, 
-                                    axis2_char_t *version);
+    axis2_core_utils_get_module_qname(const axis2_env_t *env, 
+        const axis2_char_t *name, 
+        const axis2_char_t *version);
                                     
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axis2_core_utils_calculate_default_module_version(const axis2_env_t *env, 

Modified: webservices/axis2/trunk/c/modules/core/util/core_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/util/core_utils.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/util/core_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/util/core_utils.c Tue Jun  6 03:41:58 2006
@@ -197,8 +197,9 @@
 }
 
 AXIS2_EXTERN axis2_qname_t* AXIS2_CALL
-axis2_core_utils_get_module_qname(const axis2_env_t *env, axis2_char_t *name, 
-                                axis2_char_t *version)
+axis2_core_utils_get_module_qname(const axis2_env_t *env, 
+    const axis2_char_t *name, 
+    const axis2_char_t *version)
 {
     axis2_qname_t *ret_qname = NULL;
     AXIS2_ENV_CHECK(env, NULL);

Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c Tue Jun  6 03:41:58 2006
@@ -58,20 +58,20 @@
 axis2_addr_in_extract_to_epr_ref_params(const axis2_env_t *env,
                           axis2_endpoint_ref_t * to_epr,
                           axis2_soap_header_t *soap_header,
-                          axis2_char_t *addr_ns);
+                          const axis2_char_t *addr_ns);
                           
 axis2_status_t 
 axis2_addr_in_extract_epr_information(const axis2_env_t *env,
                         axis2_soap_header_block_t *soap_header_block,
                         axis2_endpoint_ref_t *endpoint_ref,
-                        axis2_char_t *addr_ns);
+                        const axis2_char_t *addr_ns);
                         
 axis2_status_t
 axis2_addr_in_extract_addr_params(const axis2_env_t *env,
                     axis2_soap_header_t *soap_header,
                     axis2_msg_info_headers_t **msg_info_headers,
                     axis2_array_list_t *addr_headers,
-                    axis2_char_t *addr_ns,
+                    const axis2_char_t *addr_ns,
                     axis2_msg_ctx_t *msg_ctx);
 
 axis2_status_t axis2_addr_in_extract_addr_submission_info(const axis2_env_t *env,
@@ -82,8 +82,8 @@
 
 void 
 axis2_addr_in_create_fault_envelope(const axis2_env_t *env,
-        axis2_char_t *header_name,
-        axis2_char_t *addr_ns_str,
+        const axis2_char_t *header_name,
+        const axis2_char_t *addr_ns_str,
         axis2_msg_ctx_t *msg_ctx);
 
 /******************************************************************************/                         
@@ -274,7 +274,7 @@
                     axis2_soap_header_t *soap_header,
                     axis2_msg_info_headers_t **msg_info_headers_p,
                     axis2_array_list_t *addr_headers,
-                    axis2_char_t *addr_ns_str,
+                    const axis2_char_t *addr_ns_str,
                     axis2_msg_ctx_t *msg_ctx)
 {
     axis2_hash_t *header_block_ht = NULL;
@@ -449,8 +449,8 @@
             axis2_char_t *address = NULL;
             axis2_qname_t *rqn = NULL;
             axis2_om_attribute_t *relationship_type = NULL;
-            axis2_char_t *relationship_type_default_value =  NULL;
-            axis2_char_t *relationship_type_value = NULL;
+            const axis2_char_t *relationship_type_default_value =  NULL;
+            const axis2_char_t *relationship_type_value = NULL;
             axis2_relates_to_t *relates_to =  NULL;
             if(AXIS2_STRCMP(AXIS2_WSA_NAMESPACE_SUBMISSION , addr_ns_str) == 0)
             {
@@ -498,7 +498,7 @@
 axis2_addr_in_extract_epr_information(const axis2_env_t *env,
                         axis2_soap_header_block_t *soap_header_block,
                         axis2_endpoint_ref_t *endpoint_ref,
-                        axis2_char_t *addr_ns_str) 
+                        const axis2_char_t *addr_ns_str) 
 {
     axis2_qname_t *epr_addr_qn = NULL;
     axis2_qname_t *epr_ref_qn = NULL;
@@ -622,7 +622,7 @@
 axis2_addr_in_extract_to_epr_ref_params(const axis2_env_t *env,
                           axis2_endpoint_ref_t * to_epr,
                           axis2_soap_header_t *soap_header,
-                          axis2_char_t *addr_ns_str)
+                          const axis2_char_t *addr_ns_str)
 {
     axis2_hash_t *header_blocks_ht = NULL;
     axis2_hash_index_t *hash_index = NULL;
@@ -701,8 +701,8 @@
 
 void 
 axis2_addr_in_create_fault_envelope(const axis2_env_t *env,
-        axis2_char_t *header_name,
-        axis2_char_t *addr_ns_str,
+        const axis2_char_t *header_name,
+        const axis2_char_t *addr_ns_str,
         axis2_msg_ctx_t *msg_ctx)
 {
     axis2_soap_envelope_t *envelope = NULL;

Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c Tue Jun  6 03:41:58 2006
@@ -34,16 +34,17 @@
 axis2_status_t 
 axis2_addr_out_handler_add_to_soap_header (const axis2_env_t *env,
                                            axis2_endpoint_ref_t *
-                                           endpoint_ref, axis2_char_t * type,
+                                           endpoint_ref, 
+                                           const axis2_char_t * type,
                                            axis2_soap_header_t * soap_header,
-                                           axis2_char_t * addr_ns);
+                                           const axis2_char_t * addr_ns);
 
 
 axis2_status_t
 axis2_addr_out_handler_add_to_header (const axis2_env_t *env,
                                       axis2_endpoint_ref_t * epr,
                                       axis2_om_node_t ** parent_node,
-                                      axis2_char_t * addr_ns);
+                                      const axis2_char_t * addr_ns);
 
 axis2_status_t
 axis2_addr_out_handler_process_any_content_type (const axis2_env_t *env,
@@ -51,13 +52,13 @@
                                                  reference_values,
                                                  axis2_om_node_t *
                                                  parent_ele_node,
-                                                 axis2_char_t * addr_ns);
+                                                 const axis2_char_t * addr_ns);
 
 axis2_om_node_t *axis2_addr_out_handler_process_string_info (const axis2_env_t *env,
-                                                             axis2_char_t *value,
-                                                             axis2_char_t *type,
+                                                             const axis2_char_t *value,
+                                                             const axis2_char_t *type,
                                                              axis2_soap_header_t **soap_header,
-                                                             axis2_char_t *addr_ns);
+                                                             const axis2_char_t *addr_ns);
 
 
 AXIS2_EXTERN axis2_handler_t *AXIS2_CALL
@@ -110,7 +111,7 @@
                                const axis2_env_t *env, axis2_msg_ctx_t * msg_ctx)
 {
     axis2_char_t *addressing_version_from_msg_ctx = NULL;
-    axis2_char_t *addr_ns = NULL;
+    const axis2_char_t *addr_ns = NULL;
     axis2_msg_info_headers_t *msg_info_headers = NULL;
     axis2_ctx_t *ctx = NULL;
     axis2_om_namespace_t *addressing_namespace = NULL;
@@ -298,7 +299,7 @@
         epr = AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO (msg_info_headers, env);
         if (!epr)
         {
-            axis2_char_t *anonymous_uri = NULL;
+            const axis2_char_t *anonymous_uri = NULL;
             axis2_bool_t anonymous = AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_ANONYMOUS(msg_info_headers, env);
             axis2_bool_t none = AXIS2_MSG_INFO_HEADERS_GET_REPLY_TO_NONE(msg_info_headers, env);
             if (AXIS2_STRCMP (addr_ns, AXIS2_WSA_NAMESPACE_SUBMISSION) == 0)
@@ -352,7 +353,7 @@
         epr = AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO (msg_info_headers, env);
         if (!epr)
         {
-            axis2_char_t *anonymous_uri = NULL;
+            const axis2_char_t *anonymous_uri = NULL;
             axis2_bool_t anonymous = AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_ANONYMOUS(msg_info_headers, env);
             axis2_bool_t none = AXIS2_MSG_INFO_HEADERS_GET_FAULT_TO_NONE(msg_info_headers, env);
             if (AXIS2_STRCMP (addr_ns, AXIS2_WSA_NAMESPACE_SUBMISSION) == 0)
@@ -465,11 +466,11 @@
 
 axis2_om_node_t *
 axis2_addr_out_handler_process_string_info (const axis2_env_t *env,
-                                            axis2_char_t * value,
-                                            axis2_char_t * type,
+                                            const axis2_char_t * value,
+                                            const axis2_char_t * type,
                                             axis2_soap_header_t **
                                             soap_header_p,
-                                            axis2_char_t * addr_ns)
+                                            const axis2_char_t * addr_ns)
 {
     axis2_soap_header_t *soap_header = NULL;
     axis2_soap_header_block_t *header_block = NULL;
@@ -518,9 +519,10 @@
 axis2_status_t
 axis2_addr_out_handler_add_to_soap_header (const axis2_env_t *env,
                                            axis2_endpoint_ref_t *
-                                           endpoint_ref, axis2_char_t * type,
+                                           endpoint_ref, 
+                                           const axis2_char_t * type,
                                            axis2_soap_header_t * soap_header,
-                                           axis2_char_t * addr_ns)
+                                           const axis2_char_t * addr_ns)
 {
     axis2_soap_header_block_t *header_block = NULL;
     axis2_char_t *address = NULL;
@@ -719,13 +721,13 @@
 axis2_addr_out_handler_add_to_header (const axis2_env_t *env,
                                       axis2_endpoint_ref_t * epr,
                                       axis2_om_node_t ** parent_node_p,
-                                      axis2_char_t * addr_ns)
+                                      const axis2_char_t * addr_ns)
 {
     axis2_om_node_t *parent_node = NULL;
     axis2_qname_t *interface_qname = NULL;
     axis2_om_node_t *interface_node = NULL;
     axis2_om_element_t *interface_ele = NULL;
-    axis2_char_t *element_localname = NULL;
+    const axis2_char_t *element_localname = NULL;
     axis2_svc_name_t *service_name = NULL;
     axis2_om_namespace_t *addr_ns_obj = NULL;
 
@@ -795,7 +797,7 @@
                                                  reference_values,
                                                  axis2_om_node_t *
                                                  parent_ele_node,
-                                                 axis2_char_t * addr_ns)
+                                                 const axis2_char_t * addr_ns)
 {
     axis2_hash_t *value_ht = NULL;
     axis2_hash_index_t *hash_index = NULL;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c Tue Jun  6 03:41:58 2006
@@ -59,7 +59,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_fault_ref_set_direction(axis2_wsdl_fault_ref_t *fault_ref,
                                             const axis2_env_t *env,
-                                            axis2_char_t *direction);
+                                            const axis2_char_t *direction);
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_fault_ref_get_msg_label(axis2_wsdl_fault_ref_t *fault_ref,
@@ -202,7 +202,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_fault_ref_set_direction(axis2_wsdl_fault_ref_t *fault_ref,
                                             const axis2_env_t *env,
-                                            axis2_char_t *direction) 
+                                            const axis2_char_t *direction) 
 {
     axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
     

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c Tue Jun  6 03:41:58 2006
@@ -56,7 +56,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_msg_ref_set_direction(axis2_wsdl_msg_ref_t *msg_ref,
                                  const axis2_env_t *env,
-                                 axis2_char_t *direction);
+                                 const axis2_char_t *direction);
 
 axis2_char_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
@@ -65,7 +65,7 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_msg_ref_set_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
                                  const axis2_env_t *env,
-                                 axis2_char_t *msg_label);
+                                 const axis2_char_t *msg_label);
                                             
 axis2_qname_t * AXIS2_CALL
 axis2_wsdl_msg_ref_get_element(axis2_wsdl_msg_ref_t *msg_ref,
@@ -176,12 +176,12 @@
 axis2_status_t AXIS2_CALL 
 axis2_wsdl_msg_ref_set_direction(axis2_wsdl_msg_ref_t *msg_ref,
                                             const axis2_env_t *env,
-                                            axis2_char_t *direction) 
+                                            const axis2_char_t *direction) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, direction, AXIS2_FAILURE);
 
-    AXIS2_INTF_TO_IMPL(msg_ref)->direction = direction;
+    AXIS2_INTF_TO_IMPL(msg_ref)->direction = (axis2_char_t *)direction;
     return AXIS2_SUCCESS;
 }
 
@@ -196,12 +196,12 @@
 axis2_status_t AXIS2_CALL
 axis2_wsdl_msg_ref_set_msg_label(axis2_wsdl_msg_ref_t *msg_ref,
                                             const axis2_env_t *env,
-                                            axis2_char_t *msg_label) 
+                                            const axis2_char_t *msg_label) 
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, msg_label, AXIS2_FAILURE);
 
-    AXIS2_INTF_TO_IMPL(msg_ref)->msg_label = msg_label;
+    AXIS2_INTF_TO_IMPL(msg_ref)->msg_label = (axis2_char_t *)msg_label;
     return AXIS2_SUCCESS;
 }
 

Modified: webservices/axis2/trunk/c/test/core/addr/test_addr.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/core/addr/test_addr.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/addr/test_addr.c (original)
+++ webservices/axis2/trunk/c/test/core/addr/test_addr.c Tue Jun  6 03:41:58 2006
@@ -15,7 +15,7 @@
    axis2_msg_info_headers_t *axis2_msg_info_headers = NULL;
    axis2_allocator_t *allocator = axis2_allocator_init (NULL);
    const axis2_env_t *env = axis2_env_create (allocator);
-   axis2_char_t *action = "test action";
+   const axis2_char_t *action = "test action";
    axis2_char_t *get_action = NULL;
    to = axis2_endpoint_ref_create(env, "to");
    from = axis2_endpoint_ref_create(env, "from");

Modified: webservices/axis2/trunk/c/test/core/description/test_description.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/core/description/test_description.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/description/test_description.c (original)
+++ webservices/axis2/trunk/c/test/core/description/test_description.c Tue Jun  6 03:41:58 2006
@@ -18,7 +18,7 @@
     printf("******************************************\n");
 
     axis2_allocator_t *allocator = axis2_allocator_init (NULL);
-   const axis2_env_t *env = axis2_env_create (allocator);
+   axis2_env_t *env = axis2_env_create (allocator);
    axis2_op_t *op = axis2_op_create(env);
 
     moduleref = axis2_module_desc_create(env);

Modified: webservices/axis2/trunk/c/test/core/transport/http/test_http_transport.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/core/transport/http/test_http_transport.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/transport/http/test_http_transport.c (original)
+++ webservices/axis2/trunk/c/test/core/transport/http/test_http_transport.c Tue Jun  6 03:41:58 2006
@@ -37,7 +37,7 @@
 
 void test_http_request_line(const axis2_env_t *env)
 {
-    char *request_line_str = "POST http://ws.apache.org/axis2/c/services/test_svc/test_op?x=1 HTTP/1.1\r\n";
+    const char *request_line_str = "POST http://ws.apache.org/axis2/c/services/test_svc/test_op?x=1 HTTP/1.1\r\n";
     axis2_http_request_line_t *request_line;
 
     printf("Starting http_request_line tests\n");
@@ -52,7 +52,7 @@
 
 void test_http_status_line(const axis2_env_t *env)
 {
-    char *status_line_str = "HTTP/1.1 202 Accepted\r\n";
+    const char *status_line_str = "HTTP/1.1 202 Accepted\r\n";
     axis2_http_status_line_t *status_line;
 
     printf("Starting http_status_line tests\n");
@@ -70,9 +70,9 @@
 
 void test_http_header(const axis2_env_t *env)
 {
-    char *header_name = "Content-Type";
-    char *header_value = "text/xml";
-    char *str_header = "Content-Type: text/xml; charset=UTF-8\r\n";
+    const char *header_name = "Content-Type";
+    const char *header_value = "text/xml";
+    const char *str_header = "Content-Type: text/xml; charset=UTF-8\r\n";
     axis2_http_header_t *http_header;
     axis2_char_t *external_form = NULL;
 
@@ -92,7 +92,7 @@
 
 void test_url(const axis2_env_t *env)
 {
-    axis2_char_t *str_url = "http://ws.apache.org/axis2/";
+    const axis2_char_t *str_url = "http://ws.apache.org/axis2/";
     axis2_url_t *url = axis2_url_parse_string(env, str_url);
     if(NULL == url)
     {
@@ -233,7 +233,7 @@
 
 int main(void)
 {
-   const axis2_env_t *env = test_init();
+    axis2_env_t *env = test_init();
     test_http_request_line(env);
     test_http_status_line(env);
     test_http_header(env);

Modified: webservices/axis2/trunk/c/test/unit/core/description/test_svc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/unit/core/description/test_svc.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/unit/core/description/test_svc.c (original)
+++ webservices/axis2/trunk/c/test/unit/core/description/test_svc.c Tue Jun  6 03:41:58 2006
@@ -64,8 +64,8 @@
 
     svc = axis2_svc_create(env);
     axis2_param_t *param = NULL;
-    axis2_char_t *param_name = NULL;
-    axis2_char_t *param_value = NULL;
+    const axis2_char_t *param_name = NULL;
+    const axis2_char_t *param_value = NULL;
 
     param_name = "damitha";
     param_value = "kumarage";

Modified: webservices/axis2/trunk/c/test/unit/main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/test/unit/main.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/unit/main.c (original)
+++ webservices/axis2/trunk/c/test/unit/main.c Tue Jun  6 03:41:58 2006
@@ -3,6 +3,7 @@
 #include "core/description/description_test.h"
 #include "core/engine/engine_test.h"
 #include "wsdl/wsdl_test.h"
+#include <stdio.h>
 
 void RunAllTests(void) {
     CuString *output = CuStringNew();

Modified: webservices/axis2/trunk/c/util/include/axis2_file_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_file_handler.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_file_handler.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_file_handler.h Tue Jun  6 03:41:58 2006
@@ -66,7 +66,7 @@
  * @return status
  */
 AXIS2_EXTERN axis2_status_t AXIS2_CALL 
-axis2_file_handler_access(axis2_char_t *path, 
+axis2_file_handler_access(const axis2_char_t *path, 
                             int mode);
 
 /** @} */

Modified: webservices/axis2/trunk/c/util/include/axis2_param.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_param.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_param.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_param.h Tue Jun  6 03:41:58 2006
@@ -80,7 +80,7 @@
      axis2_status_t (AXIS2_CALL *
     set_name)(struct axis2_param *param, 
              const axis2_env_t *env, 
-              axis2_char_t *name);
+              const axis2_char_t *name);
 
     /**
      * Method setValue
@@ -90,7 +90,7 @@
      axis2_status_t (AXIS2_CALL *
     set_value)(struct axis2_param *param, 
              const axis2_env_t *env, 
-             void *value);
+             const void *value);
 
     /**
      * Method isLocked

Modified: webservices/axis2/trunk/c/util/include/axis2_url.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axis2_url.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axis2_url.h (original)
+++ webservices/axis2/trunk/c/util/include/axis2_url.h Tue Jun  6 03:41:58 2006
@@ -122,7 +122,7 @@
 
 AXIS2_EXTERN axis2_url_t * AXIS2_CALL
 axis2_url_parse_string(const axis2_env_t *env, 
-                       axis2_char_t *str_url);
+                       const axis2_char_t *str_url);
 
 /************************** Start of function macros **************************/
 

Modified: webservices/axis2/trunk/c/util/include/platforms/unix/axis2_unix.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/platforms/unix/axis2_unix.h?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/platforms/unix/axis2_unix.h (original)
+++ webservices/axis2/trunk/c/util/include/platforms/unix/axis2_unix.h Tue Jun  6 03:41:58 2006
@@ -236,7 +236,7 @@
 #define AXIS2_GETOPT getopt
 
 /** minizip functions */
-#define axis2_fill_win32_filefunc(ffunc) NULL
+#define axis2_fill_win32_filefunc(ffunc) 
 #define AXIS2_UNZOPEN2(zipfilename,ffunc)    unzOpen2(zipfilename,NULL)
 
 /**

Modified: webservices/axis2/trunk/c/util/src/array_list.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/array_list.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/array_list.c (original)
+++ webservices/axis2/trunk/c/util/src/array_list.c Tue Jun  6 03:41:58 2006
@@ -278,7 +278,7 @@
     if (array_list_impl->size == array_list_impl->capacity)
       if (axis2_array_list_ensure_capacity(array_list, env, array_list_impl->size + 1) != AXIS2_SUCCESS )
           return AXIS2_FAILURE;
-    array_list_impl->data[array_list_impl->size++] = e;
+    array_list_impl->data[array_list_impl->size++] = (void *)e;
     return AXIS2_SUCCESS;
 }
 
@@ -309,7 +309,7 @@
             array_list_impl->data[i] = array_list_impl->data[i - 1];
     }
     
-    array_list_impl->data[index] = e;
+    array_list_impl->data[index] = (void *)e;
     array_list_impl->size++;
     return AXIS2_SUCCESS;
 }

Modified: webservices/axis2/trunk/c/util/src/file_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/file_handler.c?rev=412071&r1=412070&r2=412071&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/file_handler.c (original)
+++ webservices/axis2/trunk/c/util/src/file_handler.c Tue Jun  6 03:41:58 2006
@@ -46,7 +46,7 @@
 }
 
 axis2_status_t AXIS2_CALL 
-axis2_file_handler_access(axis2_char_t *path, 
+axis2_file_handler_access(const axis2_char_t *path, 
                             int mode)
 {
     int i = 0;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org