From 188a9f0afa2ac898b9bc90c0301c760a7224d100 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 1 May 2000 21:13:19 +0000 Subject: Constified XML utility functions. svn path=/trunk/; revision=2722 --- e-util/e-xml-utils.h-82548 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'e-util/e-xml-utils.h-82548') diff --git a/e-util/e-xml-utils.h-82548 b/e-util/e-xml-utils.h-82548 index 77cc14bdd5..41b0f0b9d6 100644 --- a/e-util/e-xml-utils.h-82548 +++ b/e-util/e-xml-utils.h-82548 @@ -25,10 +25,11 @@ #include #include -xmlNode *e_xml_get_child_by_name(xmlNode *parent, xmlChar *child_name); + +xmlNode *e_xml_get_child_by_name(xmlNode *parent, const xmlChar *child_name); /* lang set to NULL means use the current locale. */ -xmlNode *e_xml_get_child_by_name_by_lang(xmlNode *parent, xmlChar *child_name, char *lang); -int e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name); -void e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value); +xmlNode *e_xml_get_child_by_name_by_lang(xmlNode *parent, const xmlChar *child_name, const char *lang); +int e_xml_get_integer_prop_by_name(xmlNode *parent, const xmlChar *prop_name); +void e_xml_set_integer_prop_by_name(xmlNode *parent, const xmlChar *prop_name, int value); #endif /* __E_XML_UTILS__ */ -- cgit v1.2.3