summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 17:59:30 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 17:59:30 +0100
commit9c7a1bb6872159035fd6b4640cf9ec62b8630b54 (patch)
tree419779005bccb589561e1e4466d4e8adfa56d064 /include/dom
parente53520a36fd0a38e2297b8bec3ec8b5626f8fed4 (diff)
downloadlibdom-9c7a1bb6872159035fd6b4640cf9ec62b8630b54.tar.gz
libdom-9c7a1bb6872159035fd6b4640cf9ec62b8630b54.tar.bz2
HTMLLinkElement: Implement and enable tests
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_link_element.h49
2 files changed, 50 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 80b5bd0..1c0e908 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -43,6 +43,7 @@
#include <dom/html/html_element.h>
#include <dom/html/html_html_element.h>
#include <dom/html/html_head_element.h>
+#include <dom/html/html_link_element.h>
#include <dom/html/html_title_element.h>
#include <dom/html/html_form_element.h>
diff --git a/include/dom/html/html_link_element.h b/include/dom/html/html_link_element.h
index c96d020..f0b1f3c 100644
--- a/include/dom/html/html_link_element.h
+++ b/include/dom/html/html_link_element.h
@@ -10,6 +10,7 @@
#include <stdbool.h>
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
typedef struct dom_html_link_element dom_html_link_element;
@@ -19,5 +20,53 @@ dom_exception dom_html_link_element_get_disabled(dom_html_link_element *ele,
dom_exception dom_html_link_element_set_disabled(dom_html_link_element *ele,
bool disabled);
+dom_exception dom_html_link_element_get_charset(dom_html_link_element *ele,
+ dom_string **charset);
+
+dom_exception dom_html_link_element_set_charset(dom_html_link_element *ele,
+ dom_string *charset);
+
+dom_exception dom_html_link_element_get_href(dom_html_link_element *ele,
+ dom_string **href);
+
+dom_exception dom_html_link_element_set_href(dom_html_link_element *ele,
+ dom_string *href);
+
+dom_exception dom_html_link_element_get_hreflang(dom_html_link_element *ele,
+ dom_string **hreflang);
+
+dom_exception dom_html_link_element_set_hreflang(dom_html_link_element *ele,
+ dom_string *hreflang);
+
+dom_exception dom_html_link_element_get_media(dom_html_link_element *ele,
+ dom_string **media);
+
+dom_exception dom_html_link_element_set_media(dom_html_link_element *ele,
+ dom_string *media);
+
+dom_exception dom_html_link_element_get_rel(dom_html_link_element *ele,
+ dom_string **rel);
+
+dom_exception dom_html_link_element_set_rel(dom_html_link_element *ele,
+ dom_string *rel);
+
+dom_exception dom_html_link_element_get_rev(dom_html_link_element *ele,
+ dom_string **rev);
+
+dom_exception dom_html_link_element_set_rev(dom_html_link_element *ele,
+ dom_string *rev);
+
+dom_exception dom_html_link_element_get_target(dom_html_link_element *ele,
+ dom_string **target);
+
+dom_exception dom_html_link_element_set_target(dom_html_link_element *ele,
+ dom_string *target);
+
+dom_exception dom_html_link_element_get_type(dom_html_link_element *ele,
+ dom_string **type);
+
+dom_exception dom_html_link_element_set_type(dom_html_link_element *ele,
+ dom_string *type);
+
#endif