summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dom/core/document_type.h21
-rw-r--r--include/dom/dom.h1
2 files changed, 22 insertions, 0 deletions
diff --git a/include/dom/core/document_type.h b/include/dom/core/document_type.h
new file mode 100644
index 0000000..bb981a3
--- /dev/null
+++ b/include/dom/core/document_type.h
@@ -0,0 +1,21 @@
+/*
+ * 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_document_type_h_
+#define dom_core_document_type_h_
+
+#include <stdbool.h>
+
+#include <dom/core/exceptions.h>
+
+struct dom_string;
+struct dom_document_type;
+
+dom_exception dom_document_type_get_name(struct dom_document_type *docType,
+ struct dom_string **result);
+
+#endif
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 174ad6f..4d17a3f 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -24,6 +24,7 @@
#include <dom/core/attr.h>
#include <dom/core/characterdata.h>
#include <dom/core/document.h>
+#include <dom/core/document_type.h>
#include <dom/core/element.h>
#include <dom/core/exceptions.h>
#include <dom/core/implementation.h>