summaryrefslogtreecommitdiff
path: root/src/utils/namespace.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-04-07 23:28:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-04-07 23:28:32 +0000
commit05a3cf37e14017a3593ed9e17e4a83b003ef29d6 (patch)
tree545dfc0006eeddcd000a1071c7c62afe3e47e5b5 /src/utils/namespace.h
parent1a3c1680b48a36b1f20ae40ee80ebc8d45e81ce1 (diff)
downloadlibdom-05a3cf37e14017a3593ed9e17e4a83b003ef29d6.tar.gz
libdom-05a3cf37e14017a3593ed9e17e4a83b003ef29d6.tar.bz2
s/struct dom_string/dom_string/g
svn path=/trunk/libdom/; revision=12172
Diffstat (limited to 'src/utils/namespace.h')
-rw-r--r--src/utils/namespace.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/utils/namespace.h b/src/utils/namespace.h
index 900c9ee..221e9da 100644
--- a/src/utils/namespace.h
+++ b/src/utils/namespace.h
@@ -10,10 +10,9 @@
#include <dom/functypes.h>
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
struct dom_document;
-struct dom_string;
-
/* Initialise the namespace component */
dom_exception _dom_namespace_initialise(dom_alloc alloc, void *pw);
@@ -22,18 +21,18 @@ dom_exception _dom_namespace_initialise(dom_alloc alloc, void *pw);
dom_exception _dom_namespace_finalise(void);
/* Ensure a QName is valid */
-dom_exception _dom_namespace_validate_qname(struct dom_string *qname,
- struct dom_string *namespace);
+dom_exception _dom_namespace_validate_qname(dom_string *qname,
+ dom_string *namespace);
/* Split a QName into a namespace prefix and localname string */
-dom_exception _dom_namespace_split_qname(struct dom_string *qname,
- struct dom_string **prefix, struct dom_string **localname);
+dom_exception _dom_namespace_split_qname(dom_string *qname,
+ dom_string **prefix, dom_string **localname);
/* Get the XML prefix dom_string */
-struct dom_string *_dom_namespace_get_xml_prefix(void);
+dom_string *_dom_namespace_get_xml_prefix(void);
/* Get the XMLNS prefix dom_string */
-struct dom_string *_dom_namespace_get_xmlns_prefix(void);
+dom_string *_dom_namespace_get_xmlns_prefix(void);
#endif