summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_olist_element.h28
2 files changed, 29 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 0610427..4af78f7 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -69,6 +69,7 @@
#include <dom/html/html_br_element.h>
#include <dom/html/html_label_element.h>
#include <dom/html/html_ulist_element.h>
+#include <dom/html/html_olist_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_olist_element.h b/include/dom/html/html_olist_element.h
index 2e182d5..3d1511e 100644
--- a/include/dom/html/html_olist_element.h
+++ b/include/dom/html/html_olist_element.h
@@ -3,5 +3,33 @@
* 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_o_list_element_h_
+#define dom_html_o_list_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_o_list_element dom_html_o_list_element;
+
+dom_exception dom_html_o_list_element_get_compact(
+ dom_html_o_list_element *ele, bool *compact);
+
+dom_exception dom_html_o_list_element_set_compact(
+ dom_html_o_list_element *ele, bool compact);
+
+dom_exception dom_html_o_list_element_get_start(
+ dom_html_o_list_element *ele, int32_t *start);
+
+dom_exception dom_html_o_list_element_set_start(
+ dom_html_o_list_element *ele, uint32_t start);
+
+dom_exception dom_html_o_list_element_get_type(
+ dom_html_o_list_element *ele, dom_string **type);
+
+dom_exception dom_html_o_list_element_set_type(
+ dom_html_o_list_element *ele, dom_string *type);
+
+#endif