comparison libpurple/xmlnode.h @ 31185:1e5654e2928d

propagate from branch 'im.pidgin.pidgin' (head ea17b906d0f9b7422adfebcbec58d7c06d3bd8bc) to branch 'im.pidgin.pidgin.openq' (head 0f8a2684fb6f0f7221bde3bedd5734241bfb7ff5)
author SHiNE CsyFeK <csyfek@gmail.com>
date Sat, 18 Jul 2009 15:15:45 +0000
parents 350f097019eb
children 4f6883b854a2
comparison
equal deleted inserted replaced
31184:a1e92a4d99b9 31185:1e5654e2928d
134 * @param node The node to get data from. 134 * @param node The node to get data from.
135 * 135 *
136 * @return The data from the node or NULL. This data is in raw escaped format. 136 * @return The data from the node or NULL. This data is in raw escaped format.
137 * You must g_free this string when finished using it. 137 * You must g_free this string when finished using it.
138 */ 138 */
139 char *xmlnode_get_data(xmlnode *node); 139 char *xmlnode_get_data(const xmlnode *node);
140 140
141 /** 141 /**
142 * Gets unescaped data from a node. 142 * Gets unescaped data from a node.
143 * 143 *
144 * @param node The node to get data from. 144 * @param node The node to get data from.
145 * 145 *
146 * @return The data from the node, in unescaped form. You must g_free 146 * @return The data from the node, in unescaped form. You must g_free
147 * this string when finished using it. 147 * this string when finished using it.
148 */ 148 */
149 char *xmlnode_get_data_unescaped(xmlnode *node); 149 char *xmlnode_get_data_unescaped(const xmlnode *node);
150 150
151 /** 151 /**
152 * Sets an attribute for a node. 152 * Sets an attribute for a node.
153 * 153 *
154 * @param node The node to set an attribute for. 154 * @param node The node to set an attribute for.