summaryrefslogtreecommitdiff
path: root/src/core/node.c
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2007-07-21 22:29:48 +0000
committerJames Shaw <jshaw@netsurf-browser.org>2007-07-21 22:29:48 +0000
commite71238204d5894663b2fbc9c4554cc949f715dd9 (patch)
tree7f9b2691b855fe2a1b5f4870ecfa044e5542ab73 /src/core/node.c
parent47a1f1f51d2dc6eb5aec89b4be3f9a8491b3c9c9 (diff)
downloadlibdom-e71238204d5894663b2fbc9c4554cc949f715dd9.tar.gz
libdom-e71238204d5894663b2fbc9c4554cc949f715dd9.tar.bz2
More name changes for consistency with spec
svn path=/trunk/dom/; revision=3455
Diffstat (limited to 'src/core/node.c')
-rw-r--r--src/core/node.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/node.c b/src/core/node.c
index afca3b4..d4d0519 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -183,7 +183,7 @@ dom_exception dom_node_get_node_type(struct dom_node *node, dom_node_type *resul
* the responsibility of the caller to unref the node once it has
* finished with it.
*/
-dom_exception dom_node_get_parent(struct dom_node *node,
+dom_exception dom_node_get_parent_node(struct dom_node *node,
struct dom_node **result)
{
/* If there is a parent node, then increase its reference count */
@@ -204,7 +204,7 @@ dom_exception dom_node_get_parent(struct dom_node *node,
*
* \todo Work out reference counting semantics of dom_node_list
*/
-dom_exception dom_node_get_children(struct dom_node *node,
+dom_exception dom_node_get_child_nodes(struct dom_node *node,
struct dom_node_list **result)
{
UNUSED(node);
@@ -270,7 +270,7 @@ dom_exception dom_node_get_last_child(struct dom_node *node,
* the responsibility of the caller to unref the node once it has
* finished with it.
*/
-dom_exception dom_node_get_previous(struct dom_node *node,
+dom_exception dom_node_get_previous_sibling(struct dom_node *node,
struct dom_node **result)
{
/* If there is a previous sibling, increase its reference count */
@@ -293,7 +293,7 @@ dom_exception dom_node_get_previous(struct dom_node *node,
* the responsibility of the caller to unref the node once it has
* finished with it.
*/
-dom_exception dom_node_get_next(struct dom_node *node,
+dom_exception dom_node_get_next_sibling(struct dom_node *node,
struct dom_node **result)
{
/* If there is a subsequent sibling, increase its reference count */
@@ -509,7 +509,7 @@ dom_exception dom_node_append_child(struct dom_node *node,
* \param result Pointer to location to receive result
* \return DOM_NO_ERR.
*/
-dom_exception dom_node_has_children(struct dom_node *node, bool *result)
+dom_exception dom_node_has_child_nodes(struct dom_node *node, bool *result)
{
*result = node->first_child != NULL;
@@ -555,7 +555,7 @@ dom_exception dom_node_has_children(struct dom_node *node, bool *result)
* \todo work out what happens when cloning Document, DocumentType, Entity
* and Notation nodes.
*/
-dom_exception dom_node_clone(struct dom_node *node, bool deep,
+dom_exception dom_node_clone_node(struct dom_node *node, bool deep,
struct dom_node **result)
{
UNUSED(node);