summaryrefslogtreecommitdiff
path: root/bindings/hubbub/errors.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-12-06 16:16:01 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-12-06 16:16:59 +0000
commit2f8d84b8961315d3531608b2d3d36b23979d3e15 (patch)
tree13dcd636d0d7565a7a0264e7862fde69d92d4b22 /bindings/hubbub/errors.h
parent77efdb615b56e66fcdd4fc49efac37a460196fc3 (diff)
downloadlibdom-2f8d84b8961315d3531608b2d3d36b23979d3e15.tar.gz
libdom-2f8d84b8961315d3531608b2d3d36b23979d3e15.tar.bz2
make the hubbub binding creation take a parameter struct and return standard error codes
Diffstat (limited to 'bindings/hubbub/errors.h')
-rw-r--r--bindings/hubbub/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/hubbub/errors.h b/bindings/hubbub/errors.h
index 19bab3a..381199c 100644
--- a/bindings/hubbub/errors.h
+++ b/bindings/hubbub/errors.h
@@ -13,6 +13,10 @@ typedef enum {
DOM_HUBBUB_NOMEM = 1,
+ DOM_HUBBUB_BADPARM = 2, /**< Bad input parameter */
+
+ DOM_HUBBUB_DOM = 3, /**< DOM operation failed */
+
DOM_HUBBUB_HUBBUB_ERR = (1<<16),
DOM_HUBBUB_HUBBUB_ERR_PAUSED = (DOM_HUBBUB_HUBBUB_ERR | HUBBUB_PAUSED),