diff libpurple/xmlnode.h @ 26169:8793f771eba4

propagate from branch 'im.pidgin.pidgin' (head df7280158976d27e9eaf4a660e32a5af5a484578) to branch 'im.pidgin.soc.2008.yahoo' (head c6eb815e9facc358b7724957f4a8351bc589b43e)
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Sun, 01 Mar 2009 13:55:33 +0000
parents efde7e6ed5f2
children 4b8c4870b13a af42303654a5
line wrap: on
line diff
--- a/libpurple/xmlnode.h	Sun Mar 01 09:50:59 2009 +0000
+++ b/libpurple/xmlnode.h	Sun Mar 01 13:55:33 2009 +0000
@@ -243,7 +243,7 @@
  * @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.
@@ -254,7 +254,7 @@
  * @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.
@@ -266,7 +266,7 @@
  *         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