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
commitf3c02943d778e9b00064bf0e103aaecb06ab5e01 (patch)
tree96549872654851bdb23feafbae373060a81b10b5 /src/core/document.h
parentf8897a9655ac97471d34f7a4071a721e2ee46560 (diff)
downloadlibdom-f3c02943d778e9b00064bf0e103aaecb06ab5e01.tar.gz
libdom-f3c02943d778e9b00064bf0e103aaecb06ab5e01.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);