summaryrefslogtreecommitdiff
path: root/include/dom/core/document.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-03 18:08:01 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-03 18:08:01 +0000
commit702d96e703473dbe4481a42c472b4aae423a51d1 (patch)
tree9dc767860ebea940f1d936d14d69073b4e289c92 /include/dom/core/document.h
parenteeb651eadb47228ad41c21b80d75afc17c2924f8 (diff)
downloadlibdom-702d96e703473dbe4481a42c472b4aae423a51d1.tar.gz
libdom-702d96e703473dbe4481a42c472b4aae423a51d1.tar.bz2
Rationalise dom_string (some consideration is required as to what happens wrt interning -- lwc_strings should probably be used)
Purge charset handling -- a) documents are always converted to utf-8 b) use parserutils for utf-8 handling Fix Hubbub binding to compile. svn path=/trunk/dom/; revision=6682
Diffstat (limited to 'include/dom/core/document.h')
-rw-r--r--include/dom/core/document.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dom/core/document.h b/include/dom/core/document.h
index cce8e4b..6a5fd9f 100644
--- a/include/dom/core/document.h
+++ b/include/dom/core/document.h
@@ -9,6 +9,7 @@
#define dom_core_document_h_
#include <stdbool.h>
+#include <stdint.h>
#include <dom/core/exceptions.h>
@@ -98,5 +99,7 @@ dom_exception dom_document_rename_node(struct dom_document *doc,
struct dom_node *node,
struct dom_string *namespace, struct dom_string *qname,
struct dom_node **result);
+dom_exception dom_document_create_string(struct dom_document *doc,
+ const uint8_t *data, size_t len, struct dom_string **result);
#endif