aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-xml-utils.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-10-11 15:54:51 +0800
committerChris Lahey <clahey@src.gnome.org>2000-10-11 15:54:51 +0800
commit4d5ebbc363352f20b4ffa21311f0db0df5d8023c (patch)
tree6428f01724754c54474cdf27ae26613613513d69 /e-util/e-xml-utils.h
parent70f69f3e0decff6f41edba68a807b9a4789625fe (diff)
downloadgsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.tar
gsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.tar.gz
gsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.tar.bz2
gsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.tar.lz
gsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.tar.xz
gsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.tar.zst
gsoc2013-evolution-4d5ebbc363352f20b4ffa21311f0db0df5d8023c.zip
Included a missing #include.
2000-10-11 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-util.c: Included a missing #include. * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added e_xml_get_bool_prop_by_name, e_xml_set_bool_prop_by_name, and e_xml_get_translated_string_prop_by_name. Reindented prototypes. svn path=/trunk/; revision=5835
Diffstat (limited to 'e-util/e-xml-utils.h')
-rw-r--r--e-util/e-xml-utils.h37
1 files changed, 29 insertions, 8 deletions
diff --git a/e-util/e-xml-utils.h b/e-util/e-xml-utils.h
index a574cec3f1..6d857e4e1d 100644
--- a/e-util/e-xml-utils.h
+++ b/e-util/e-xml-utils.h
@@ -26,17 +26,38 @@
#include <gnome.h>
#include <gnome-xml/tree.h>
-xmlNode *e_xml_get_child_by_name(xmlNode *parent, const xmlChar *child_name);
+xmlNode *e_xml_get_child_by_name (const 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);
+xmlNode *e_xml_get_child_by_name_by_lang (const 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);
+int e_xml_get_integer_prop_by_name (const 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);
+gboolean e_xml_get_bool_prop_by_name (const xmlNode *parent,
+ const xmlChar *prop_name);
+void e_xml_set_bool_prop_by_name (xmlNode *parent,
+ const xmlChar *prop_name,
+ gboolean 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);
+double e_xml_get_double_prop_by_name (const 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 (const xmlNode *parent,
+ const xmlChar *prop_name);
+void e_xml_set_string_prop_by_name (xmlNode *parent,
+ const xmlChar *prop_name,
+ char *value);
+
+char *e_xml_get_translated_string_prop_by_name (const xmlNode *parent,
+ const xmlChar *prop_name);
#endif /* __E_XML_UTILS__ */