comparison libpurple/xmlnode.c @ 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
comparison
equal deleted inserted replaced
25955:52fbda23e398 26131:ff4212a5268f
291 291
292 const char *xmlnode_get_prefix(const xmlnode *node) 292 const char *xmlnode_get_prefix(const xmlnode *node)
293 { 293 {
294 g_return_val_if_fail(node != NULL, NULL); 294 g_return_val_if_fail(node != NULL, NULL);
295 return node->prefix; 295 return node->prefix;
296 }
297
298 xmlnode *xmlnode_get_parent(const xmlnode *child)
299 {
300 g_return_val_if_fail(child != NULL, NULL);
301 return child->parent;
296 } 302 }
297 303
298 void 304 void
299 xmlnode_free(xmlnode *node) 305 xmlnode_free(xmlnode *node)
300 { 306 {