summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-07 15:39:39 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-07 15:39:39 +0100
commitb57b8a47109d8de7a773a32e52c1263b3617149c (patch)
tree0a11f4e11699d766881a3c2a23bc20a5a18cda26 /include
parent9ed8fb0d80aeb7ba856085018d3bd367e9a625de (diff)
downloadlibdom-b57b8a47109d8de7a773a32e52c1263b3617149c.tar.gz
libdom-b57b8a47109d8de7a773a32e52c1263b3617149c.tar.bz2
namespace: Support finalising the namespace strings
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'include')
-rw-r--r--include/dom/dom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 0740fe9..1737f29 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -111,6 +111,12 @@ typedef enum dom_namespace {
DOM_NAMESPACE_COUNT = 7
} dom_namespace;
+/* Note, these are not valid until at least one function related to DOM
+ * namespaces has been called such as the creation of a Document.
+ */
extern dom_string *dom_namespaces[DOM_NAMESPACE_COUNT];
+/* Optional client-callable namespace cleanup function */
+extern dom_exception dom_namespace_finalise(void);
+
#endif