diff src/xmlnode.h @ 10736:703f722d076f

[gaim-migrate @ 12338] Change 2 parameters to "const" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 26 Mar 2005 19:13:15 +0000
parents 9903182f2aac
children 98de05966d6d
line wrap: on
line diff
--- a/src/xmlnode.h	Sat Mar 26 05:23:44 2005 +0000
+++ b/src/xmlnode.h	Sat Mar 26 19:13:15 2005 +0000
@@ -84,7 +84,7 @@
  *
  * @return The child or NULL.
  */
-xmlnode *xmlnode_get_child(xmlnode *parent, const char *name);
+xmlnode *xmlnode_get_child(const xmlnode *parent, const char *name);
 
 /**
  * Gets a child node named name in a namespace.
@@ -95,7 +95,7 @@
  *
  * @return The child or NULL.
  */
-xmlnode *xmlnode_get_child_with_namespace(xmlnode *parent, const char *name, const char *xmlns);
+xmlnode *xmlnode_get_child_with_namespace(const xmlnode *parent, const char *name, const char *xmlns);
 
 /**
  * Gets the next node with the same name as node.