summaryrefslogtreecommitdiff
path: root/libpurple/xmlnode.h
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2009-03-02 04:18:40 +0000
committerElliott Sales de Andrade <qulogic@pidgin.im>2009-03-02 04:18:40 +0000
commita74c19b9c5739f27cfbd9e28c46bbe54e0e2add7 (patch)
treec44cb7fe4225d15f06cac6047df7304230f74b6a /libpurple/xmlnode.h
parent810cbbab6ba0b21761c09e44aa12b1464b78201c (diff)
parent02cbca7273fcbf54267f3fe67f3ed166872cead3 (diff)
downloadpidgin-a74c19b9c5739f27cfbd9e28c46bbe54e0e2add7.tar.gz
propagate from branch 'im.pidgin.pidgin.next.minor' (head d24c4a9d28f21eaa47bd76e50ed31053733edcb1)
to branch 'im.pidgin.pidgin' (head b60aeb4ba1b0a2368dfeed19db8cbeb808769d1f)
Diffstat (limited to 'libpurple/xmlnode.h')
-rw-r--r--libpurple/xmlnode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpurple/xmlnode.h b/libpurple/xmlnode.h
index 0bb5b2798d..bab8192d13 100644
--- a/libpurple/xmlnode.h
+++ b/libpurple/xmlnode.h
@@ -245,7 +245,7 @@ void xmlnode_set_prefix(xmlnode *node, const char *prefix);
* @param node The node to get the prefix from
* @return The prefix of this node
*/
-const char *xmlnode_get_prefix(xmlnode *node);
+const char *xmlnode_get_prefix(const xmlnode *node);
/**
* Returns the node in a string of xml.
@@ -256,7 +256,7 @@ const char *xmlnode_get_prefix(xmlnode *node);
* @return The node represented as a string. You must
* g_free this string when finished using it.
*/
-char *xmlnode_to_str(xmlnode *node, int *len);
+char *xmlnode_to_str(const xmlnode *node, int *len);
/**
* Returns the node in a string of human readable xml.
@@ -268,7 +268,7 @@ char *xmlnode_to_str(xmlnode *node, int *len);
* tab and new line characters. You must
* g_free this string when finished using it.
*/
-char *xmlnode_to_formatted_str(xmlnode *node, int *len);
+char *xmlnode_to_formatted_str(const xmlnode *node, int *len);
/**
* Creates a node from a string of XML. Calling this on the