axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r566904 - in /webservices/axis2/trunk/c/axiom: include/axiom_data_handler.h src/attachments/data_handler.c
Date Fri, 17 Aug 2007 02:05:42 GMT
Author: samisa
Date: Thu Aug 16 19:05:41 2007
New Revision: 566904

URL: http://svn.apache.org/viewvc?view=rev&rev=566904
Log:
Added the patch by Subra to get the buffer and buffer length

Modified:
    webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h
    webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c

Modified: webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h?view=diff&rev=566904&r1=566903&r2=566904
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_data_handler.h Thu Aug 16 19:05:41 2007
@@ -59,6 +59,10 @@
     axiom_data_handler_get_input_stream(axiom_data_handler_t *data_handler,
         const axutil_env_t *env);
 
+    AXIS2_EXTERN int AXIS2_CALL
+    axiom_data_handler_get_input_stream_len(axiom_data_handler_t *data_handler,
+        const axutil_env_t *env);
+
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
     axiom_data_handler_read_from(axiom_data_handler_t *data_handler,
         const axutil_env_t *env,

Modified: webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c?view=diff&rev=566904&r1=566903&r2=566904
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/data_handler.c Thu Aug 16 19:05:41 2007
@@ -121,7 +121,14 @@
 axiom_data_handler_get_input_stream(axiom_data_handler_t *data_handler, 
     const axutil_env_t *env)
 {
-    return (axis2_byte_t *)"";
+    return (axis2_byte_t *)data_handler->buffer;
+}
+
+AXIS2_EXTERN int AXIS2_CALL
+axiom_data_handler_get_input_stream_len(axiom_data_handler_t *data_handler, 
+    const axutil_env_t *env)
+{
+    return data_handler->buffer_len;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message