aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-xml-utils.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-09-18 04:58:28 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-09-18 04:58:28 +0800
commit84f3540f7b0bb6f1a1a39f769c7d17d7c27ac3fa (patch)
treefed9a1b1c71cff11e570096f819f8006d667851a /e-util/e-xml-utils.h
parentdb10d3ce58c3b3434266f6129887bd1215440cca (diff)
downloadgsoc2013-evolution-84f3540f7b0bb6f1a1a39f769c7d17d7c27ac3fa.tar.gz
gsoc2013-evolution-84f3540f7b0bb6f1a1a39f769c7d17d7c27ac3fa.tar.zst
gsoc2013-evolution-84f3540f7b0bb6f1a1a39f769c7d17d7c27ac3fa.zip
Merging in additional type functions (e_xml_get_string_prop_by_name):
2000-09-17 JP Rosevear <jpr@helixcode.com> * src/util/e-xml-utils.c (e_xml_set_string_prop_by_name): Merging in additional type functions (e_xml_get_string_prop_by_name): ditto (e_xml_set_double_prop_by_name): ditto (e_xml_get_double_prop_by_name): ditto svn path=/trunk/; revision=5485
Diffstat (limited to 'e-util/e-xml-utils.h')
-rw-r--r--e-util/e-xml-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/e-util/e-xml-utils.h b/e-util/e-xml-utils.h
index 41b0f0b9d6..a574cec3f1 100644
--- a/e-util/e-xml-utils.h
+++ b/e-util/e-xml-utils.h
@@ -29,7 +29,14 @@
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, 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);
+double e_xml_get_double_prop_by_name(xmlNode *parent, const xmlChar *prop_name);
+void e_xml_set_double_prop_by_name(xmlNode *parent, const xmlChar *prop_name, double value);
+
+char *e_xml_get_string_prop_by_name(xmlNode *parent, const xmlChar *prop_name);
+void e_xml_set_string_prop_by_name(xmlNode *parent, const xmlChar *prop_name, char *value);
+
#endif /* __E_XML_UTILS__ */