summaryrefslogtreecommitdiff
path: root/libpurple/xmlnode.h
diff options
context:
space:
mode:
authorPaul Aurich <darkrain42@pidgin.im>2009-04-20 00:10:51 +0000
committerPaul Aurich <darkrain42@pidgin.im>2009-04-20 00:10:51 +0000
commite19b215434bd4ae55292a94ecb6f9fdbecf4b314 (patch)
tree7c60597c367322959040ed908d62b3fe86d7c64b /libpurple/xmlnode.h
parent36dd1e0e6b94fb3962080f9edfd4d5274acf1ec0 (diff)
parent9dffbeaf5d1c1648408c5f7b620bed8f3b24ab09 (diff)
downloadpidgin-e19b215434bd4ae55292a94ecb6f9fdbecf4b314.tar.gz
propagate from branch 'im.pidgin.pidgin' (head 239d99a57cf80bec7b7159ee7b2189ef6fa158c1)
to branch 'im.pidgin.cpw.darkrain42.docs' (head cd956ff7342c49fe4a953913581b6201f9382d5c)
Diffstat (limited to 'libpurple/xmlnode.h')
-rw-r--r--libpurple/xmlnode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpurple/xmlnode.h b/libpurple/xmlnode.h
index 364f5abd6d..4175cede81 100644
--- a/libpurple/xmlnode.h
+++ b/libpurple/xmlnode.h
@@ -268,6 +268,17 @@ void xmlnode_set_prefix(xmlnode *node, const char *prefix);
const char *xmlnode_get_prefix(const xmlnode *node);
/**
+ * Gets the parent node.
+ *
+ * @param child The child node.
+ *
+ * @return The parent or NULL.
+ *
+ * @since 2.6.0
+ */
+xmlnode *xmlnode_get_parent(const xmlnode *child);
+
+/**
* Returns the node in a string of xml.
*
* @param node The starting node to output.