comparison libpurple/xmlnode.h @ 25700:84c7bb2ca41f

Added xmlnode_get_parent.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Fri, 11 Jul 2008 01:20:08 +0000
parents eb0f36c3a58f
children af42303654a5
comparison
equal deleted inserted replaced
25699:301bb7478f74 25700:84c7bb2ca41f
244 * @return The prefix of this node 244 * @return The prefix of this node
245 */ 245 */
246 const char *xmlnode_get_prefix(xmlnode *node); 246 const char *xmlnode_get_prefix(xmlnode *node);
247 247
248 /** 248 /**
249 * Gets the parent node.
250 *
251 * @param child The child node.
252 *
253 * @return The parent or NULL.
254 */
255 xmlnode *xmlnode_get_parent(const xmlnode *child);
256
257 /**
249 * Returns the node in a string of xml. 258 * Returns the node in a string of xml.
250 * 259 *
251 * @param node The starting node to output. 260 * @param node The starting node to output.
252 * @param len Address for the size of the string. 261 * @param len Address for the size of the string.
253 * 262 *