summaryrefslogtreecommitdiff
path: root/src/util/dom-str.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/dom-str.h')
-rw-r--r--src/util/dom-str.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/util/dom-str.h b/src/util/dom-str.h
new file mode 100644
index 0000000..9a51ad5
--- /dev/null
+++ b/src/util/dom-str.h
@@ -0,0 +1,33 @@
+/*
+ * This file is part of LibNSLayout
+ * Licensed under the ISC License, http://opensource.org/licenses/ISC
+ * Copyright 2015 Michael Drake <tlsa@netsurf-browser.org>
+ */
+
+/** \file src/util/dom-str.h
+ * Layout object handling
+ */
+
+#ifndef nslayout_util_dom_str_h_
+#define nslayout_util_dom_str_h_
+
+#include <libnslayout/nslayout.h>
+
+extern dom_string *nsl_dom_str_node_inserted;
+extern dom_string *nsl_dom_str_subtree_modified;
+
+/**
+ * Create the internal DOM strings
+ *
+ * \return NSLAYOUT_OK on success, appropriate error otherwise.
+ */
+nslayout_error nsl_dom_str_init(void);
+
+/**
+ * Unref the internal DOM strings
+ *
+ * \return NSLAYOUT_OK on success, appropriate error otherwise.
+ */
+nslayout_error nsl_dom_str_fini(void);
+
+#endif