libpurple/xmlnode.h

branch
release-2.1.0
changeset 18131
7127441da3ba
parent 15884
4de1981757fc
child 18718
17a6c2c4820e
child 19859
71d37b57eff2
child 20546
35d778ab0450
--- a/libpurple/xmlnode.h	Thu Jun 07 14:48:33 2007 +0000
+++ b/libpurple/xmlnode.h	Thu Jun 07 21:14:54 2007 +0000
@@ -124,14 +124,24 @@
 void xmlnode_insert_data(xmlnode *node, const char *data, gssize size);
 
 /**
- * Gets data from a node.
+ * Gets (escaped) data from a node.
  *
  * @param node The node to get data from.
  *
- * @return The data from the node.  You must g_free
+ * @return The data from the node.  This data is in raw escaped format.
+ *         You must g_free this string when finished using it.
+ */
+char *xmlnode_get_data(xmlnode *node);
+
+/**
+ * Gets unescaped data from a node.
+ *
+ * @param node The node to get data from.
+ *
+ * @return The data from the node, in unescaped form.   You must g_free
  *         this string when finished using it.
  */
-char *xmlnode_get_data(xmlnode *node);
+char *xmlnode_get_data_unescaped(xmlnode *node);
 
 /**
  * Sets an attribute for a node.

mercurial