summaryrefslogtreecommitdiff
path: root/include/dom/html
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-04-07 23:28:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-04-07 23:28:32 +0000
commit4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43 (patch)
tree545dfc0006eeddcd000a1071c7c62afe3e47e5b5 /include/dom/html
parentd24960dac782ef8e54ed91692f6aec1dd6d08bc1 (diff)
downloadlibdom-4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43.tar.gz
libdom-4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43.tar.bz2
s/struct dom_string/dom_string/g
svn path=/trunk/libdom/; revision=12172
Diffstat (limited to 'include/dom/html')
-rw-r--r--include/dom/html/html_collection.h4
-rw-r--r--include/dom/html/html_document.h20
-rw-r--r--include/dom/html/html_element.h12
-rw-r--r--include/dom/html/html_options_collection.h4
-rw-r--r--include/dom/html/html_title_element.h7
5 files changed, 23 insertions, 24 deletions
diff --git a/include/dom/html/html_collection.h b/include/dom/html/html_collection.h
index 09cf6ed..7322ea8 100644
--- a/include/dom/html/html_collection.h
+++ b/include/dom/html/html_collection.h
@@ -9,9 +9,9 @@
#define dom_html_collection_h_
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
struct dom_node;
-struct dom_string;
typedef struct dom_html_collection dom_html_collection;
@@ -20,7 +20,7 @@ dom_exception dom_html_collection_get_length(dom_html_collection *col,
dom_exception dom_html_collection_item(dom_html_collection *col,
unsigned long index, struct dom_node **node);
dom_exception dom_html_collection_named_item(dom_html_collection *col,
- struct dom_string *name, struct dom_node **node);
+ dom_string *name, struct dom_node **node);
void dom_html_collection_ref(dom_html_collection *col);
void dom_html_collection_unref(dom_html_collection *col);
diff --git a/include/dom/html/html_document.h b/include/dom/html/html_document.h
index 230024a..55bc12b 100644
--- a/include/dom/html/html_document.h
+++ b/include/dom/html/html_document.h
@@ -56,15 +56,15 @@ dom_exception dom_html_document_complete(void);
/* The DOM spec public API */
dom_exception dom_html_document_get_title(dom_html_document *doc,
- struct dom_string **title);
+ dom_string **title);
dom_exception dom_html_document_set_title(dom_html_document *doc,
- struct dom_string *title);
+ dom_string *title);
dom_exception dom_html_document_get_referer(dom_html_document *doc,
- struct dom_string **referer);
+ dom_string **referer);
dom_exception dom_html_document_get_domain(dom_html_document *doc,
- struct dom_string **domain);
+ dom_string **domain);
dom_exception dom_html_document_get_url(dom_html_document *doc,
- struct dom_string **url);
+ dom_string **url);
dom_exception dom_html_document_get_body(dom_html_document *doc,
struct dom_html_element **body);
dom_exception dom_html_document_set_body(dom_html_document *doc,
@@ -80,18 +80,18 @@ dom_exception dom_html_document_get_forms(dom_html_document *doc,
dom_exception dom_html_document_get_anchors(dom_html_document *doc,
struct dom_html_collection **col);
dom_exception dom_html_document_get_cookie(dom_html_document *doc,
- struct dom_string **cookie);
+ dom_string **cookie);
dom_exception dom_html_document_set_cookie(dom_html_document *doc,
- struct dom_string *cookie);
+ dom_string *cookie);
dom_exception dom_html_document_open(dom_html_document *doc);
dom_exception dom_html_document_close(dom_html_document *doc);
dom_exception dom_html_document_write(dom_html_document *doc,
- struct dom_string *text);
+ dom_string *text);
dom_exception dom_html_document_writeln(dom_html_document *doc,
- struct dom_string *text);
+ dom_string *text);
dom_exception dom_html_document_get_elements_by_name(dom_html_document *doc,
- struct dom_string *name, struct dom_nodelist **list);
+ dom_string *name, struct dom_nodelist **list);
#endif
diff --git a/include/dom/html/html_element.h b/include/dom/html/html_element.h
index 47129fe..ea07c72 100644
--- a/include/dom/html/html_element.h
+++ b/include/dom/html/html_element.h
@@ -16,28 +16,28 @@ typedef struct dom_html_element_vtable {
struct dom_element_vtable base;
dom_exception (*dom_html_element_get_id)(struct dom_html_element *element,
- struct dom_string **id);
+ dom_string **id);
dom_exception (*dom_html_element_set_id)(struct dom_html_element *element,
- struct dom_string *id);
+ dom_string *id);
} dom_html_element_vtable;
static inline dom_exception dom_html_element_get_id(struct dom_html_element *element,
- struct dom_string **id)
+ dom_string **id)
{
return ((dom_html_element_vtable *) ((dom_node *) element)->vtable)->
dom_html_element_get_id(element, id);
}
#define dom_html_element_get_id(e, id) dom_html_element_get_id( \
- (dom_html_element *) (e), (struct dom_string **) (id))
+ (dom_html_element *) (e), (dom_string **) (id))
static inline dom_exception dom_html_element_set_id(struct dom_html_element *element,
- struct dom_string *id)
+ dom_string *id)
{
return ((dom_html_element_vtable *) ((dom_node *) element)->vtable)->
dom_html_element_set_id(element, id);
}
#define dom_html_element_set_id(e, id) dom_html_element_set_id( \
- (dom_html_element *) (e), (struct dom_string *) (id))
+ (dom_html_element *) (e), (dom_string *) (id))
#endif
diff --git a/include/dom/html/html_options_collection.h b/include/dom/html/html_options_collection.h
index ad8e6aa..d11221a 100644
--- a/include/dom/html/html_options_collection.h
+++ b/include/dom/html/html_options_collection.h
@@ -9,9 +9,9 @@
#define dom_html_options_collection_h_
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
struct dom_node;
-struct dom_string;
typedef struct dom_html_options_collection dom_html_options_collection;
@@ -23,7 +23,7 @@ dom_exception dom_html_options_collection_item(
dom_html_options_collection *col, unsigned long index,
struct dom_node **node);
dom_exception dom_html_options_collection_named_item(
- dom_html_options_collection *col, struct dom_string *name,
+ dom_html_options_collection *col, dom_string *name,
struct dom_node **node);
void dom_html_options_collection_ref(dom_html_options_collection *col);
diff --git a/include/dom/html/html_title_element.h b/include/dom/html/html_title_element.h
index 5da766a..24a3b63 100644
--- a/include/dom/html/html_title_element.h
+++ b/include/dom/html/html_title_element.h
@@ -9,16 +9,15 @@
#define dom_html_title_element_h_
#include <dom/core/exceptions.h>
-
-struct dom_string;
+#include <dom/core/string.h>
typedef struct dom_html_title_element dom_html_title_element;
dom_exception dom_html_title_element_get_text(dom_html_title_element *ele,
- struct dom_string **text);
+ dom_string **text);
dom_exception dom_html_title_element_set_text(dom_html_title_element *ele,
- struct dom_string *text);
+ dom_string *text);
#endif