summaryrefslogtreecommitdiff
path: root/include/dom/bootstrap/init_fini.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/bootstrap/init_fini.h')
-rw-r--r--include/dom/bootstrap/init_fini.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/dom/bootstrap/init_fini.h b/include/dom/bootstrap/init_fini.h
new file mode 100644
index 0000000..5773af6
--- /dev/null
+++ b/include/dom/bootstrap/init_fini.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef dom_bootstrap_init_fini_h_
+#define dom_bootstrap_init_fini_h_
+
+#include <dom/functypes.h>
+#include <dom/core/exceptions.h>
+
+/* Initialise the DOM library */
+dom_exception dom_initialise(dom_alloc alloc, void *pw);
+
+/* Finalise the DOM library */
+dom_exception dom_finalise(void);
+
+#endif
+