From cbfa1de186b10ca7fd192ca7d30e8466939f2a92 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 24 Sep 2007 23:26:04 +0000 Subject: Move attributes field to struct dom_element as it doesn't apply to other node types. svn path=/trunk/dom/; revision=3590 --- src/core/element.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/core/element.h') diff --git a/src/core/element.h b/src/core/element.h index 2a79997..f51b9ae 100644 --- a/src/core/element.h +++ b/src/core/element.h @@ -8,10 +8,13 @@ #ifndef dom_internal_core_element_h_ #define dom_internal_core_element_h_ +#include + #include struct dom_document; struct dom_element; +struct dom_namednodemap; struct dom_string; dom_exception dom_element_create(struct dom_document *doc, @@ -20,4 +23,9 @@ dom_exception dom_element_create(struct dom_document *doc, void dom_element_destroy(struct dom_document *doc, struct dom_element *element); +dom_exception dom_element_get_attributes(struct dom_element *element, + struct dom_namednodemap **result); + +dom_exception dom_element_has_attributes(struct dom_element *element, + bool *result); #endif -- cgit v1.2.3