[Expat-checkins] expat/lib expat.h,1.22,1.23 xmlparse.c,1.41,1.42 xmlrole.h,1.4,1.5

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Tue Jun 4 21:14:01 2002


Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4343/lib

Modified Files:
	expat.h xmlparse.c xmlrole.h 
Log Message:
VMS support, contributed by Craig Berry.

Index: expat.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/expat.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- expat.h	22 May 2002 04:04:39 -0000	1.22
+++ expat.h	5 Jun 2002 04:13:10 -0000	1.23
@@ -5,6 +5,15 @@
 #ifndef XmlParse_INCLUDED
 #define XmlParse_INCLUDED 1
 
+#ifdef __VMS
+/*      0        1         2         3      0        1         2         3
+        1234567890123456789012345678901     1234567890123456789012345678901 */
+#define XML_SetProcessingInstructionHandler XML_SetProcessingInstrHandler   
+#define XML_SetUnparsedEntityDeclHandler    XML_SetUnparsedEntDeclHandler   
+#define XML_SetStartNamespaceDeclHandler    XML_SetStartNamespcDeclHandler  
+#define XML_SetExternalEntityRefHandlerArg  XML_SetExternalEntRefHandlerArg 
+#endif
+
 #include <stdlib.h>
 
 #ifndef XMLPARSEAPI

Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- xmlparse.c	23 May 2002 18:50:51 -0000	1.41
+++ xmlparse.c	5 Jun 2002 04:13:10 -0000	1.42
@@ -2,6 +2,10 @@
    See the file COPYING for copying permission.
 */
 
+#ifdef __VMS
+#include <string.h> /* memset(), memcpy() */
+#endif
+
 #ifdef COMPILED_FROM_DSP
 
 #include "winconfig.h"

Index: xmlrole.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlrole.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- xmlrole.h	18 May 2002 03:34:44 -0000	1.4
+++ xmlrole.h	5 Jun 2002 04:13:10 -0000	1.5
@@ -6,6 +6,12 @@
 #ifndef XmlRole_INCLUDED
 #define XmlRole_INCLUDED 1
 
+#ifdef __VMS
+/*      0        1         2         3      0        1         2         3
+        1234567890123456789012345678901     1234567890123456789012345678901 */
+#define XmlPrologStateInitExternalEntity    XmlPrologStateInitExternalEnt   
+#endif
+
 #include "xmltok.h"
 
 #ifdef __cplusplus