Mercurial > pidgin
comparison libpurple/xmlnode.h @ 27121:350f097019eb
These parameters aren't modified
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Fri, 19 Jun 2009 00:01:39 +0000 |
| parents | 872d30754311 |
| children | 4f6883b854a2 |
comparison
equal
deleted
inserted
replaced
| 27120:9ff4b4cbc4c9 | 27121:350f097019eb |
|---|---|
| 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. |
