summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-04-29 11:31:03 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-04-29 11:31:03 +0000
commit62ef8dccac05d5cf6e109b6fdd6de11e598e5f9d (patch)
tree2fefb51804918d2ee96b65b68c70b0ff36f325b7
parentd3d77b38ee1e632c28d25da9a9b2b67188d76cc8 (diff)
downloadlibdom-62ef8dccac05d5cf6e109b6fdd6de11e598e5f9d.tar.gz
libdom-62ef8dccac05d5cf6e109b6fdd6de11e598e5f9d.tar.bz2
Add dom_document_fragment, dom_cdata_section, dom_entity_reference, dom_processing_instruction to public DOM interface.
svn path=/trunk/dom/; revision=7363
-rw-r--r--include/dom/core/cdatasection.h12
-rw-r--r--include/dom/core/doc_fragment.h12
-rw-r--r--include/dom/core/entity_ref.h13
-rw-r--r--include/dom/core/pi.h13
-rw-r--r--include/dom/dom.h4
5 files changed, 54 insertions, 0 deletions
diff --git a/include/dom/core/cdatasection.h b/include/dom/core/cdatasection.h
new file mode 100644
index 0000000..74b6643
--- /dev/null
+++ b/include/dom/core/cdatasection.h
@@ -0,0 +1,12 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+#ifndef dom_core_cdatasection_h_
+#define dom_core_cdatasection_h_
+
+typedef struct dom_cdata_section dom_cdata_section;
+
+#endif
diff --git a/include/dom/core/doc_fragment.h b/include/dom/core/doc_fragment.h
new file mode 100644
index 0000000..fdd10f7
--- /dev/null
+++ b/include/dom/core/doc_fragment.h
@@ -0,0 +1,12 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+#ifndef dom_core_documentfragment_h_
+#define dom_core_documentfragment_h_
+
+typedef struct dom_document_fragment dom_document_fragment;
+
+#endif
diff --git a/include/dom/core/entity_ref.h b/include/dom/core/entity_ref.h
new file mode 100644
index 0000000..4a1d64e
--- /dev/null
+++ b/include/dom/core/entity_ref.h
@@ -0,0 +1,13 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef dom_core_entityreference_h_
+#define dom_core_entityreference_h_
+
+typedef struct dom_entity_reference dom_entity_reference;
+
+#endif
diff --git a/include/dom/core/pi.h b/include/dom/core/pi.h
new file mode 100644
index 0000000..af88784
--- /dev/null
+++ b/include/dom/core/pi.h
@@ -0,0 +1,13 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef dom_core_processinginstruction_h_
+#define dom_core_processinginstruction_h_
+
+typedef struct dom_processing_instruction dom_processing_instruction;
+
+#endif
diff --git a/include/dom/dom.h b/include/dom/dom.h
index fd8b9d8..286a51b 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -31,9 +31,13 @@
#include <dom/core/impllist.h>
#include <dom/core/namednodemap.h>
#include <dom/core/node.h>
+#include <dom/core/cdatasection.h>
+#include <dom/core/doc_fragment.h>
+#include <dom/core/entity_ref.h>
#include <dom/core/nodelist.h>
#include <dom/core/string.h>
#include <dom/core/text.h>
+#include <dom/core/pi.h>
typedef enum dom_namespace {
DOM_NAMESPACE_NULL = 0,