--- a/libpurple/xmlnode.h Fri Jul 11 01:04:44 2008 +0000 +++ b/libpurple/xmlnode.h Fri Jul 11 01:20:08 2008 +0000 @@ -246,6 +246,15 @@ const char *xmlnode_get_prefix(xmlnode *node); /** + * Gets the parent node. + * + * @param child The child node. + * + * @return The parent or NULL. + */ +xmlnode *xmlnode_get_parent(const xmlnode *child); + +/** * Returns the node in a string of xml. * * @param node The starting node to output.