Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 83276 invoked from network); 17 Jan 2006 09:03:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 09:03:56 -0000 Received: (qmail 88113 invoked by uid 500); 17 Jan 2006 09:03:13 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 87330 invoked by uid 500); 17 Jan 2006 09:03:06 -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 87256 invoked by uid 500); 17 Jan 2006 09:03:06 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 87181 invoked by uid 99); 17 Jan 2006 09:03:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 01:03:04 -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; Tue, 17 Jan 2006 01:02:16 -0800 Received: (qmail 82341 invoked by uid 65534); 17 Jan 2006 09:01:54 -0000 Message-ID: <20060117090154.82338.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r369724 - /webservices/axis2/trunk/c/include/axis2_http_transport_sender.h Date: Tue, 17 Jan 2006 09:01:53 -0000 To: axis2-cvs@ws.apache.org From: samisa@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: samisa Date: Tue Jan 17 01:01:42 2006 New Revision: 369724 URL: http://svn.apache.org/viewcvs?rev=369724&view=rev Log: Changed to return axis2_transport_sender Modified: webservices/axis2/trunk/c/include/axis2_http_transport_sender.h Modified: webservices/axis2/trunk/c/include/axis2_http_transport_sender.h URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_http_transport_sender.h?rev=369724&r1=369723&r2=369724&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_http_transport_sender.h (original) +++ webservices/axis2/trunk/c/include/axis2_http_transport_sender.h Tue Jan 17 01:01:42 2006 @@ -29,6 +29,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" @@ -40,64 +41,10 @@ * @{ */ - typedef struct axis2_http_transport_sender_ops - axis2_http_transport_sender_ops_t; - typedef struct axis2_http_transport_sender axis2_http_transport_sender_t; - -/** - * @brief HTTP Transport Sender ops struct - * Encapsulator struct for ops of axis2_http_transport_sender - */ -AXIS2_DECLARE_DATA struct axis2_http_transport_sender_ops -{ - axis2_status_t (AXIS2_CALL *invoke) - (axis2_http_transport_sender_t *transport_sender, - axis2_env_t **env, axis2_msg_ctx_t *msg_ctx); - - axis2_status_t (AXIS2_CALL *clean_up) - (axis2_http_transport_sender_t *transport_sender, - axis2_env_t **env, axis2_msg_ctx_t *msg_ctx); - - axis2_status_t (AXIS2_CALL *init) - (axis2_http_transport_sender_t *transport_sender, - axis2_env_t **env, axis2_conf_ctx_t *conf_ctx, - axis2_transport_out_desc_t *out_desc); - - axis2_status_t (AXIS2_CALL *free) - (axis2_http_transport_sender_t *transport_sender, - axis2_env_t **env); -}; - -/** - * @brief HTTP Transport Sender - * Axis2 HTTP Transport Sender - */ -AXIS2_DECLARE_DATA struct axis2_http_transport_sender -{ - axis2_http_transport_sender_ops_t *ops; -}; - - -AXIS2_DECLARE(axis2_http_transport_sender_t *) +AXIS2_DECLARE(axis2_transport_sender_t *) axis2_http_transport_sender_create (axis2_env_t **env); -/************************** Start of function macros **************************/ - -#define AXIS2_HTTP_TRANSPORT_SENDER_INVOKE(transport_sender, env, msg_ctx) \ - ((transport_sender)->ops->invoke(\ - transport_sender, env, msg_ctx)) -#define AXIS2_HTTP_TRANSPORT_SENDER_CLEAN_UP(transport_sender, env,msg_ctx) \ - ((transport_sender)->ops->clean_up(\ - transport_sender, env, msg_ctx)) -#define AXIS2_HTTP_TRANSPORT_SENDER_INIT(transport_sender, env, conf_ctx, \ - out_desc) ((transport_sender)->ops->init(\ - transport_sender, env, conf_ctx, out_desc)) -#define AXIS2_HTTP_TRANSPORT_SENDER_FREE(transport_sender, env) \ - ((transport_sender)->ops->free(\ - transport_sender, env)) - -/************************** End of function macros ****************************/ /** @} */ #ifdef __cplusplus