You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by la...@apache.org on 2008/04/07 06:39:08 UTC

svn commit: r645370 - /webservices/axis2/trunk/c/guththila/include/guththila_buffer.h

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