summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dom/core/node.h8
-rw-r--r--src/core/node.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/dom/core/node.h b/include/dom/core/node.h
index e335007..d818515 100644
--- a/include/dom/core/node.h
+++ b/include/dom/core/node.h
@@ -71,13 +71,13 @@ typedef enum {
void dom_node_ref(struct dom_node *node);
void dom_node_unref(struct dom_node *node);
-dom_exception dom_node_get_name(struct dom_node *node,
+dom_exception dom_node_get_node_name(struct dom_node *node,
struct dom_string **result);
-dom_exception dom_node_get_value(struct dom_node *node,
+dom_exception dom_node_get_node_value(struct dom_node *node,
struct dom_string **result);
-dom_exception dom_node_set_value(struct dom_node *node,
+dom_exception dom_node_set_node_value(struct dom_node *node,
struct dom_string *value);
-dom_exception dom_node_get_type(struct dom_node *node,
+dom_exception dom_node_get_node_type(struct dom_node *node,
dom_node_type *result);
dom_exception dom_node_get_parent(struct dom_node *node,
struct dom_node **result);
diff --git a/src/core/node.c b/src/core/node.c
index 40848df..fc6f3fd 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -104,7 +104,7 @@ void dom_node_unref(struct dom_node *node)
* the responsibility of the caller to unref the string once it has
* finished with it.
*/
-dom_exception dom_node_get_name(struct dom_node *node,
+dom_exception dom_node_get_node_name(struct dom_node *node,
struct dom_string **result)
{
UNUSED(node);
@@ -127,7 +127,7 @@ dom_exception dom_node_get_name(struct dom_node *node,
* DOM3Core states that this can raise DOMSTRING_SIZE_ERR. It will not in
* this implementation; dom_strings are unbounded.
*/
-dom_exception dom_node_get_value(struct dom_node *node,
+dom_exception dom_node_get_node_value(struct dom_node *node,
struct dom_string **result)
{
UNUSED(node);
@@ -149,7 +149,7 @@ dom_exception dom_node_get_value(struct dom_node *node,
* should unref it after the call (as the caller should have already claimed
* a reference on the string). The node's existing value will be unrefed.
*/
-dom_exception dom_node_set_value(struct dom_node *node,
+dom_exception dom_node_set_node_value(struct dom_node *node,
struct dom_string *value)
{
UNUSED(node);
@@ -165,7 +165,7 @@ dom_exception dom_node_set_value(struct dom_node *node,
* \param result Pointer to location to receive node type
* \return DOM_NO_ERR.
*/
-dom_exception dom_node_get_type(struct dom_node *node, dom_node_type *result)
+dom_exception dom_node_get_node_type(struct dom_node *node, dom_node_type *result)
{
*result = node->type;