diff options
Diffstat (limited to 'include/dom')
-rw-r--r-- | include/dom/core/document_type.h | 23 |
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 |