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
commit175fc45e28c1fdc30da99acbb969ce53272ad588 (patch)
tree081e9cd7931b54c03d46cadf312dad8dcf327844 /bindings/hubbub/errors.h
parent3109ad033e095f41ca6e322121b0f96a70073abd (diff)
downloadlibdom-175fc45e28c1fdc30da99acbb969ce53272ad588.tar.gz
libdom-175fc45e28c1fdc30da99acbb969ce53272ad588.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