summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-26 13:17:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-26 13:17:08 +0000
commit7233f9f6b42282c407d584e92578bae4b1eb7cb1 (patch)
treedb63c1840db873ab4b0170a3fb030de80d8aa2e5 /include/dom
parenta3ae38c428cfefb0b9c52f551116becebc85ba0b (diff)
downloadlibdom-7233f9f6b42282c407d584e92578bae4b1eb7cb1.tar.gz
libdom-7233f9f6b42282c407d584e92578bae4b1eb7cb1.tar.bz2
Add ability to set a document's doctype after the document has been created
svn path=/trunk/dom/; revision=3462
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/bootstrap/implpriv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dom/bootstrap/implpriv.h b/include/dom/bootstrap/implpriv.h
index aa123e0..d9cc787 100644
--- a/include/dom/bootstrap/implpriv.h
+++ b/include/dom/bootstrap/implpriv.h
@@ -12,6 +12,9 @@
* The DOMImplementation and DOMImplementationList implementations also
* include this, as those types are defined here.
*
+ * The Document implementation includes this as it needs the declaration of
+ * dom_document_set_doctype.
+ *
* No other client should be including this.
*/
@@ -241,4 +244,8 @@ struct dom_implementation_source {
dom_exception dom_register_source(struct dom_implementation_source *source,
dom_alloc alloc, void *pw);
+/* Set a Document's DocumentType */
+dom_exception dom_document_set_doctype(struct dom_document *doc,
+ struct dom_document_type *doctype);
+
#endif