Owen Rudge : include: Add partial wsdxmldom.h.
Alexandre Julliard
julliard at winehq.org
Mon Apr 3 14:01:47 CDT 2017
Module: wine
Branch: master
Commit: 604f36dd043b54f6cbba09d7d97be5d1edd44bc2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=604f36dd043b54f6cbba09d7d97be5d1edd44bc2
Author: Owen Rudge <orudge at codeweavers.com>
Date: Wed Mar 29 22:52:39 2017 +0100
include: Add partial wsdxmldom.h.
Signed-off-by: Owen Rudge <orudge at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/Makefile.in | 1 +
include/wsdxmldom.h | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 9ee3d52..10fea7e 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -686,6 +686,7 @@ HEADER_SRCS = \
ws2ipdef.h \
ws2spi.h \
ws2tcpip.h \
+ wsdxmldom.h \
wshisotp.h \
wsipx.h \
wsnwlink.h \
diff --git a/include/wsdxmldom.h b/include/wsdxmldom.h
new file mode 100644
index 0000000..59e481c
--- /dev/null
+++ b/include/wsdxmldom.h
@@ -0,0 +1,87 @@
+/*
+ * Copyright 2017 Owen Rudge for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __WSDXMLDOM_H__
+#define __WSDXMLDOM_H__
+
+typedef struct _WSDXML_TYPE WSDXML_TYPE;
+typedef struct _WSDXML_NAMESPACE WSDXML_NAMESPACE;
+typedef struct _WSDXML_NAME WSDXML_NAME;
+typedef struct _WSDXML_PREFIX_MAPPING WSDXML_PREFIX_MAPPING;
+typedef struct _WSDXML_ATTRIBUTE WSDXML_ATTRIBUTE;
+typedef struct _WSDXML_NODE WSDXML_NODE;
+typedef struct _WSDXML_ELEMENT WSDXML_ELEMENT;
+
+struct _WSDXML_TYPE
+{
+ const WCHAR *Uri;
+ const BYTE *Table;
+};
+
+struct _WSDXML_NAMESPACE
+{
+ const WCHAR *Uri;
+ const WCHAR *PreferredPrefix;
+ WSDXML_NAME *Names;
+ WORD NamesCount;
+ WORD Encoding;
+};
+
+struct _WSDXML_NAME
+{
+ WSDXML_NAMESPACE *Space;
+ WCHAR *LocalName;
+};
+
+struct _WSDXML_PREFIX_MAPPING
+{
+ DWORD Refs;
+ WSDXML_PREFIX_MAPPING *Next;
+ WSDXML_NAMESPACE *Space;
+ WCHAR *Prefix;
+};
+
+struct _WSDXML_ATTRIBUTE
+{
+ WSDXML_ELEMENT *Element;
+ WSDXML_ATTRIBUTE *Next;
+ WSDXML_NAME *Name;
+ WCHAR *Value;
+};
+
+struct _WSDXML_NODE
+{
+ enum
+ {
+ ElementType,
+ TextType
+ } Type;
+ WSDXML_ELEMENT *Parent;
+ WSDXML_NODE *Next;
+};
+
+struct _WSDXML_ELEMENT
+{
+ WSDXML_NODE Node;
+ WSDXML_NAME *Name;
+ WSDXML_ATTRIBUTE *FirstAttribute;
+ WSDXML_NODE *FirstChild;
+ WSDXML_PREFIX_MAPPING *PrefixMappings;
+};
+
+#endif /* __WSDXMLDOM_H__ */
More information about the wine-cvs
mailing list