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 na...@apache.org on 2006/03/02 05:20:17 UTC
svn commit: r382291 - in /webservices/axis2/trunk/c/include: axis2.h
axis2_network_handler.h axis2_param_container.h
Author: nandika
Date: Wed Mar 1 20:20:15 2006
New Revision: 382291
URL: http://svn.apache.org/viewcvs?rev=382291&view=rev
Log:
added calling convention for compiling on win32
Modified:
webservices/axis2/trunk/c/include/axis2.h
webservices/axis2/trunk/c/include/axis2_network_handler.h
webservices/axis2/trunk/c/include/axis2_param_container.h
Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=382291&r1=382290&r2=382291&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Wed Mar 1 20:20:15 2006
@@ -92,7 +92,7 @@
* @{
*/
-typedef int (*AXIS2_FREE_VOID_ARG) (void *obj_to_be_freed, axis2_env_t **env);
+typedef int (AXIS2_CALL *AXIS2_FREE_VOID_ARG) (void *obj_to_be_freed, axis2_env_t **env);
/**
* \brief Axis2 scopes
Modified: webservices/axis2/trunk/c/include/axis2_network_handler.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_network_handler.h?rev=382291&r1=382290&r2=382291&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_network_handler.h (original)
+++ webservices/axis2/trunk/c/include/axis2_network_handler.h Wed Mar 1 20:20:15 2006
@@ -43,7 +43,7 @@
* @param port port of the service
* @return opened socket
*/
-AXIS2_DECLARE(int)
+AXIS2_DECLARE(axis2_socket_t)
axis2_network_handler_open_socket(axis2_env_t **env, char *server, int port);
/**
@@ -51,7 +51,7 @@
* @param port port of the socket to be bound
* @return creates server socket
*/
-AXIS2_DECLARE(int)
+AXIS2_DECLARE(axis2_socket_t)
axis2_network_handler_create_server_socket(axis2_env_t **env, int port);
/**
@@ -60,7 +60,7 @@
* @return status code
*/
AXIS2_DECLARE(axis2_status_t)
-axis2_network_handler_close_socket (axis2_env_t **env, int socket);
+axis2_network_handler_close_socket (axis2_env_t **env, axis2_socket_t socket);
/**
* used to set up socket options such as timeouts, non-blocking ..etc
@@ -70,7 +70,7 @@
* @return status of the operations as axis2_status_t
*/
AXIS2_DECLARE(axis2_status_t)
-axis2_network_handler_set_sock_option(axis2_env_t **env, int socket, int option,
+axis2_network_handler_set_sock_option(axis2_env_t **env, axis2_socket_t socket, int option,
int value);
/**
* Accepts remote connections for a server socket
@@ -78,7 +78,7 @@
* @return created socket to handle the incoming client connection
*/
AXIS2_DECLARE(int)
-axis2_network_handler_svr_socket_accept(axis2_env_t **env, int socket);
+axis2_network_handler_svr_socket_accept(axis2_env_t **env, axis2_socket_t socket);
/**
* Returns the ip address of the server associated with the socket
Modified: webservices/axis2/trunk/c/include/axis2_param_container.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_param_container.h?rev=382291&r1=382290&r2=382291&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_param_container.h (original)
+++ webservices/axis2/trunk/c/include/axis2_param_container.h Wed Mar 1 20:20:15 2006
@@ -48,7 +48,7 @@
* type of function implemented. When the param value is set this function
* should also be assigned to param free function
*/
-typedef axis2_status_t (*AXIS2_PARAM_VALUE_FREE) (void *param, axis2_env_t **env);
+typedef axis2_status_t (AXIS2_CALL *AXIS2_PARAM_VALUE_FREE)(void *param, axis2_env_t **env);
/** @defgroup axis2_param_container Parameter Container
* @ingroup axis2_description