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/02/20 10:24:03 UTC

svn commit: r379065 - in /webservices/axis2/trunk/c: include/ modules/core/transport/http/receiver/ modules/core/transport/http/sender/ modules/platforms/unix/ modules/util/ samples/client/addr_echo/ samples/client/echo/ samples/client/google/ samples/...

Author: samisa
Date: Mon Feb 20 01:23:58 2006
New Revision: 379065

URL: http://svn.apache.org/viewcvs?rev=379065&view=rev
Log:
Fixed the platform header dependancy. This is a problem when clients are using headers out of the source tree.
Users should be able to use the headers only in the include folder

Added:
    webservices/axis2/trunk/c/modules/util/axis2_file.h
      - copied, changed from r379052, webservices/axis2/trunk/c/include/axis2_file.h
Removed:
    webservices/axis2/trunk/c/include/axis2_file.h
Modified:
    webservices/axis2/trunk/c/include/axis2.h
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/Makefile.am
    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/platforms/unix/uuid_gen_unix.c
    webservices/axis2/trunk/c/modules/util/utils.c
    webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c
    webservices/axis2/trunk/c/samples/client/echo/echo_client.c
    webservices/axis2/trunk/c/samples/client/google/google_client.c
    webservices/axis2/trunk/c/samples/client/math/math_client.c
    webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c

Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Mon Feb 20 01:23:58 2006
@@ -22,7 +22,6 @@
  * @brief Axis2c specific global declarations
  */
 
-#include <axis2_platform_auto_sense.h>
 #include <axis2_env.h>
 
 /** This macro is called to check whether structure on which function is called

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/Makefile.am?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/Makefile.am Mon Feb 20 01:23:58 2006
@@ -1,6 +1,6 @@
 TESTS =
 lib_LTLIBRARIES = libaxis2_http_receiver.la
-AM_CPPFLAGS = $(CPPFLAGS)
+AM_CPPFLAGS = $(CPPFLAGS) -laxis2_unix
 libaxis2_http_receiver_la_SOURCES = simple_http_svr_conn.c\
 				                    http_response_writer.c\
                                     http_svr_thread.c\

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c Mon Feb 20 01:23:58 2006
@@ -19,6 +19,7 @@
 #include <axis2_string.h>
 #include <axis2_network_handler.h>
 #include <axis2_http_chunked_stream.h>
+#include <axis2_platform_auto_sense.h>
 
 /** 
  * @brief Simple HTTP Server Connection struct impl

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c Mon Feb 20 01:23:58 2006
@@ -23,6 +23,7 @@
 #include <axis2_http_header.h>
 #include <axis2_http_status_line.h>
 #include <axis2_http_chunked_stream.h>
+#include <axis2_platform_auto_sense.h>
 
 
 /** 

Modified: webservices/axis2/trunk/c/modules/platforms/unix/uuid_gen_unix.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/platforms/unix/uuid_gen_unix.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/platforms/unix/uuid_gen_unix.c (original)
+++ webservices/axis2/trunk/c/modules/platforms/unix/uuid_gen_unix.c Mon Feb 20 01:23:58 2006
@@ -24,6 +24,7 @@
 #include <linux/if.h>
 #include <sys/time.h>
 #include <axis2_uuid_gen_unix.h>
+#include <axis2_platform_auto_sense.h>
 
 	
 /* We need these static variables to track throughout the program execution */

Copied: webservices/axis2/trunk/c/modules/util/axis2_file.h (from r379052, webservices/axis2/trunk/c/include/axis2_file.h)
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/axis2_file.h?p2=webservices/axis2/trunk/c/modules/util/axis2_file.h&p1=webservices/axis2/trunk/c/include/axis2_file.h&r1=379052&r2=379065&rev=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_file.h (original)
+++ webservices/axis2/trunk/c/modules/util/axis2_file.h Mon Feb 20 01:23:58 2006
@@ -21,6 +21,7 @@
 #include <axis2_error.h>
 #include <axis2_env.h>
 #include <axis2.h>
+#include <axis2_platform_auto_sense.h>
 
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/modules/util/utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/utils.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/utils.c (original)
+++ webservices/axis2/trunk/c/modules/util/utils.c Mon Feb 20 01:23:58 2006
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <axis2_string.h>
 #include <string.h>
+#include <axis2_platform_auto_sense.h>
 
 AXIS2_DECLARE(axis2_char_t**)
 axis2_parse_request_url_for_svc_and_op(axis2_env_t **env, 

Modified: webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c Mon Feb 20 01:23:58 2006
@@ -36,6 +36,7 @@
 #include <axis2_soap_fault.h>
 #include <axis2_soap_fault_code.h>
 #include <axis2_soap_fault_role.h>
+#include <axis2_platform_auto_sense.h>
 
 axis2_om_node_t *
 build_om_programatically(axis2_env_t **env);

Modified: webservices/axis2/trunk/c/samples/client/echo/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo/echo_client.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/echo_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/echo/echo_client.c Mon Feb 20 01:23:58 2006
@@ -36,6 +36,7 @@
 #include <axis2_soap_fault.h>
 #include <axis2_soap_fault_code.h>
 #include <axis2_soap_fault_role.h>
+#include <axis2_platform_auto_sense.h>
 
 axis2_om_node_t *
 build_om_programatically(axis2_env_t **env);

Modified: webservices/axis2/trunk/c/samples/client/google/google_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/google/google_client.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/google/google_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/google/google_client.c Mon Feb 20 01:23:58 2006
@@ -38,6 +38,7 @@
 #include <axis2_om_node.h>
 #include <axis2_msg_ctx.h>
 #include <axis2_call.h>
+#include <axis2_platform_auto_sense.h>
 
 axis2_om_node_t *
 build_soap_body_content(axis2_env_t **env, axis2_char_t *operation, axis2_char_t *google_key, 

Modified: webservices/axis2/trunk/c/samples/client/math/math_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/math/math_client.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/math_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/math/math_client.c Mon Feb 20 01:23:58 2006
@@ -36,6 +36,7 @@
 #include <axis2_soap_fault.h>
 #include <axis2_soap_fault_code.h>
 #include <axis2_soap_fault_role.h>
+#include <axis2_platform_auto_sense.h>
 
 axis2_om_node_t *
 build_om_programatically(axis2_env_t **env, axis2_char_t *operation, axis2_char_t *param1, axis2_char_t *param2);

Modified: webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c?rev=379065&r1=379064&r2=379065&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c (original)
+++ webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c Mon Feb 20 01:23:58 2006
@@ -11,6 +11,7 @@
 #include <axis2_soap_body.h>
 #include <axis2_msg_ctx.h>
 #include <axis2_conf_ctx.h>
+#include <axis2_platform_auto_sense.h>
 
 void axis2_test_call_invoke_blocking()
 {