Mercurial > pidgin
comparison libpurple/xmlnode.h @ 30578:0accc8adb18a
merge of '2f6318bd834113559a405ec68cdb178f2180b680'
and '64e02b98551e11e093e4649f1516f3aceaa321e2'
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 26 Sep 2010 20:16:15 +0000 |
parents | 77cd42f08ba1 |
children | 5876584828e8 |
comparison
equal
deleted
inserted
replaced
30577:7b761c8601f7 | 30578:0accc8adb18a |
---|---|
203 * @param node The node to get an attribute from. | 203 * @param node The node to get an attribute from. |
204 * @param attr The attribute to get. | 204 * @param attr The attribute to get. |
205 * | 205 * |
206 * @return The value of the attribute. | 206 * @return The value of the attribute. |
207 */ | 207 */ |
208 const char *xmlnode_get_attrib(xmlnode *node, const char *attr); | 208 const char *xmlnode_get_attrib(const xmlnode *node, const char *attr); |
209 | 209 |
210 /** | 210 /** |
211 * Gets a namespaced attribute from a node | 211 * Gets a namespaced attribute from a node |
212 * | 212 * |
213 * @param node The node to get an attribute from. | 213 * @param node The node to get an attribute from. |
214 * @param attr The attribute to get | 214 * @param attr The attribute to get |
215 * @param xmlns The namespace of the attribute to get | 215 * @param xmlns The namespace of the attribute to get |
216 * | 216 * |
217 * @return The value of the attribute/ | 217 * @return The value of the attribute/ |
218 */ | 218 */ |
219 const char *xmlnode_get_attrib_with_namespace(xmlnode *node, const char *attr, const char *xmlns); | 219 const char *xmlnode_get_attrib_with_namespace(const xmlnode *node, const char *attr, const char *xmlns); |
220 | 220 |
221 /** | 221 /** |
222 * Removes an attribute from a node. | 222 * Removes an attribute from a node. |
223 * | 223 * |
224 * @param node The node to remove an attribute from. | 224 * @param node The node to remove an attribute from. |