From d786335f46d7abea40352c7c0c39e0cd08e431b6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 16 Jul 2007 22:03:54 +0000 Subject: Stub out remainder of DocumentType API. Minor other changes. svn path=/trunk/dom/; revision=3424 --- include/dom/core/document_type.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'include') 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 + * Copyright 2007 James Shaw */ #ifndef dom_core_document_type_h_ #define dom_core_document_type_h_ -#include - #include -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 -- cgit v1.2.3