summaryrefslogtreecommitdiff
path: root/src/core/document.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-10-03 23:44:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-10-03 23:44:32 +0000
commita376b80f718bceccecfee43ba291493fe1ff3fbb (patch)
tree96549872654851bdb23feafbae373060a81b10b5 /src/core/document.h
parent51ad846a92e651f9663305800aaa92943a79bb16 (diff)
downloadlibdom-a376b80f718bceccecfee43ba291493fe1ff3fbb.tar.gz
libdom-a376b80f718bceccecfee43ba291493fe1ff3fbb.tar.bz2
Make the dom string class more useful.
Purge all trace of dom_string_get_data() from outside the dom string implementation. Port affected code to new, more useful, APIs. This also fixes the interned node name strings mentioned in the previous commit. svn path=/trunk/dom/; revision=3621
Diffstat (limited to 'src/core/document.h')
-rw-r--r--src/core/document.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/document.h b/src/core/document.h
index 5149f2e..6982b74 100644
--- a/src/core/document.h
+++ b/src/core/document.h
@@ -19,6 +19,11 @@ struct dom_namednodemap;
struct dom_node;
struct dom_nodelist;
+/* Initialise the document module */
+dom_exception _dom_document_initialise(dom_alloc alloc, void *pw);
+/* Finalise the document module */
+dom_exception _dom_document_finalise(void);
+
/* Destroy a document */
void dom_document_destroy(struct dom_document *doc);