summaryrefslogtreecommitdiff
path: root/include/dom/core
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-16 22:03:54 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-16 22:03:54 +0000
commitd786335f46d7abea40352c7c0c39e0cd08e431b6 (patch)
tree0c1e39bb569c2faeca640201a5b5caee4fa08373 /include/dom/core
parentae5cd7e15f5211edbf06a9b3dacec4c185d5c13b (diff)
downloadlibdom-d786335f46d7abea40352c7c0c39e0cd08e431b6.tar.gz
libdom-d786335f46d7abea40352c7c0c39e0cd08e431b6.tar.bz2
Stub out remainder of DocumentType API.
Minor other changes. svn path=/trunk/dom/; revision=3424
Diffstat (limited to 'include/dom/core')
-rw-r--r--include/dom/core/document_type.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/include/dom/core/document_type.h b/include/dom/core/document_type.h
index bb981a3..ea614bd 100644
--- a/include/dom/core/document_type.h
+++ b/include/dom/core/document_type.h
@@ -3,19 +3,34 @@
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ * Copyright 2007 James Shaw <EMAIL_ADDRESS>
*/
#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;
+struct dom_namednodemap;
+struct dom_string;
-dom_exception dom_document_type_get_name(struct dom_document_type *docType,
+dom_exception dom_document_type_get_name(struct dom_document_type *doc_type,
+ struct dom_string **result);
+dom_exception dom_document_type_get_entities(
+ struct dom_document_type *doc_type,
+ struct dom_namednodemap **result);
+dom_exception dom_document_type_get_notations(
+ struct dom_document_type *doc_type,
+ struct dom_namednodemap **result);
+dom_exception dom_document_type_get_public_id(
+ struct dom_document_type *doc_type,
+ struct dom_string **result);
+dom_exception dom_document_type_get_system_id(
+ struct dom_document_type *doc_type,
+ struct dom_string **result);
+dom_exception dom_document_type_get_internal_subset(
+ struct dom_document_type *doc_type,
struct dom_string **result);
#endif