summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-17 03:06:50 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:08 +0530
commit5a31bfe0233d501ca162848631a1e6ff5c87a275 (patch)
tree000c9d36de33940ad2b5e962068736e36a85eb83 /include
parent559ca5e250bc1b902bd2764e05dd8767d1d7ffe6 (diff)
downloadlibdom-5a31bfe0233d501ca162848631a1e6ff5c87a275.tar.gz
libdom-5a31bfe0233d501ca162848631a1e6ff5c87a275.tar.bz2
Param Element
Diffstat (limited to 'include')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_param_element.h34
2 files changed, 35 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 1503625..d8edf7e 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -77,6 +77,7 @@
#include <dom/html/html_basefont_element.h>
#include <dom/html/html_image_element.h>
#include <dom/html/html_object_element.h>
+#include <dom/html/html_param_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_param_element.h b/include/dom/html/html_param_element.h
index 2e182d5..be12789 100644
--- a/include/dom/html/html_param_element.h
+++ b/include/dom/html/html_param_element.h
@@ -3,5 +3,39 @@
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
+ * Copyright 2014 Rupinder Singh Khokhar <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_param_element_h_
+#define dom_html_param_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_param_element dom_html_param_element;
+
+dom_exception dom_html_param_element_get_name(
+ dom_html_param_element *element, dom_string **name);
+
+dom_exception dom_html_param_element_set_name(
+ dom_html_param_element *element, dom_string *name);
+
+dom_exception dom_html_param_element_get_type(
+ dom_html_param_element *element, dom_string **type);
+
+dom_exception dom_html_param_element_set_type(
+ dom_html_param_element *ele, dom_string *type);
+
+dom_exception dom_html_param_element_get_value(
+ dom_html_param_element *ele, dom_string **value);
+
+dom_exception dom_html_param_element_set_value(
+ dom_html_param_element *ele, dom_string *value);
+
+dom_exception dom_html_param_element_get_value_type(
+ dom_html_param_element *ele, dom_string **value_type);
+
+dom_exception dom_html_param_element_set_value_type(
+ dom_html_param_element *ele, dom_string *value_type);
+
+#endif