diff options
Diffstat (limited to 'libpurple/xmlnode.h')
-rw-r--r-- | libpurple/xmlnode.h | 6 |
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 |