Mercurial > pidgin
diff libpurple/xmlnode.h @ 23850: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 |
line wrap: on
line diff
--- 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.
