comparison libpurple/xmlnode.c @ 26086:af42303654a5

propagate from branch 'im.pidgin.pidgin' (head 0bb02399ead9501a3e7951cfba2e8e8350fe917c) to branch 'im.pidgin.pidgin.vv' (head a940363ef1efa4bf53c71cbb8201f36ed5795583)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Thu, 05 Feb 2009 00:31:35 +0000
parents efde7e6ed5f2 f0c2e27c7ae7
children ff4212a5268f
comparison
equal deleted inserted replaced
25418:b0c75121cf66 26086:af42303654a5
305 305
306 const char *xmlnode_get_prefix(const xmlnode *node) 306 const char *xmlnode_get_prefix(const xmlnode *node)
307 { 307 {
308 g_return_val_if_fail(node != NULL, NULL); 308 g_return_val_if_fail(node != NULL, NULL);
309 return node->prefix; 309 return node->prefix;
310 }
311
312 xmlnode *xmlnode_get_parent(const xmlnode *child)
313 {
314 g_return_val_if_fail(child != NULL, NULL);
315 return child->parent;
310 } 316 }
311 317
312 void 318 void
313 xmlnode_free(xmlnode *node) 319 xmlnode_free(xmlnode *node)
314 { 320 {