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 di...@apache.org on 2007/02/02 05:44:06 UTC
svn commit: r502484 - in /webservices/axis2/trunk/c:
axiom/src/parser/guththila/guththila_xml_reader_wrapper.c
guththila/include/guththila_reader.h guththila/src/guththila_reader.c
Author: dinesh
Date: Thu Feb 1 20:44:06 2007
New Revision: 502484
URL: http://svn.apache.org/viewvc?view=rev&rev=502484
Log:
guththila windows build fixed, thanks supun for the patch
Modified:
webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_reader_wrapper.c
webservices/axis2/trunk/c/guththila/include/guththila_reader.h
webservices/axis2/trunk/c/guththila/src/guththila_reader.c
Modified: webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_reader_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_reader_wrapper.c?view=diff&rev=502484&r1=502483&r2=502484
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_reader_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_reader_wrapper.c Thu Feb 1 20:44:06 2007
@@ -245,7 +245,7 @@
axiom_xml_reader_t * AXIS2_CALL
axiom_xml_reader_create_for_io(const axis2_env_t *env,
- int(*read_input_callback)(char *buffer, int size, void* ctx),
+ AXIS2_READ_INPUT_CALLBACK read_input_callback,
int(*close_input_callback)(void *ctx),
void *ctx,
const char *encoding)
Modified: webservices/axis2/trunk/c/guththila/include/guththila_reader.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/include/guththila_reader.h?view=diff&rev=502484&r1=502483&r2=502484
==============================================================================
--- webservices/axis2/trunk/c/guththila/include/guththila_reader.h (original)
+++ webservices/axis2/trunk/c/guththila/include/guththila_reader.h Thu Feb 1 20:44:06 2007
@@ -27,6 +27,7 @@
#include "guththila_defines.h"
#include <axis2_env.h>
#include "guththila_error.h"
+#include <axis2_utils.h>
typedef enum guththila_reader_types
{
@@ -45,12 +46,12 @@
typedef struct guththila_reader_impl_t
{
- guththila_reader_t reader;
- int buffer_size;
- FILE *fp;
- char *buffer;
- int (*input_read_callback)(char *buffer,int size, void *ctx);
- void* context;
+ guththila_reader_t reader;
+ int buffer_size;
+ FILE *fp;
+ char *buffer;
+ AXIS2_READ_INPUT_CALLBACK input_read_callback;
+ void* context;
}guththila_reader_impl_t;
@@ -60,8 +61,7 @@
AXIS2_EXTERN guththila_reader_t * AXIS2_CALL
guththila_reader_create_for_io(axis2_env_t *environment,
- int (*input_read_callback)
- (char *buffer,int size,void* ctx),void *ctx);
+ AXIS2_READ_INPUT_CALLBACK input_read_callback, void *ctx);
AXIS2_EXTERN guththila_reader_t * AXIS2_CALL
guththila_reader_create_for_memory(axis2_env_t *environment,
Modified: webservices/axis2/trunk/c/guththila/src/guththila_reader.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_reader.c?view=diff&rev=502484&r1=502483&r2=502484
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_reader.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_reader.c Thu Feb 1 20:44:06 2007
@@ -53,7 +53,7 @@
AXIS2_EXTERN guththila_reader_t * AXIS2_CALL
guththila_reader_create_for_io(
axis2_env_t *environment,
- int(*input_read_callback)(char *buffer, int size, void* ctx), void* ctx)
+ AXIS2_READ_INPUT_CALLBACK input_read_callback, void* ctx)
{
guththila_reader_impl_t *io_reader =
(guththila_reader_impl_t *) AXIS2_MALLOC(environment->allocator,
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org