Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 1962 invoked from network); 2 Mar 2006 04:20:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Mar 2006 04:20:58 -0000 Received: (qmail 80217 invoked by uid 500); 2 Mar 2006 04:21:43 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 80151 invoked by uid 500); 2 Mar 2006 04:21:43 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 80140 invoked by uid 500); 2 Mar 2006 04:21:43 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 80137 invoked by uid 99); 2 Mar 2006 04:21:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 20:21:43 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Mar 2006 20:21:42 -0800 Received: (qmail 1536 invoked by uid 65534); 2 Mar 2006 04:20:18 -0000 Message-ID: <20060302042018.1535.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382291 - in /webservices/axis2/trunk/c/include: axis2.h axis2_network_handler.h axis2_param_container.h Date: Thu, 02 Mar 2006 04:20:17 -0000 To: axis2-cvs@ws.apache.org From: nandika@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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