Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 89461 invoked from network); 7 Apr 2008 04:39:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Apr 2008 04:39:33 -0000 Received: (qmail 42866 invoked by uid 500); 7 Apr 2008 04:39:33 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 42741 invoked by uid 500); 7 Apr 2008 04:39:33 -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 42730 invoked by uid 500); 7 Apr 2008 04:39:33 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 42727 invoked by uid 99); 7 Apr 2008 04:39:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Apr 2008 21:39:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 04:38:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 69E2C1A9832; Sun, 6 Apr 2008 21:39:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r645370 - /webservices/axis2/trunk/c/guththila/include/guththila_buffer.h Date: Mon, 07 Apr 2008 04:39:08 -0000 To: axis2-cvs@ws.apache.org From: lahiru@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080407043909.69E2C1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lahiru Date: Sun Apr 6 21:39:06 2008 New Revision: 645370 URL: http://svn.apache.org/viewvc?rev=645370&view=rev Log: Hackathon:code formattings Modified: webservices/axis2/trunk/c/guththila/include/guththila_buffer.h Modified: webservices/axis2/trunk/c/guththila/include/guththila_buffer.h URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/include/guththila_buffer.h?rev=645370&r1=645369&r2=645370&view=diff ============================================================================== --- webservices/axis2/trunk/c/guththila/include/guththila_buffer.h (original) +++ webservices/axis2/trunk/c/guththila/include/guththila_buffer.h Sun Apr 6 21:39:06 2008 @@ -72,14 +72,42 @@ #define GUTHTHILA_BUF_POS(_buffer, _pos) ((_buffer).buff[(_buffer).cur_buff] + _pos - (_buffer).pre_tot_data) #endif +/** + * This method is the create method of guththila_buffer_s structure + * @param buffer structure which is going to create + * @param size size of the buffer which is going to create + * @param env environment, MUST NOT be NULL. + * return status of op AXIS2_SUCCESS on success, + * AXIS2_FAILURE on error + */ + int GUTHTHILA_CALL guththila_buffer_init(guththila_buffer_t * buffer, int size, const axutil_env_t * env); +/** + * This is the free method of guththila_buffer_s structure + * @param buffer structure which is going to create + * @param env environment, MUST NOT be NULL. + * return status of op AXIS2_SUCCESS on success, + * AXIS2_FAILURE on error + */ + int GUTHTHILA_CALL guththila_buffer_un_init(guththila_buffer_t * buffer, const axutil_env_t * env); +/** + * This method creates a new buffer and copy the content of given + * data by buffer variable + * @param mu_buff structure which is going to create + * @param buffer data to copy in to new buffer + * @param size size of the buffer to create + * @param env environment, MUST NOT be NULL. + * return status of op AXIS2_SUCCESS on success, + * AXIS2_FAILURE on error + */ + int GUTHTHILA_CALL guththila_buffer_init_for_buffer(guththila_buffer_t * mu_buff, @@ -96,9 +124,20 @@ guththila_buffer_next(guththila_buffer_t * buffer, const axutil_env_t * env); + +/** + * This method create new xml element which is having the + * size of cur_buff + * data by buffer variable + * @param buffer + * @param env environment, MUST NOT be NULL. + * return xml element of guththila_buffer_s structure + */ + void *GUTHTHILA_CALL guththila_buffer_get(guththila_buffer_t * buffer, const axutil_env_t * env); + int GUTHTHILA_CALL guththila_buffer_shift(guththila_buffer_t * buffer, --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org