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 sa...@apache.org on 2005/11/16 05:43:51 UTC
svn commit: r344886 - in /webservices/axis2/trunk/c/include:
axis2_om_doctype.h axis2_om_output.h axis2_om_stax_builder.h
Author: samisa
Date: Tue Nov 15 20:43:43 2005
New Revision: 344886
URL: http://svn.apache.org/viewcvs?rev=344886&view=rev
Log:
om_output struct and create function changed
Modified:
webservices/axis2/trunk/c/include/axis2_om_doctype.h
webservices/axis2/trunk/c/include/axis2_om_output.h
webservices/axis2/trunk/c/include/axis2_om_stax_builder.h
Modified: webservices/axis2/trunk/c/include/axis2_om_doctype.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_doctype.h?rev=344886&r1=344885&r2=344886&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_doctype.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_doctype.h Tue Nov 15 20:43:43 2005
@@ -107,5 +107,3 @@
#endif
#endif /* AXIS2_OM_DOCTYPE_H */
-
-
Modified: webservices/axis2/trunk/c/include/axis2_om_output.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_output.h?rev=344886&r1=344885&r2=344886&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_output.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_output.h Tue Nov 15 20:43:43 2005
@@ -25,6 +25,7 @@
#include <axis2_defines.h>
#include <axis2_env.h>
#include <axis2_om_node.h>
+#include <axis2_xml_writer.h>
#ifdef __cplusplus
extern "C"
@@ -47,7 +48,7 @@
typedef struct axis2_om_output
{
/** xml stream writer. Should implement the Guththila pull parser interface */
- void *xml_writer;
+ axis2_xml_writer_t *xml_writer;
/* following fields are not used currently but will be used in the future */
axis2_bool_t do_optimize;
@@ -71,7 +72,7 @@
*/
AXIS2_DECLARE(axis2_om_output_t*)
- axis2_om_output_create (axis2_env_t **environment, void *xml_writer, void* writer_env);
+ axis2_om_output_create (axis2_env_t **environment, axis2_xml_writer_t *xml_writer);
/**
* Performs xml writing.
@@ -95,5 +96,3 @@
#endif
#endif /* AXIS2_OM_OUTPUT_H */
-
-
Modified: webservices/axis2/trunk/c/include/axis2_om_stax_builder.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_stax_builder.h?rev=344886&r1=344885&r2=344886&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_stax_builder.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_stax_builder.h Tue Nov 15 20:43:43 2005
@@ -103,16 +103,10 @@
/**
* creates an stax builder
* @param environment Environment. MUST NOT be NULL, if NULL behaviour is undefined.
- * @param parser pull parser to be used by the builder. Parser should implement the
- * Guththila interface. If NULL, default xml parser
- * (guththila pull parser) will be created with stdin as the input stream.
- * @param parser_env parser envioronment. Optional, can be NULL.
* @return a pointer to the newly created builder struct.
*/
AXIS2_DECLARE(axis2_om_stax_builder_t *)
- axis2_om_stax_builder_create (axis2_env_t **env,
- void *parser,
- void* parser_env);
+ axis2_om_stax_builder_create (axis2_env_t **env,void* stream);
/** builds next node */
#define AXIS2_OM_STAX_BUILDER_NEXT(builder,env) \