summaryrefslogtreecommitdiff
path: root/bindings/hubbub/errors.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 02:08:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-11-04 02:08:05 +0000
commit975de383a09510aae8d5a32f5fc97181fe2846a5 (patch)
tree081e9cd7931b54c03d46cadf312dad8dcf327844 /bindings/hubbub/errors.h
parent7b5b3cff17c9b0ba92d5c1b68d9852d28c108a48 (diff)
downloadlibdom-975de383a09510aae8d5a32f5fc97181fe2846a5.tar.gz
libdom-975de383a09510aae8d5a32f5fc97181fe2846a5.tar.bz2
Beginnings of a hubbub binding to libdom
Currently comprises a stubbed-out parser wrapper Todo: 1) Complete parser wrapper, such that it actually creates a DOM tree 2) Provide a hubbub-backed DOMImplementationSource svn path=/trunk/dom/; revision=3646
Diffstat (limited to 'bindings/hubbub/errors.h')
-rw-r--r--bindings/hubbub/errors.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/bindings/hubbub/errors.h b/bindings/hubbub/errors.h
new file mode 100644
index 0000000..4409fb9
--- /dev/null
+++ b/bindings/hubbub/errors.h
@@ -0,0 +1,19 @@
+/*
+ * 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_hubbub_errors_h_
+#define dom_hubbub_errors_h_
+
+typedef enum {
+ DOM_HUBBUB_OK = 0,
+
+ DOM_HUBBUB_NOMEM = 1,
+
+ DOM_HUBBUB_HUBBUB_ERR = (1<<16),
+} dom_hubbub_error;
+
+#endif