comparison 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
comparison
equal deleted inserted replaced
10735:a0edd89ddb83 10736:703f722d076f
82 * @param parent The parent node. 82 * @param parent The parent node.
83 * @param name The child's name. 83 * @param name The child's name.
84 * 84 *
85 * @return The child or NULL. 85 * @return The child or NULL.
86 */ 86 */
87 xmlnode *xmlnode_get_child(xmlnode *parent, const char *name); 87 xmlnode *xmlnode_get_child(const xmlnode *parent, const char *name);
88 88
89 /** 89 /**
90 * Gets a child node named name in a namespace. 90 * Gets a child node named name in a namespace.
91 * 91 *
92 * @param parent The parent node. 92 * @param parent The parent node.
93 * @param name The child's name. 93 * @param name The child's name.
94 * @param xmlns The namespace. 94 * @param xmlns The namespace.
95 * 95 *
96 * @return The child or NULL. 96 * @return The child or NULL.
97 */ 97 */
98 xmlnode *xmlnode_get_child_with_namespace(xmlnode *parent, const char *name, const char *xmlns); 98 xmlnode *xmlnode_get_child_with_namespace(const xmlnode *parent, const char *name, const char *xmlns);
99 99
100 /** 100 /**
101 * Gets the next node with the same name as node. 101 * Gets the next node with the same name as node.
102 * 102 *
103 * @param node The node of a twin to find. 103 * @param node The node of a twin to find.