Mercurial > pidgin
diff libpurple/xmlnode.h @ 26131:ff4212a5268f
propagate from branch 'im.pidgin.pidgin' (head 431618de0f30a6938f7e14d2d61ee5d7738acd59)
to branch 'im.pidgin.pidgin.vv' (head 8df00cb1a28baa69d0a68e0e96af201ec7d87c09)
| author | Marcus Lundblad <ml@update.uu.se> |
|---|---|
| date | Mon, 02 Mar 2009 18:47:27 +0000 |
| parents | 4b8c4870b13a af42303654a5 |
| children | 38238d41923b |
line wrap: on
line diff
--- a/libpurple/xmlnode.h Mon Mar 02 16:34:05 2009 +0000 +++ b/libpurple/xmlnode.h Mon Mar 02 18:47:27 2009 +0000 @@ -248,6 +248,15 @@ const char *xmlnode_get_prefix(const 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.
