summaryrefslogtreecommitdiff
path: root/src/core
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
commit037cfd7e4e8d63d9bb15415e7d76fa7dc5634c20 (patch)
tree7f9b2691b855fe2a1b5f4870ecfa044e5542ab73 /src/core
parent71dde22f39683ce8b1dceb402a965246d13fd91f (diff)
downloadlibdom-037cfd7e4e8d63d9bb15415e7d76fa7dc5634c20.tar.gz
libdom-037cfd7e4e8d63d9bb15415e7d76fa7dc5634c20.tar.bz2
More name changes for consistency with spec
svn path=/trunk/dom/; revision=3455
Diffstat (limited to 'src/core')
-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);