Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * This file is part of libdom.
  3.  * Licensed under the MIT License,
  4.  *                http://www.opensource.org/licenses/mit-license.php
  5.  * Copyright 2009 Bo Yang <struggleyb.nku.com>
  6.  */
  7.  
  8. #ifndef dom_html_link_element_h_
  9. #define dom_html_link_element_h_
  10.  
  11. #include <stdbool.h>
  12. #include <dom/core/exceptions.h>
  13. #include <dom/core/string.h>
  14.  
  15. typedef struct dom_html_link_element dom_html_link_element;
  16.  
  17. dom_exception dom_html_link_element_get_disabled(dom_html_link_element *ele,
  18.                 bool *disabled);
  19.  
  20. dom_exception dom_html_link_element_set_disabled(dom_html_link_element *ele,
  21.                 bool disabled);
  22.  
  23. dom_exception dom_html_link_element_get_charset(dom_html_link_element *ele,
  24.                 dom_string **charset);
  25.  
  26. dom_exception dom_html_link_element_set_charset(dom_html_link_element *ele,
  27.                 dom_string *charset);
  28.  
  29. dom_exception dom_html_link_element_get_href(dom_html_link_element *ele,
  30.                 dom_string **href);
  31.  
  32. dom_exception dom_html_link_element_set_href(dom_html_link_element *ele,
  33.                 dom_string *href);
  34.  
  35. dom_exception dom_html_link_element_get_hreflang(dom_html_link_element *ele,
  36.                 dom_string **hreflang);
  37.  
  38. dom_exception dom_html_link_element_set_hreflang(dom_html_link_element *ele,
  39.                 dom_string *hreflang);
  40.  
  41. dom_exception dom_html_link_element_get_media(dom_html_link_element *ele,
  42.                 dom_string **media);
  43.  
  44. dom_exception dom_html_link_element_set_media(dom_html_link_element *ele,
  45.                 dom_string *media);
  46.  
  47. dom_exception dom_html_link_element_get_rel(dom_html_link_element *ele,
  48.                 dom_string **rel);
  49.  
  50. dom_exception dom_html_link_element_set_rel(dom_html_link_element *ele,
  51.                 dom_string *rel);
  52.  
  53. dom_exception dom_html_link_element_get_rev(dom_html_link_element *ele,
  54.                 dom_string **rev);
  55.  
  56. dom_exception dom_html_link_element_set_rev(dom_html_link_element *ele,
  57.                 dom_string *rev);
  58.  
  59. dom_exception dom_html_link_element_get_target(dom_html_link_element *ele,
  60.                 dom_string **target);
  61.  
  62. dom_exception dom_html_link_element_set_target(dom_html_link_element *ele,
  63.                 dom_string *target);
  64.  
  65. dom_exception dom_html_link_element_get_type(dom_html_link_element *ele,
  66.                 dom_string **type);
  67.  
  68. dom_exception dom_html_link_element_set_type(dom_html_link_element *ele,
  69.                 dom_string *type);
  70.  
  71. #endif
  72.  
  73.