aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-xml-utils.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-02 05:13:19 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-02 05:13:19 +0800
commit188a9f0afa2ac898b9bc90c0301c760a7224d100 (patch)
treeca5e6bcb7bbd204e8df77db35e7f242232554a9f /e-util/e-xml-utils.h
parent7de868bec9079a283fb290c64b02306683f552ba (diff)
downloadgsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar
gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.gz
gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.bz2
gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.lz
gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.xz
gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.zst
gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.zip
Constified XML utility functions.
svn path=/trunk/; revision=2722
Diffstat (limited to 'e-util/e-xml-utils.h')
-rw-r--r--e-util/e-xml-utils.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/e-util/e-xml-utils.h b/e-util/e-xml-utils.h
index 77cc14bdd5..41b0f0b9d6 100644
--- a/e-util/e-xml-utils.h
+++ b/e-util/e-xml-utils.h
@@ -25,10 +25,11 @@
#include <gnome.h>
#include <gnome-xml/tree.h>
-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__ */