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 da...@apache.org on 2006/02/10 07:48:28 UTC

svn commit: r376579 [1/4] - in /webservices/axis2/trunk/c: modules/core/addr/ modules/core/clientapi/ modules/core/context/ modules/core/deployment/ modules/core/description/ modules/core/engine/ modules/core/transport/http/ modules/core/transport/http...

Author: damitha
Date: Thu Feb  9 22:48:20 2006
New Revision: 376579

URL: http://svn.apache.org/viewcvs?rev=376579&view=rev
Log:
replaced AXIS2_FUNC_PARAM_CHECK with ENV_CHECK

Modified:
    webservices/axis2/trunk/c/modules/core/addr/any_content_type.c
    webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c
    webservices/axis2/trunk/c/modules/core/addr/relates_to.c
    webservices/axis2/trunk/c/modules/core/addr/svc_name.c
    webservices/axis2/trunk/c/modules/core/clientapi/async_result.c
    webservices/axis2/trunk/c/modules/core/clientapi/callback.c
    webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c
    webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c
    webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
    webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c
    webservices/axis2/trunk/c/modules/core/context/ctx.c
    webservices/axis2/trunk/c/modules/core/context/op_ctx.c
    webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c
    webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c
    webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c
    webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c
    webservices/axis2/trunk/c/modules/core/description/dll_desc.c
    webservices/axis2/trunk/c/modules/core/description/flow.c
    webservices/axis2/trunk/c/modules/core/description/flow_container.c
    webservices/axis2/trunk/c/modules/core/description/handler_desc.c
    webservices/axis2/trunk/c/modules/core/description/module_desc.c
    webservices/axis2/trunk/c/modules/core/description/param.c
    webservices/axis2/trunk/c/modules/core/description/param_container.c
    webservices/axis2/trunk/c/modules/core/description/phase_rule.c
    webservices/axis2/trunk/c/modules/core/description/svc.c
    webservices/axis2/trunk/c/modules/core/engine/disp.c
    webservices/axis2/trunk/c/modules/core/engine/disp_checker.c
    webservices/axis2/trunk/c/modules/core/engine/phase.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.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_simple_request.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_status_line.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_worker.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c
    webservices/axis2/trunk/c/modules/core/transport/http/url.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/util/array_list.c
    webservices/axis2/trunk/c/modules/util/file.c
    webservices/axis2/trunk/c/modules/util/qname.c
    webservices/axis2/trunk/c/modules/util/stream.c
    webservices/axis2/trunk/c/modules/util/string.c
    webservices/axis2/trunk/c/modules/util/utils.c
    webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_msg_ref.c
    webservices/axis2/trunk/c/modules/wsdl/wsdl_binding_op.c
    webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c
    webservices/axis2/trunk/c/modules/xml/om/om_attribute.c
    webservices/axis2/trunk/c/modules/xml/om/om_child_element_iterator.c
    webservices/axis2/trunk/c/modules/xml/om/om_children_iterator.c
    webservices/axis2/trunk/c/modules/xml/om/om_children_qname_iterator.c
    webservices/axis2/trunk/c/modules/xml/om/om_children_with_specific_attribute_iterator.c
    webservices/axis2/trunk/c/modules/xml/om/om_comment.c
    webservices/axis2/trunk/c/modules/xml/om/om_doctype.c
    webservices/axis2/trunk/c/modules/xml/om/om_document.c
    webservices/axis2/trunk/c/modules/xml/om/om_element.c
    webservices/axis2/trunk/c/modules/xml/om/om_namespace.c
    webservices/axis2/trunk/c/modules/xml/om/om_node.c
    webservices/axis2/trunk/c/modules/xml/om/om_output.c
    webservices/axis2/trunk/c/modules/xml/om/om_processing_instruction.c
    webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
    webservices/axis2/trunk/c/modules/xml/om/om_text.c
    webservices/axis2/trunk/c/modules/xml/parser/guththila/guththila_xml_reader_wrapper.c
    webservices/axis2/trunk/c/modules/xml/parser/guththila/guththila_xml_writer_wrapper.c
    webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_reader_wrapper.c
    webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_detail.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_node.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_role.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_text.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_value.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_header.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_header_block.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_message.c
    webservices/axis2/trunk/c/test/xml/soap/test_soap.c

Modified: webservices/axis2/trunk/c/modules/core/addr/any_content_type.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/addr/any_content_type.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/any_content_type.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/any_content_type.c Thu Feb  9 22:48:20 2006
@@ -147,7 +147,7 @@
 axis2_any_content_type_get_value_map(axis2_any_content_type_t *any_content_type, 
                                      axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(any_content_type, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(any_content_type)->value_map;
 }
 
@@ -157,7 +157,7 @@
 {
     axis2_any_content_type_impl_t *any_content_type_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(any_content_type, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     any_content_type_impl = AXIS2_INTF_TO_IMPL(any_content_type);
     

Modified: webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c?rev=376579&r1=376578&r2=376579&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 Thu Feb  9 22:48:20 2006
@@ -163,7 +163,7 @@
 axis2_endpoint_ref_t* AXIS2_CALL axis2_msg_info_headers_get_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->to;
 }
 
@@ -175,7 +175,7 @@
 axis2_status_t AXIS2_CALL axis2_msg_info_headers_set_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env, axis2_endpoint_ref_t *to) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_info_headers)->to = to;
     return AXIS2_SUCCESS;
 }
@@ -188,7 +188,7 @@
 axis2_endpoint_ref_t* AXIS2_CALL axis2_msg_info_headers_get_from(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->from;
 }
 
@@ -200,7 +200,7 @@
 axis2_status_t AXIS2_CALL axis2_msg_info_headers_set_from(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env, axis2_endpoint_ref_t *from) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_info_headers)->from = from;
     return AXIS2_SUCCESS;
 }
@@ -213,7 +213,7 @@
 axis2_endpoint_ref_t* AXIS2_CALL axis2_msg_info_headers_get_reply_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->reply_to;
 }
 
@@ -225,7 +225,7 @@
 axis2_status_t AXIS2_CALL axis2_msg_info_headers_set_reply_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env, axis2_endpoint_ref_t *reply_to) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_info_headers)->reply_to = reply_to;
     return AXIS2_SUCCESS;
 }
@@ -238,7 +238,7 @@
 axis2_endpoint_ref_t* AXIS2_CALL axis2_msg_info_headers_get_fault_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->fault_to;
 }
 
@@ -250,7 +250,7 @@
 axis2_status_t AXIS2_CALL axis2_msg_info_headers_set_fault_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env, axis2_endpoint_ref_t *fault_to) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_info_headers)->fault_to = fault_to;
     return AXIS2_SUCCESS;
 }
@@ -263,7 +263,7 @@
 axis2_char_t* AXIS2_CALL axis2_msg_info_headers_get_action(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->action;
 }
 
@@ -275,7 +275,7 @@
 axis2_status_t AXIS2_CALL axis2_msg_info_headers_set_action(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env, axis2_char_t *action) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_info_headers)->action = action;
     return AXIS2_SUCCESS;
 }
@@ -288,7 +288,7 @@
 axis2_char_t* AXIS2_CALL axis2_msg_info_headers_get_message_id(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->message_id;
 }
 
@@ -302,7 +302,7 @@
 {
     axis2_msg_info_headers_impl_t *msg_info_headers_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     msg_info_headers_impl = AXIS2_INTF_TO_IMPL(msg_info_headers);
     
@@ -333,7 +333,7 @@
 axis2_relates_to_t* AXIS2_CALL axis2_msg_info_headers_get_relates_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->relates_to;
 }
 
@@ -345,7 +345,7 @@
 axis2_status_t AXIS2_CALL axis2_msg_info_headers_set_relates_to(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env, axis2_relates_to_t *relates_to) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(msg_info_headers)->relates_to = relates_to;
     return AXIS2_SUCCESS;
 }
@@ -353,7 +353,7 @@
 axis2_array_list_t* AXIS2_CALL axis2_msg_info_headers_get_ref_params(struct axis2_msg_info_headers *msg_info_headers, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(msg_info_headers)->ref_params;
 }
 
@@ -362,7 +362,7 @@
 {
     axis2_msg_info_headers_impl_t *msg_info_headers_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     msg_info_headers_impl = AXIS2_INTF_TO_IMPL(msg_info_headers);
     
@@ -386,7 +386,7 @@
 {
     axis2_msg_info_headers_impl_t *msg_info_headers_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_info_headers, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     msg_info_headers_impl = AXIS2_INTF_TO_IMPL(msg_info_headers);
     

Modified: webservices/axis2/trunk/c/modules/core/addr/relates_to.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/addr/relates_to.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/relates_to.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/relates_to.c Thu Feb  9 22:48:20 2006
@@ -97,7 +97,7 @@
 
 axis2_char_t* AXIS2_CALL axis2_relates_to_get_value(struct axis2_relates_to *relates_to, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(relates_to, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(relates_to)->value;
 }
 
@@ -105,7 +105,7 @@
 {
     axis2_relates_to_impl_t *relates_to_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(relates_to, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     relates_to_impl = AXIS2_INTF_TO_IMPL(relates_to);
     
@@ -130,7 +130,7 @@
 
 axis2_char_t* AXIS2_CALL axis2_relates_to_get_relationship_type(struct axis2_relates_to *relates_to, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(relates_to, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(relates_to)->relationship_type;
 }
 
@@ -138,7 +138,7 @@
 {
     axis2_relates_to_impl_t *relates_to_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(relates_to, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     relates_to_impl = AXIS2_INTF_TO_IMPL(relates_to);
     
@@ -166,7 +166,7 @@
 {
     axis2_relates_to_impl_t *relates_to_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(relates_to, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     relates_to_impl = AXIS2_INTF_TO_IMPL(relates_to);
     

Modified: webservices/axis2/trunk/c/modules/core/addr/svc_name.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/addr/svc_name.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/svc_name.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/svc_name.c Thu Feb  9 22:48:20 2006
@@ -107,7 +107,7 @@
 axis2_qname_t* AXIS2_CALL axis2_svc_name_get_qname(struct axis2_svc_name *svc_name, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(svc_name, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(svc_name)->qname;
 }
 
@@ -121,7 +121,7 @@
 {
     axis2_svc_name_impl_t *svc_name_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(svc_name, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     svc_name_impl = AXIS2_INTF_TO_IMPL(svc_name);
     
@@ -149,7 +149,7 @@
 axis2_char_t* AXIS2_CALL axis2_svc_name_get_endpoint_name(struct axis2_svc_name *svc_name, 
                                                axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(svc_name, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(svc_name)->endpoint_name;
 }
 
@@ -163,7 +163,7 @@
 {
     axis2_svc_name_impl_t *svc_name_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(svc_name, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     svc_name_impl = AXIS2_INTF_TO_IMPL(svc_name);
     
@@ -188,7 +188,7 @@
 {
     axis2_svc_name_impl_t *svc_name_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(svc_name, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     svc_name_impl = AXIS2_INTF_TO_IMPL(svc_name);
     

Modified: webservices/axis2/trunk/c/modules/core/clientapi/async_result.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/async_result.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/async_result.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/async_result.c Thu Feb  9 22:48:20 2006
@@ -75,7 +75,7 @@
 {
     axis2_async_result_impl_t *async_result_impl = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(async_result, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     async_result_impl = AXIS2_INTF_TO_IMPL(async_result);
     
@@ -89,7 +89,7 @@
 
 axis2_msg_ctx_t* AXIS2_CALL axis2_async_result_get_result(struct axis2_async_result *async_result, axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(async_result, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(async_result)->result;
 }
 
@@ -98,7 +98,7 @@
 {
     axis2_async_result_impl_t *async_result_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(async_result, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     async_result_impl = AXIS2_INTF_TO_IMPL(async_result);
     

Modified: webservices/axis2/trunk/c/modules/core/clientapi/callback.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/callback.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/callback.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/callback.c Thu Feb  9 22:48:20 2006
@@ -91,7 +91,7 @@
 
 axis2_status_t AXIS2_CALL axis2_callback_invoke_on_complete(struct axis2_callback *callback, axis2_env_t **env, axis2_async_result_t *result)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return axis2_callback_set_envelope(callback, env, AXIS2_ASYNC_RESULT_GET_ENVELOPE(result, env));
 }
 
@@ -102,13 +102,13 @@
 
 axis2_bool_t AXIS2_CALL axis2_callback_get_complete(struct axis2_callback *callback, axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(callback)->complete;
 }
 
 axis2_status_t AXIS2_CALL axis2_callback_set_complete(struct axis2_callback *callback, axis2_env_t **env, axis2_bool_t complete) 
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(callback)->complete = complete;
     return AXIS2_SUCCESS;
 }
@@ -116,14 +116,14 @@
 axis2_soap_envelope_t* AXIS2_CALL axis2_callback_get_envelope(struct axis2_callback *callback, 
         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(callback)->envelope;
 }
 
 axis2_status_t AXIS2_CALL axis2_callback_set_envelope(struct axis2_callback *callback, 
         axis2_env_t **env, axis2_soap_envelope_t *envelope)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(callback)->envelope = envelope;
     return AXIS2_SUCCESS;
 }
@@ -131,14 +131,14 @@
 int AXIS2_CALL axis2_callback_get_error(struct axis2_callback *callback, 
         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(callback)->error;
 }
 axis2_status_t AXIS2_CALL axis2_callback_set_error(struct axis2_callback *callback, 
         axis2_env_t **env, 
         int error)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(callback)->error = error;
     return AXIS2_SUCCESS;
 }
@@ -148,7 +148,7 @@
 {
     axis2_callback_impl_t *callback_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(callback, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     callback_impl = AXIS2_INTF_TO_IMPL(callback);
     

Modified: webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/callback_recv.c Thu Feb  9 22:48:20 2006
@@ -102,7 +102,7 @@
 axis2_msg_recv_t* AXIS2_CALL axis2_callback_recv_get_base(struct axis2_callback_recv *callback_recv, 
                                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(callback_recv, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(callback_recv)->base;
 }
 
@@ -111,7 +111,7 @@
 {
     axis2_callback_recv_impl_t *callback_recv_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(callback_recv, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     callback_recv_impl = AXIS2_INTF_TO_IMPL(callback_recv);
     
@@ -147,7 +147,7 @@
 {
     axis2_callback_recv_impl_t *callback_recv_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(callback_recv, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     callback_recv_impl = AXIS2_INTF_TO_IMPL(callback_recv);
     
@@ -168,8 +168,7 @@
     axis2_relates_to_t *relates_to = NULL;
     axis2_msg_info_headers_t *msg_info_headers = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, AXIS2_FAILURE);
-    AXIS2_FUNC_PARAM_CHECK(callback_recv_param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     callback_recv = (axis2_callback_recv_t*)callback_recv_param;
     callback_recv_impl = AXIS2_INTF_TO_IMPL(callback_recv);

Modified: webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/listener_manager.c Thu Feb  9 22:48:20 2006
@@ -110,7 +110,7 @@
     axis2_listener_manager_impl_t *listener_manager_impl = NULL;
     axis2_transport_listener_state_t *tl_state = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(listener_manager, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, conf_ctx, AXIS2_FAILURE);
     
     listener_manager_impl = AXIS2_INTF_TO_IMPL(listener_manager);
@@ -187,7 +187,7 @@
     axis2_transport_listener_state_t *tl_state = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(listener_manager, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     listener_manager_impl = AXIS2_INTF_TO_IMPL(listener_manager);
     
@@ -216,7 +216,7 @@
     axis2_listener_manager_impl_t *listener_manager_impl = NULL;
     axis2_transport_listener_state_t *tl_state = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(listener_manager, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     listener_manager_impl = AXIS2_INTF_TO_IMPL(listener_manager);
     
@@ -234,7 +234,7 @@
 {
     axis2_listener_manager_impl_t *listener_manager_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(listener_manager, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     listener_manager_impl = AXIS2_INTF_TO_IMPL(listener_manager);
     

Modified: webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c Thu Feb  9 22:48:20 2006
@@ -506,7 +506,7 @@
     axis2_soap_envelope_t *response_envelope = NULL;
     axis2_char_t *soap_ns_uri = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
 
     conf_ctx = AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env);
     engine = axis2_engine_create(env, conf_ctx);

Modified: webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/msg_sender.c Thu Feb  9 22:48:20 2006
@@ -127,7 +127,7 @@
 {
     axis2_msg_sender_impl_t *msg_sender_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
     
@@ -161,7 +161,7 @@
 	axis2_conf_ctx_t *sys_context = NULL;
 	axis2_engine_t *engine = NULL;
 		
-    AXIS2_FUNC_PARAM_CHECK(msg_sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
     
@@ -210,7 +210,7 @@
     axis2_qname_t *qname = NULL;
 	axis2_svc_ctx_t *svc_ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     msg_sender_impl = AXIS2_INTF_TO_IMPL(msg_sender);
     
 	svc_ctx = AXIS2_MEP_CLIENT_GET_SVC_CTX(msg_sender_impl->base, env);
@@ -250,7 +250,7 @@
     axis2_soap_envelope_t *soap_envelope = NULL;
 	axis2_status_t status = AXIS2_FAILURE;
 	
-    AXIS2_FUNC_PARAM_CHECK(msg_sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, op_name, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, om_node_to_send, AXIS2_FAILURE);
 	
@@ -281,7 +281,7 @@
 	axis2_svc_ctx_t *svc_ctx = NULL;
 	axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, op_name, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, envelope, AXIS2_FAILURE);
     
@@ -331,6 +331,6 @@
 axis2_msg_sender_get_msg_info_headers(axis2_msg_sender_t *msg_sender, 
 						axis2_env_t **env)
 {
-	AXIS2_FUNC_PARAM_CHECK(msg_sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	return AXIS2_INTF_TO_IMPL(msg_sender)->msg_info_headers;
 }

Modified: webservices/axis2/trunk/c/modules/core/context/ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/ctx.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/ctx.c Thu Feb  9 22:48:20 2006
@@ -94,7 +94,7 @@
 {
     axis2_ctx_impl_t *ctx_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     ctx_impl = AXIS2_INTF_TO_IMPL(ctx);
 
@@ -116,7 +116,7 @@
     axis2_ctx_impl_t *ctx_impl = NULL;
     axis2_char_t *ret = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     ctx_impl = AXIS2_INTF_TO_IMPL(ctx);
     
@@ -142,13 +142,13 @@
 axis2_hash_t* AXIS2_CALL 
 axis2_ctx_get_non_persistent_map(struct axis2_ctx *ctx, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(ctx)->non_persistent_map;
 }
 
 axis2_hash_t* AXIS2_CALL axis2_ctx_get_persistent_map(struct axis2_ctx *ctx, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(ctx)->persistent_map;
 }
 
@@ -157,7 +157,7 @@
 {
     axis2_ctx_impl_t *ctx_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     ctx_impl = AXIS2_INTF_TO_IMPL(ctx);
     

Modified: webservices/axis2/trunk/c/modules/core/context/op_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/op_ctx.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/op_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/op_ctx.c Thu Feb  9 22:48:20 2006
@@ -165,7 +165,7 @@
 axis2_ctx_t* AXIS2_CALL axis2_op_ctx_get_base(struct axis2_op_ctx *op_ctx, 
                                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op_ctx)->base;
 }
 
@@ -175,7 +175,7 @@
 {
     axis2_op_ctx_impl_t *op_ctx_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     op_ctx_impl = AXIS2_INTF_TO_IMPL(op_ctx);
     
@@ -212,7 +212,7 @@
     axis2_hash_index_t *hi = NULL;
     void *ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     op_ctx_impl = AXIS2_INTF_TO_IMPL(op_ctx);
     
@@ -256,7 +256,7 @@
  */
 axis2_op_t* AXIS2_CALL axis2_op_ctx_get_op(struct axis2_op_ctx *op_ctx, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op_ctx)->op;
 }
 
@@ -267,7 +267,7 @@
  */
 struct axis2_svc_ctx * AXIS2_CALL axis2_op_ctx_get_parent(struct axis2_op_ctx *op_ctx, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op_ctx)->parent;
 }
 
@@ -283,7 +283,7 @@
 {
     axis2_op_ctx_impl_t *op_ctx_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     op_ctx_impl = AXIS2_INTF_TO_IMPL(op_ctx);
     
@@ -310,7 +310,7 @@
 {
     axis2_op_ctx_impl_t *op_ctx_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     op_ctx_impl = AXIS2_INTF_TO_IMPL(op_ctx);
     
@@ -330,7 +330,7 @@
 axis2_bool_t AXIS2_CALL axis2_op_ctx_get_is_complete(struct axis2_op_ctx *op_ctx, 
     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(op_ctx)->is_complete;
 }
 
@@ -338,7 +338,7 @@
     axis2_env_t **env, 
     axis2_bool_t is_complete) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(op_ctx)->is_complete = is_complete;
     return AXIS2_SUCCESS;
 }
@@ -360,7 +360,7 @@
     axis2_hash_index_t *hi = NULL;
     void *ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     op_ctx_impl = AXIS2_INTF_TO_IMPL(op_ctx);
 
@@ -390,7 +390,7 @@
 {
     axis2_op_ctx_impl_t *op_ctx_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     op_ctx_impl = AXIS2_INTF_TO_IMPL(op_ctx);
     
@@ -415,6 +415,6 @@
 
 axis2_hash_t* AXIS2_CALL axis2_op_ctx_get_msg_ctx_map(struct axis2_op_ctx *op_ctx, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op_ctx)->msg_ctx_map;
 }

Modified: webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/arch_file_data.c?rev=376579&r1=376578&r2=376579&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 Thu Feb  9 22:48:20 2006
@@ -299,7 +299,7 @@
 axis2_arch_file_data_get_msg_recv(axis2_arch_file_data_t *file_data,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(file_data)->msg_recv;
 }
 
@@ -309,7 +309,7 @@
                                     axis2_char_t *msg_recv)
 {
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_recv, AXIS2_FAILURE);
     
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
@@ -328,7 +328,7 @@
 {
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
     
     return AXIS2_FILE_GET_NAME(file_data_impl->file, env);
@@ -360,7 +360,7 @@
 axis2_arch_file_data_get_type(axis2_arch_file_data_t *file_data,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(file_data)->type;
 }
 
@@ -368,7 +368,7 @@
 axis2_arch_file_data_get_file(axis2_arch_file_data_t *file_data,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(file_data)->file;
 }
 
@@ -399,7 +399,7 @@
                                     axis2_char_t *module_name) 
 {
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module_name, AXIS2_FAILURE);
     
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
@@ -430,7 +430,7 @@
                                     axis2_char_t *module_dll_name) 
 {
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module_dll_name, AXIS2_FAILURE);
     
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
@@ -451,7 +451,7 @@
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
     axis2_qname_t *svc_qname = NULL;
     axis2_char_t *svc_name = NULL;
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc_desc, AXIS2_FAILURE);
     
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
@@ -480,7 +480,7 @@
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
     axis2_svc_t *svc = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc_name, AXIS2_FAILURE);
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
     
@@ -500,7 +500,7 @@
 axis2_arch_file_data_get_svc_map(axis2_arch_file_data_t *file_data,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(file_data)->svc_map;
 }
 
@@ -508,7 +508,7 @@
 axis2_arch_file_data_get_deployable_svcs(axis2_arch_file_data_t *file_data,
                                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(file_data)->deployable_svcs;
 }
 
@@ -518,7 +518,7 @@
                                     axis2_array_list_t *deployable_svcs) 
 {
     axis2_arch_file_data_impl_t *file_data_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(file_data, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, deployable_svcs, AXIS2_FAILURE);
     file_data_impl = AXIS2_INTF_TO_IMPL(file_data);
     if(file_data_impl->deployable_svcs)

Modified: webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c Thu Feb  9 22:48:20 2006
@@ -186,7 +186,7 @@
 {
     axis2_repos_listener_impl_t *listener_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(repos_listener, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     listener_impl = AXIS2_INTF_TO_IMPL(repos_listener);
    

Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_grp_builder.c Thu Feb  9 22:48:20 2006
@@ -253,7 +253,7 @@
 {
     axis2_svc_grp_builder_impl_t *grp_builder_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(grp_builder, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module_refs, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc_grp, AXIS2_FAILURE);
     grp_builder_impl = AXIS2_INTF_TO_IMPL(grp_builder);

Modified: webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c Thu Feb  9 22:48:20 2006
@@ -166,7 +166,7 @@
 {
     axis2_ws_info_list_impl_t *info_list_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(ws_info_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     info_list_impl = AXIS2_INTF_TO_IMPL(ws_info_list);
     

Modified: webservices/axis2/trunk/c/modules/core/description/dll_desc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/dll_desc.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/dll_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/dll_desc.c Thu Feb  9 22:48:20 2006
@@ -171,7 +171,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
     
@@ -220,7 +220,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, name, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
@@ -242,7 +242,7 @@
 axis2_dll_desc_get_name(axis2_dll_desc_t *dll_desc,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(dll_desc)->dll_name;
 }
 
@@ -253,7 +253,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
     
@@ -269,7 +269,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
     
@@ -282,7 +282,7 @@
 axis2_dll_desc_get_type (axis2_dll_desc_t *dll_desc,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(dll_desc)->dll_type;
 }
 
@@ -290,7 +290,7 @@
 axis2_dll_desc_get_load_options(axis2_dll_desc_t *dll_desc,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(dll_desc)->load_options;
 }
 
@@ -301,7 +301,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, dl_handler, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
@@ -319,7 +319,7 @@
 axis2_dll_desc_get_dl_handler(axis2_dll_desc_t *dll_desc,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(dll_desc)->dl_handler;
 }
 
@@ -330,7 +330,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
     
@@ -343,7 +343,7 @@
 axis2_dll_desc_get_create_funct(axis2_dll_desc_t *dll_desc,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(dll_desc)->create_funct;
 }
 
@@ -354,7 +354,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
     
@@ -367,7 +367,7 @@
 axis2_dll_desc_get_delete_funct(axis2_dll_desc_t *dll_desc,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(dll_desc)->delete_funct;
 }
 
@@ -378,7 +378,7 @@
 {
     axis2_dll_desc_impl_t *dll_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     dll_desc_impl = AXIS2_INTF_TO_IMPL(dll_desc);
    
     dll_desc_impl->timestamp = timestamp;
@@ -389,6 +389,6 @@
 axis2_dll_desc_get_timestamp (axis2_dll_desc_t *dll_desc,
                                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(dll_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(dll_desc)->timestamp;
 }

Modified: webservices/axis2/trunk/c/modules/core/description/flow.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/flow.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/flow.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/flow.c Thu Feb  9 22:48:20 2006
@@ -104,7 +104,7 @@
 {
     axis2_flow_impl_t *flow_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(flow, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     flow_impl = AXIS2_INTF_TO_IMPL(flow);
     
     if(NULL != flow->ops)
@@ -146,7 +146,7 @@
 {
     axis2_flow_impl_t *flow_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(flow, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, handler, AXIS2_FAILURE);
   
     flow_impl = AXIS2_INTF_TO_IMPL(flow);
@@ -169,7 +169,7 @@
                         axis2_env_t **env,
                         int index)
 {
-    AXIS2_FUNC_PARAM_CHECK(flow, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_ARRAY_LIST_GET(AXIS2_INTF_TO_IMPL(flow)->list, env, index);
 }
@@ -178,7 +178,7 @@
 axis2_flow_get_handler_count(axis2_flow_t *flow,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(flow, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     return AXIS2_ARRAY_LIST_SIZE(AXIS2_INTF_TO_IMPL(flow)->list, env);
 }

Modified: webservices/axis2/trunk/c/modules/core/description/flow_container.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/flow_container.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/flow_container.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/flow_container.c Thu Feb  9 22:48:20 2006
@@ -146,7 +146,7 @@
 axis2_flow_container_free(axis2_flow_container_t *flow_container,
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     if(NULL != flow_container->ops)
         AXIS2_FREE((*env)->allocator, flow_container->ops);
@@ -176,7 +176,7 @@
 axis2_flow_container_get_inflow(axis2_flow_container_t *flow_container,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(flow_container)->in;
 }
 
@@ -191,7 +191,7 @@
 {
     axis2_flow_container_impl_t *container_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, AXIS2_FAILURE); 
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE); 
     container_impl = AXIS2_INTF_TO_IMPL(flow_container);
     if(container_impl->in)
     {
@@ -210,7 +210,7 @@
 axis2_flow_container_get_outflow(axis2_flow_container_t *flow_container,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(flow_container)->out;
 }
 
@@ -225,7 +225,7 @@
 {
     axis2_flow_container_impl_t *container_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     container_impl = AXIS2_INTF_TO_IMPL(flow_container);
     if(container_impl->out)
@@ -245,7 +245,7 @@
 axis2_flow_container_get_fault_inflow(axis2_flow_container_t *flow_container,
                                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(flow_container)->in_fault;
 }
 
@@ -260,7 +260,7 @@
 {
     axis2_flow_container_impl_t *container_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     container_impl = AXIS2_INTF_TO_IMPL(flow_container);
     if(container_impl->in_fault)
     {
@@ -279,7 +279,7 @@
 axis2_flow_container_get_fault_outflow(axis2_flow_container_t *flow_container,
                                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(flow_container)->out_fault;
 }
 
@@ -294,7 +294,7 @@
 {
     axis2_flow_container_impl_t *container_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(flow_container, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, fault_outflow, AXIS2_FAILURE);
     container_impl = AXIS2_INTF_TO_IMPL(flow_container);
     if(container_impl->out_fault)

Modified: webservices/axis2/trunk/c/modules/core/description/handler_desc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/handler_desc.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/handler_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/handler_desc.c Thu Feb  9 22:48:20 2006
@@ -175,7 +175,7 @@
 axis2_qname_t* AXIS2_CALL axis2_handler_desc_get_qname (struct axis2_handler_desc *handler_desc, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler_desc)->qname;
 }
 
@@ -183,7 +183,7 @@
                                                axis2_env_t **env, axis2_qname_t *qname)
 {
     /**TODO: need to have the qname copy constructor here */
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(handler_desc)->qname = AXIS2_QNAME_CLONE(qname, env);
     return AXIS2_SUCCESS;
     
@@ -192,7 +192,7 @@
 axis2_phase_rule_t* AXIS2_CALL axis2_handler_desc_get_rules(struct axis2_handler_desc *handler_desc, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler_desc)->rules;
 }
 
@@ -201,7 +201,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     
@@ -226,7 +226,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     
@@ -238,7 +238,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     
@@ -256,7 +256,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     
@@ -268,7 +268,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     
@@ -282,7 +282,7 @@
 axis2_handler_t* AXIS2_CALL axis2_handler_desc_get_handler(struct axis2_handler_desc *handler_desc, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler_desc)->handler;
 }
 
@@ -293,7 +293,7 @@
     should be freed by the free mechanism. There is a coupling here in trems of freeing */
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     
@@ -312,7 +312,7 @@
 axis2_char_t* AXIS2_CALL axis2_handler_desc_get_class_name(struct axis2_handler_desc *handler_desc, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler_desc)->class_name;
 }
 
@@ -321,7 +321,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     if (handler_desc_impl->class_name)
@@ -346,7 +346,7 @@
 axis2_param_container_t* AXIS2_CALL axis2_handler_desc_get_parent(struct axis2_handler_desc *handler_desc, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler_desc)->parent;
 }
 
@@ -354,7 +354,7 @@
                                                axis2_env_t **env,
                                                 axis2_param_container_t * parent)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(handler_desc)->parent = parent; /* shallow copy, because the parent lives somewhere else*/
     return AXIS2_SUCCESS;
 }
@@ -364,7 +364,7 @@
 {
     axis2_handler_desc_impl_t *handler_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc_impl = AXIS2_INTF_TO_IMPL(handler_desc);
     

Modified: webservices/axis2/trunk/c/modules/core/description/module_desc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/module_desc.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/module_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/module_desc.c Thu Feb  9 22:48:20 2006
@@ -264,7 +264,7 @@
 {
     axis2_module_desc_impl_t * module_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     module_desc_impl = AXIS2_INTF_TO_IMPL(module_desc);
     
@@ -356,7 +356,7 @@
 axis2_module_desc_get_inflow(axis2_module_desc_t *module_desc,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_FLOW_CONTAINER_GET_INFLOW(module_desc->flow_container, env);
 }
@@ -366,7 +366,7 @@
                                     axis2_env_t **env,
                                     axis2_flow_t *inflow)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, inflow, AXIS2_FAILURE);
     
     return AXIS2_FLOW_CONTAINER_SET_INFLOW(module_desc->flow_container, env, 
@@ -377,7 +377,7 @@
 axis2_module_desc_get_outflow(axis2_module_desc_t *module_desc,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_FLOW_CONTAINER_GET_OUTFLOW(module_desc->flow_container, env);
 }
@@ -387,7 +387,7 @@
                                     axis2_env_t **env,
                                     axis2_flow_t *outflow)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, outflow, AXIS2_FAILURE);
     
     return AXIS2_FLOW_CONTAINER_SET_OUTFLOW(module_desc->flow_container, env, 
@@ -398,7 +398,7 @@
 axis2_module_desc_get_fault_inflow(axis2_module_desc_t *module_desc,
                                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_FLOW_CONTAINER_GET_FAULT_INFLOW(module_desc->flow_container, env);
 }
@@ -408,7 +408,7 @@
                                         axis2_env_t **env,
                                         axis2_flow_t *falut_inflow)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, falut_inflow, AXIS2_FAILURE);
     
     return AXIS2_FLOW_CONTAINER_SET_FAULT_INFLOW(module_desc->flow_container,
@@ -419,7 +419,7 @@
 axis2_module_desc_get_fault_outflow(axis2_module_desc_t *module_desc,
                                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_FLOW_CONTAINER_GET_FAULT_OUTFLOW(module_desc->flow_container, env);
 }
 
@@ -428,7 +428,7 @@
                                             axis2_env_t **env,
                                             axis2_flow_t *fault_outflow)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, fault_outflow, AXIS2_FAILURE);
     
     return AXIS2_FLOW_CONTAINER_SET_FAULT_OUTFLOW(module_desc->flow_container, 
@@ -439,7 +439,7 @@
 axis2_module_desc_get_name (axis2_module_desc_t *module_desc,
                                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(module_desc)->qname;
 }
@@ -451,7 +451,7 @@
 {
     axis2_module_desc_impl_t *module_desc_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
     
     module_desc_impl = AXIS2_INTF_TO_IMPL(module_desc);
@@ -475,7 +475,7 @@
     axis2_qname_t *op_qname = NULL;
     axis2_char_t *op_name = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op, AXIS2_FAILURE);
     
     module_desc_impl = AXIS2_INTF_TO_IMPL(module_desc);
@@ -502,7 +502,7 @@
 axis2_module_desc_get_ops (axis2_module_desc_t *module_desc,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(module_desc)->ops;
 }
 
@@ -510,7 +510,7 @@
 axis2_module_desc_get_parent (axis2_module_desc_t *module_desc,
                                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(module_desc)->parent;
 }
 
@@ -519,7 +519,7 @@
                                 axis2_env_t **env,
                                 axis2_conf_t *parent)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, parent, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(module_desc)->parent = parent;
@@ -534,7 +534,7 @@
     axis2_char_t *param_name_l = NULL;
     axis2_status_t ret_status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     param_name_l = AXIS2_PARAM_GET_NAME(param, env);
     if(NULL == param_name_l)
@@ -561,7 +561,7 @@
                                     axis2_env_t **env,
                                     axis2_char_t *name)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, name, NULL);
     
     return AXIS2_PARAM_CONTAINER_GET_PARAM(module_desc->params, env, name);
@@ -571,7 +571,7 @@
 axis2_module_desc_get_params (axis2_module_desc_t *module_desc,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_PARAM_CONTAINER_GET_PARAMS(module_desc->params, env);
 }
@@ -586,7 +586,7 @@
     axis2_bool_t ret_state = AXIS2_FALSE;
     axis2_param_t *param_l = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, param_name, AXIS2_FAILURE);
     
     module_desc_impl = AXIS2_INTF_TO_IMPL(module_desc);
@@ -619,7 +619,7 @@
 axis2_module_desc_get_module(axis2_module_desc_t *module_desc,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(module_desc)->module;
 }
 
@@ -628,7 +628,7 @@
                                 axis2_env_t **env,
                                 axis2_module_t *module) 
 {
-    AXIS2_FUNC_PARAM_CHECK(module_desc, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(module_desc)->module = module;
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/core/description/param.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/param.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/param.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/param.c Thu Feb  9 22:48:20 2006
@@ -144,7 +144,7 @@
 axis2_param_get_name(axis2_param_t *param, 
 							axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(param)->name;
 }
@@ -153,7 +153,7 @@
 axis2_param_get_value(axis2_param_t *param, 
 							axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(param)->value;
 }
@@ -163,7 +163,7 @@
 							axis2_env_t **env, 
 							axis2_char_t *name)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(param)->name = name; /* shallow copy */
     return AXIS2_SUCCESS;
@@ -174,7 +174,7 @@
 							axis2_env_t **env, 
 							void *value)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(param)->value = value; /* shallow copy */
     return AXIS2_SUCCESS;
@@ -184,7 +184,7 @@
 axis2_param_is_locked(axis2_param_t *param, 
 							axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(param)->locked;
 }
 
@@ -193,7 +193,7 @@
 							axis2_env_t **env, 
 							axis2_bool_t value)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(param)->locked = value;
     return AXIS2_SUCCESS;
@@ -203,7 +203,7 @@
 axis2_param_get_param_type(axis2_param_t *param, 
 									axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     return AXIS2_INTF_TO_IMPL(param)->type;
 }
@@ -213,7 +213,7 @@
 									axis2_env_t **env, 
 									int type)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(param)->type = type;
     return AXIS2_SUCCESS;
@@ -225,7 +225,7 @@
 										axis2_env_t **env, 
 										axis2_om_node_t *element)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(param)->param_element = element; /* shallow copy */
     return AXIS2_SUCCESS;
@@ -236,7 +236,7 @@
 axis2_param_get_param_element(axis2_param_t *param, 
 										axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     return AXIS2_INTF_TO_IMPL(param)->param_element;
 }
@@ -247,7 +247,7 @@
 {
     void *param_value = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(param, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     param_value = AXIS2_PARAM_GET_VALUE(param, env);
     if(param_value)

Modified: webservices/axis2/trunk/c/modules/core/description/param_container.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/param_container.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/param_container.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/param_container.c Thu Feb  9 22:48:20 2006
@@ -113,7 +113,7 @@
     axis2_param_container_impl_t *param_container_impl = NULL;
     axis2_status_t status = AXIS2_SUCCESS;
     
-	AXIS2_FUNC_PARAM_CHECK(param_container, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     param_container_impl = AXIS2_INTF_TO_IMPL(param_container);
     
@@ -163,7 +163,7 @@
     axis2_param_container_impl_t *param_container_impl = NULL;
     axis2_char_t *param_name = NULL;
     
-	AXIS2_FUNC_PARAM_CHECK(param_container, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, param, AXIS2_FAILURE);
 	
     param_container_impl = AXIS2_INTF_TO_IMPL(param_container);
@@ -189,7 +189,7 @@
 					axis2_env_t **env, 
 					const axis2_char_t *name)
 {
-	AXIS2_FUNC_PARAM_CHECK(param_container, env, NULL);
+	AXIS2_ENV_CHECK(env, NULL);
 	
 	return (axis2_param_t *)(axis2_hash_get (AXIS2_INTF_TO_IMPL(param_container)->
 		params, name, AXIS2_HASH_KEY_STRING));
@@ -208,7 +208,7 @@
     axis2_array_list_t *array_list_l = axis2_array_list_create(env, 20);
     void *value = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(param_container, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     param_container_impl = AXIS2_INTF_TO_IMPL(param_container);
    
@@ -234,7 +234,7 @@
 {
     axis2_param_t *param = NULL;
     
-	AXIS2_FUNC_PARAM_CHECK(param_container, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
 	param = (axis2_param_t *)(axis2_hash_get (AXIS2_INTF_TO_IMPL(
         param_container)->params, param_name, AXIS2_HASH_KEY_STRING));

Modified: webservices/axis2/trunk/c/modules/core/description/phase_rule.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/phase_rule.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/phase_rule.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/phase_rule.c Thu Feb  9 22:48:20 2006
@@ -120,7 +120,7 @@
 axis2_char_t* AXIS2_CALL axis2_phase_rule_get_before (struct axis2_phase_rule *phase_rule, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(phase_rule)->before;
 }
 
@@ -129,7 +129,7 @@
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_rule_impl = AXIS2_INTF_TO_IMPL(phase_rule);
     if (phase_rule_impl->before)
@@ -155,7 +155,7 @@
 axis2_char_t* AXIS2_CALL axis2_phase_rule_get_after (struct axis2_phase_rule * phase_rule, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(phase_rule)->after;
 }
 
@@ -164,7 +164,7 @@
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_rule_impl = AXIS2_INTF_TO_IMPL(phase_rule);
     if (phase_rule_impl->after)
@@ -190,7 +190,7 @@
 axis2_char_t* AXIS2_CALL axis2_phase_rule_get_name (struct axis2_phase_rule * phase_rule, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(phase_rule)->name;
 }
 
@@ -199,7 +199,7 @@
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_rule_impl = AXIS2_INTF_TO_IMPL(phase_rule);
     if (phase_rule_impl->name)
@@ -226,14 +226,14 @@
 axis2_bool_t AXIS2_CALL axis2_phase_rule_is_phase_first (struct axis2_phase_rule * phase_rule, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(phase_rule)->phase_first;
 }
 
 axis2_status_t AXIS2_CALL axis2_phase_rule_set_phase_first (struct axis2_phase_rule * phase_rule, 
                                        axis2_env_t **env, axis2_bool_t phase_first)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(phase_rule)->phase_first = phase_first;
     return AXIS2_SUCCESS;
 }
@@ -241,14 +241,14 @@
 axis2_bool_t AXIS2_CALL axis2_phase_rule_is_phase_last (struct axis2_phase_rule * phase_rule, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(phase_rule)->phase_last;
 }
 
 axis2_status_t AXIS2_CALL axis2_phase_rule_set_phase_last (struct axis2_phase_rule * phase_rule, 
                                        axis2_env_t **env, axis2_bool_t phase_last)
 {
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(phase_rule)->phase_last = phase_last;
     return AXIS2_SUCCESS;
 }
@@ -259,7 +259,7 @@
 {
     axis2_phase_rule_impl_t *phase_rule_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_rule_impl = AXIS2_INTF_TO_IMPL(phase_rule);
     
@@ -297,7 +297,7 @@
                                    axis2_env_t **env)
 {
     axis2_phase_rule_t *phase_rule_new = NULL;
-    AXIS2_FUNC_PARAM_CHECK(phase_rule, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     phase_rule_new = axis2_phase_rule_create(env, NULL);
     if (!phase_rule_new)

Modified: webservices/axis2/trunk/c/modules/core/description/svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/svc.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/svc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/svc.c Thu Feb  9 22:48:20 2006
@@ -798,7 +798,7 @@
     axis2_svc_grp_t *parent = NULL;
     axis2_bool_t ret = AXIS2_FALSE;
     
-    AXIS2_FUNC_PARAM_CHECK(svc, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, param_name, AXIS2_FALSE);
     
    /*checking the locked value of parent */

Modified: webservices/axis2/trunk/c/modules/core/engine/disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/disp.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/disp.c Thu Feb  9 22:48:20 2006
@@ -137,14 +137,14 @@
 axis2_handler_t* AXIS2_CALL axis2_disp_get_base(struct axis2_disp *disp, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(disp, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(disp)->base;
 }
 
 axis2_qname_t* AXIS2_CALL axis2_disp_get_qname(struct axis2_disp *disp, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(disp, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(disp)->qname;
 }
 
@@ -153,7 +153,7 @@
 {
     axis2_disp_impl_t *disp_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(disp, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     disp_impl = AXIS2_INTF_TO_IMPL(disp);
     
@@ -180,7 +180,7 @@
     axis2_svc_t *axis_service = NULL;
     axis2_op_t *op = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     
     axis_service = AXIS2_MSG_CTX_GET_SVC(msg_ctx, env);
@@ -218,7 +218,7 @@
                     axis2_env_t **env)
 {
     axis2_disp_impl_t *disp_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(disp, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     disp_impl = AXIS2_INTF_TO_IMPL(disp);
     
     if (disp_impl->qname)

Modified: webservices/axis2/trunk/c/modules/core/engine/disp_checker.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/disp_checker.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/disp_checker.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/disp_checker.c Thu Feb  9 22:48:20 2006
@@ -204,7 +204,7 @@
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     axis2_char_t *address = NULL;
 
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 

Modified: webservices/axis2/trunk/c/modules/core/engine/phase.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/phase.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/phase.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/phase.c Thu Feb  9 22:48:20 2006
@@ -290,7 +290,7 @@
     axis2_handler_desc_t *handler_desc = NULL;
     axis2_phase_rule_t *rules = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     handler_desc = AXIS2_HANDLER_GET_HANDLER_DESC(handler, env);
     if (!handler_desc)

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c Thu Feb  9 22:48:20 2006
@@ -115,7 +115,7 @@
 axis2_http_chunked_stream_free(axis2_http_chunked_stream_t *chunked_stream, 
                         axis2_env_t **env)
 {
-	AXIS2_FUNC_PARAM_CHECK(chunked_stream, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(NULL != chunked_stream->ops)
         AXIS2_FREE((*env)->allocator, chunked_stream->ops);
     
@@ -132,7 +132,7 @@
 	axis2_http_chunked_stream_impl_t *chunked_stream_impl = AXIS2_INTF_TO_IMPL
 						(chunked_stream);
     axis2_stream_t *stream = chunked_stream_impl->stream;
-   	AXIS2_FUNC_PARAM_CHECK(chunked_stream, env, AXIS2_FAILURE);
+   	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	if(NULL == buffer)
 	{
@@ -187,7 +187,7 @@
 	axis2_stream_t *stream = AXIS2_INTF_TO_IMPL(chunked_stream)->stream;
 	int len = -1;
 	axis2_char_t tmp_buf[10];
-    AXIS2_FUNC_PARAM_CHECK(chunked_stream, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 		
 	if(NULL == buffer)
 	{
@@ -212,7 +212,7 @@
                         (axis2_http_chunked_stream_t *chunked_stream, 
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(chunked_stream, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(chunked_stream)->current_chunk_size;
 }
 
@@ -227,7 +227,7 @@
 	axis2_char_t *tmp = NULL;
 	int read = -1;
 	axis2_http_chunked_stream_impl_t *chunked_stream_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(chunked_stream, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	chunked_stream_impl = AXIS2_INTF_TO_IMPL(chunked_stream);
 	/* remove the last CRLF of the previous chunk if any */
@@ -274,7 +274,7 @@
                         axis2_env_t **env)
 {
 	axis2_stream_t *stream = NULL;
-	AXIS2_FUNC_PARAM_CHECK(chunked_stream, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	stream = AXIS2_INTF_TO_IMPL(chunked_stream)->stream;
 	if(AXIS2_STREAM_WRITE(stream, env, "0\r\n", 3) == 3)

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_header.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_header.c?rev=376579&r1=376578&r2=376579&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 Thu Feb  9 22:48:20 2006
@@ -57,8 +57,8 @@
 {
     axis2_http_header_impl_t *http_header_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_FUNC_PARAM_CHECK(name, env, NULL);
-    AXIS2_FUNC_PARAM_CHECK(value, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
         
     http_header_impl =  (axis2_http_header_impl_t *)AXIS2_MALLOC 
                         ((*env)->allocator, sizeof(
@@ -99,7 +99,7 @@
 	axis2_char_t *ch2 = NULL;
 	axis2_http_header_t *ret = NULL;
 	AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_FUNC_PARAM_CHECK(str, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
 	
 	tmp_str = AXIS2_STRDUP(str, env);
 	if(NULL == tmp_str)
@@ -136,7 +136,7 @@
 axis2_http_header_free (axis2_http_header_t *header, axis2_env_t **env)
 {
     axis2_http_header_impl_t *http_header_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(header, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     http_header_impl = AXIS2_INTF_TO_IMPL(header);
     
     if(NULL != http_header_impl->name)
@@ -164,7 +164,7 @@
     axis2_http_header_impl_t *http_header_impl = NULL;
     axis2_ssize_t len = 0;
     axis2_char_t *external_form = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     http_header_impl = AXIS2_INTF_TO_IMPL(header);
     len = AXIS2_STRLEN(http_header_impl->name) + 
                 AXIS2_STRLEN(http_header_impl->value) + 4;
@@ -179,7 +179,7 @@
 axis2_char_t* AXIS2_CALL 
 axis2_http_header_get_name (axis2_http_header_t *header, axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(header)->name;
 }
 
@@ -187,6 +187,6 @@
 axis2_char_t* AXIS2_CALL 
 axis2_http_header_get_value (axis2_http_header_t *header, axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(header)->value;
 }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c?rev=376579&r1=376578&r2=376579&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 Thu Feb  9 22:48:20 2006
@@ -61,7 +61,6 @@
 {
     axis2_http_out_transport_info_impl_t *info_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_FUNC_PARAM_CHECK(response, env, NULL);
         
     info_impl = (axis2_http_out_transport_info_impl_t *)AXIS2_MALLOC 
                         ((*env)->allocator, sizeof(
@@ -101,7 +100,7 @@
 						axis2_env_t **env)
 {
     axis2_http_out_transport_info_impl_t *info_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(info, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     info_impl = AXIS2_INTF_TO_IMPL(info);
 	
 	info_impl->response = NULL; /* response doesn't belong to info */
@@ -127,7 +126,7 @@
 	axis2_char_t *tmp2 = NULL;
 	axis2_http_out_transport_info_impl_t *info_impl = NULL;
 	
-	AXIS2_FUNC_PARAM_CHECK(info, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, content_type, AXIS2_FAILURE);
 	
 	info_impl = AXIS2_INTF_TO_IMPL(info);
@@ -159,7 +158,7 @@
 				axis2_char_t *encoding)
 {
     axis2_http_out_transport_info_impl_t *info_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(info, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, encoding, AXIS2_FAILURE);
 	
     info_impl = AXIS2_INTF_TO_IMPL(info);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_request_line.c?rev=376579&r1=376578&r2=376579&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 Thu Feb  9 22:48:20 2006
@@ -119,7 +119,7 @@
                         axis2_env_t **env)
 {
     axis2_http_request_line_impl_t *request_line_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(request_line, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     request_line_impl = AXIS2_INTF_TO_IMPL(request_line);
     
     if(NULL != request_line_impl->method)
@@ -212,7 +212,7 @@
 axis2_http_request_line_get_method(axis2_http_request_line_t *request_line, 
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(request_line, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(request_line)->method;
 }
 
@@ -222,7 +222,7 @@
                             (axis2_http_request_line_t *request_line, 
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(request_line, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(request_line)->http_version;
 }
 
@@ -231,7 +231,7 @@
 axis2_http_request_line_get_uri(axis2_http_request_line_t *request_line, 
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(request_line, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(request_line)->uri;
 }
 
@@ -244,7 +244,7 @@
     int alloc_len = 0;
     axis2_char_t *ret = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(request_line, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     req_line_impl = AXIS2_INTF_TO_IMPL(
                             request_line);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_simple_request.c?rev=376579&r1=376578&r2=376579&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 Thu Feb  9 22:48:20 2006
@@ -120,7 +120,7 @@
 {
     axis2_http_simple_request_impl_t *simple_request_impl = NULL;
     AXIS2_ENV_CHECK(env, NULL);
-    AXIS2_FUNC_PARAM_CHECK(request_line, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     simple_request_impl = (axis2_http_simple_request_impl_t *)AXIS2_MALLOC 
                             ((*env)->allocator, sizeof(
@@ -196,7 +196,7 @@
                         axis2_env_t **env)
 {
     axis2_http_simple_request_impl_t *simple_request_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     simple_request_impl = AXIS2_INTF_TO_IMPL(simple_request);
     /*
@@ -238,7 +238,7 @@
                         (axis2_http_simple_request_t *simple_request, 
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(simple_request)->request_line;
 }
 
@@ -249,7 +249,7 @@
                         axis2_env_t **env, 
                         axis2_http_request_line_t *request_line)
 {
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, request_line, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(simple_request)->request_line = request_line;
     return AXIS2_SUCCESS;
@@ -266,7 +266,7 @@
     axis2_http_simple_request_impl_t *simple_request_impl = NULL;
     int count = 0;
     
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, name, AXIS2_FAILURE);
     
     simple_request_impl = AXIS2_INTF_TO_IMPL(simple_request);
@@ -300,7 +300,7 @@
                         (axis2_http_simple_request_t *simple_request, 
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(simple_request)->header_group;
 }
 
@@ -317,7 +317,7 @@
     axis2_http_header_t *tmp_header = NULL;
     axis2_char_t *tmp_name = NULL;
 
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, str, NULL);
     
     simple_request_impl = AXIS2_INTF_TO_IMPL(simple_request);
@@ -362,7 +362,7 @@
     int count = 0;
     axis2_array_list_t *header_group = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, str, AXIS2_FAILURE);
     
     header_group = AXIS2_INTF_TO_IMPL(simple_request)->header_group;
@@ -400,7 +400,7 @@
                         axis2_env_t **env, axis2_http_header_t *header)
 {
     axis2_http_simple_request_impl_t *simple_request_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, header, AXIS2_FAILURE);
     
     simple_request_impl = AXIS2_INTF_TO_IMPL(
@@ -420,7 +420,7 @@
                         axis2_env_t **env)
 {
     axis2_http_header_t *tmp_header = NULL;
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     tmp_header = axis2_http_simple_request_get_first_header
                         (simple_request, env, AXIS2_HTTP_HEADER_CONTENT_TYPE);
     if(NULL != tmp_header)
@@ -436,7 +436,7 @@
                         axis2_env_t **env)
 {
     axis2_http_header_t *tmp_header  = NULL;
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     tmp_header = axis2_http_simple_request_get_first_header
                         (simple_request, env, AXIS2_HTTP_HEADER_CONTENT_TYPE);
     if(NULL != tmp_header)
@@ -461,7 +461,7 @@
                         axis2_env_t **env)
 {
     axis2_http_header_t *tmp_header = NULL;
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     tmp_header = axis2_http_simple_request_get_first_header
                         (simple_request, env, AXIS2_HTTP_HEADER_CONTENT_LENGTH);
     if(NULL != tmp_header)
@@ -476,7 +476,7 @@
 axis2_http_simple_request_get_body(axis2_http_simple_request_t *simple_request, 
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(simple_request)->stream;
 }
 
@@ -493,7 +493,7 @@
 	int length = 0;
 	int read_len = 0;
 	
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	body = AXIS2_INTF_TO_IMPL(simple_request)->stream;
 	if(NULL == body)
@@ -538,7 +538,7 @@
                     axis2_env_t **env, axis2_char_t *str)
 {
 	axis2_stream_t *body_stream = NULL;
-    AXIS2_FUNC_PARAM_CHECK(simple_request, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, str, AXIS2_FAILURE);
     
 	body_stream = AXIS2_INTF_TO_IMPL(simple_request)->stream;