You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/09/27 11:46:36 UTC

svn commit: r291878 - in /webservices/axis2/trunk/c: include/axis2c_om_doctype.h include/axis2c_om_document.h modules/xml/om/src/axis2c_om_processing_instruction.c

Author: samisa
Date: Tue Sep 27 02:46:29 2005
New Revision: 291878

URL: http://svn.apache.org/viewcvs?rev=291878&view=rev
Log:
Fixed compiler problems

Modified:
    webservices/axis2/trunk/c/include/axis2c_om_doctype.h
    webservices/axis2/trunk/c/include/axis2c_om_document.h
    webservices/axis2/trunk/c/modules/xml/om/src/axis2c_om_processing_instruction.c

Modified: webservices/axis2/trunk/c/include/axis2c_om_doctype.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2c_om_doctype.h?rev=291878&r1=291877&r2=291878&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2c_om_doctype.h (original)
+++ webservices/axis2/trunk/c/include/axis2c_om_doctype.h Tue Sep 27 02:46:29 2005
@@ -14,19 +14,19 @@
  * limitations under the License.
  */
 
-#ifndef _AXISC_OM_DOCTYPE_H_
-#define _AXISC_OM_DOCTYPE_H_
+#ifndef AXIS2C_OM_DOCTYPE_H
+#define AXIS2C_OM_DOCTYPE_H
 #include <axis2c_node.h>
 
 
 struct om_doctype_s;
 typedef struct om_doctype_s om_doctype_t;
 
-struct om_doctype_s {
+typedef struct axis2c_om_doctype_t {
     char *value;
-};
+}axis2c_om_doctype_t;
 
 axis2c_node_t *create_om_doctype(const char *value);
-char *om_text_get_text(node_t * text_node);
+char *om_text_get_text(axis2c_node_t * text_node);
 
-#endif				//  _AXISC_OM_DOCTYPE_H_
+#endif				//  AXIS2C_OM_DOCTYPE_H

Modified: webservices/axis2/trunk/c/include/axis2c_om_document.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2c_om_document.h?rev=291878&r1=291877&r2=291878&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2c_om_document.h (original)
+++ webservices/axis2/trunk/c/include/axis2c_om_document.h Tue Sep 27 02:46:29 2005
@@ -14,25 +14,23 @@
  * limitations under the License.
  */
 
-#ifndef _AXISC_OM_DOCUMENT_H_
-#define _AXISC_OM_DOCUMENT_H_
-#include "axis2c_node.h"
+#ifndef AXIS2C_OM_DOCUMENT_H
+#define AXIS2C_OM_DOCUMENT_H
+#include <axis2c_node.h>
 
-struct om_document_s;
-typedef struct om_document_s om_document_t;
 
-struct om_document_s
+typedef struct axis2c_om_document_t
 {
 	axis2c_node_t *root_element;
 	axis2c_node_t *first_child;
 	axis2c_node_t *last_child;
 };
 
-om_document_t *create_om_document();
-void free_om_document(om_document_t *document);
+axis2c_om_document_t *axis2c_create_om_document();
+void axis2c_free_om_document(axis2c_om_document_t *document);
 
 
 
 
-#endif // _AXISC_OM_DOCUMENT_H_
+#endif // AXIS2C_OM_DOCUMENT_H
 

Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2c_om_processing_instruction.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2c_om_processing_instruction.c?rev=291878&r1=291877&r2=291878&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/src/axis2c_om_processing_instruction.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/src/axis2c_om_processing_instruction.c Tue Sep 27 02:46:29 2005
@@ -26,7 +26,7 @@
 *   
 */
 
-axis2c_node_t *axis2c_create_om_processing_instruction(axis2c_node_t * parent,
+axis2c_node_t *axis2c_create_om_processing_instruction_with_parent(axis2c_node_t * parent,
 						const char *target,
 						const char *value)
 {