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/03/24 05:16:28 UTC
svn commit: r388359 - in /webservices/axis2/trunk/c/include/platforms:
unix/axis2_unix.h unix/axis2_uuid_gen_unix.h
windows/axis2_uuid_gen_windows.h windows/axis2_windows.h
Author: samisa
Date: Thu Mar 23 20:16:26 2006
New Revision: 388359
URL: http://svn.apache.org/viewcvs?rev=388359&view=rev
Log:
Fixes to include sleep and correct UUID function signature
Modified:
webservices/axis2/trunk/c/include/platforms/unix/axis2_unix.h
webservices/axis2/trunk/c/include/platforms/unix/axis2_uuid_gen_unix.h
webservices/axis2/trunk/c/include/platforms/windows/axis2_uuid_gen_windows.h
webservices/axis2/trunk/c/include/platforms/windows/axis2_windows.h
Modified: webservices/axis2/trunk/c/include/platforms/unix/axis2_unix.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/platforms/unix/axis2_unix.h?rev=388359&r1=388358&r2=388359&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/platforms/unix/axis2_unix.h (original)
+++ webservices/axis2/trunk/c/include/platforms/unix/axis2_unix.h Thu Mar 23 20:16:26 2006
@@ -127,7 +127,8 @@
#define AXIS2_STRRCHR(x, y) (strrchr(x, y))
#define AXIS2_PLATFORM_SLEEP(x) sleep(0);
-
+/** sleep function abstraction */
+#define AXIS2_SLEEP sleep
/**
* Get the last error code from the system.
* Please ensure that this is a thread safe implementation
Modified: webservices/axis2/trunk/c/include/platforms/unix/axis2_uuid_gen_unix.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/platforms/unix/axis2_uuid_gen_unix.h?rev=388359&r1=388358&r2=388359&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/platforms/unix/axis2_uuid_gen_unix.h (original)
+++ webservices/axis2/trunk/c/include/platforms/unix/axis2_uuid_gen_unix.h Thu Mar 23 20:16:26 2006
@@ -78,7 +78,7 @@
* @return generated uuid as a string
*/
axis2_char_t* AXIS2_CALL
-axis2_platform_uuid_gen();
+axis2_platform_uuid_gen(char *s);
/** @} */
Modified: webservices/axis2/trunk/c/include/platforms/windows/axis2_uuid_gen_windows.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/platforms/windows/axis2_uuid_gen_windows.h?rev=388359&r1=388358&r2=388359&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/platforms/windows/axis2_uuid_gen_windows.h (original)
+++ webservices/axis2/trunk/c/include/platforms/windows/axis2_uuid_gen_windows.h Thu Mar 23 20:16:26 2006
@@ -30,11 +30,11 @@
* Generate universally unique id
* @return a char pointer to uuid
*/
-AXIS2_DECLARE(axis2_char_t *) axis2_platform_uuid_gen();
+AXIS2_DECLARE(axis2_char_t *) axis2_platform_uuid_gen(char *s);
/** @} */
#ifdef __cplusplus
}
#endif
-#endif /* AXIS2_UDDI_GEN_WINDOWS_H */
\ No newline at end of file
+#endif /* AXIS2_UDDI_GEN_WINDOWS_H */
Modified: webservices/axis2/trunk/c/include/platforms/windows/axis2_windows.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/platforms/windows/axis2_windows.h?rev=388359&r1=388358&r2=388359&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/platforms/windows/axis2_windows.h (original)
+++ webservices/axis2/trunk/c/include/platforms/windows/axis2_windows.h Thu Mar 23 20:16:26 2006
@@ -112,6 +112,7 @@
#define AXIS2_PLATFORM_SLEEP(x) Sleep(0);
+#define AXIS2_SLEEP Sleep
/**
* Get the last error code from the system.
* Please ensure that this is a thread safe implementation