summaryrefslogtreecommitdiff
path: root/src/core/attr.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-26 22:19:48 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-26 22:19:48 +0000
commitd8866e3acdb41e913e2f82e1c0cb10c11f14ed62 (patch)
tree07ad40b1cb4623ecd3d1d7df5be0cc5211156fec /src/core/attr.h
parent7233f9f6b42282c407d584e92578bae4b1eb7cb1 (diff)
downloadlibdom-d8866e3acdb41e913e2f82e1c0cb10c11f14ed62.tar.gz
libdom-d8866e3acdb41e913e2f82e1c0cb10c11f14ed62.tar.bz2
Implement type-specific node constructors and veneer the appropriate Document APIs onto them.
svn path=/trunk/dom/; revision=3463
Diffstat (limited to 'src/core/attr.h')
-rw-r--r--src/core/attr.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/attr.h b/src/core/attr.h
new file mode 100644
index 0000000..9605926
--- /dev/null
+++ b/src/core/attr.h
@@ -0,0 +1,20 @@
+/*
+ * 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_internal_core_attr_h_
+#define dom_internal_core_attr_h_
+
+#include <dom/core/exceptions.h>
+
+struct dom_document;
+struct dom_attr;
+struct dom_string;
+
+dom_exception dom_attr_create(struct dom_document *doc,
+ struct dom_string *name, struct dom_attr **result);
+
+#endif