summaryrefslogtreecommitdiff
path: root/src/common/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/xml.h')
-rw-r--r--src/common/xml.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/xml.h b/src/common/xml.h
index fe99b91..91f0552 100644
--- a/src/common/xml.h
+++ b/src/common/xml.h
@@ -74,6 +74,12 @@ char *qck_get_node_text_value(xmlNodePtr);
/* Obtient une valeur placée entre <...> et </...>. */
char *get_node_text_value(xmlXPathContextPtr, const char *);
+/* Obtient une valeur booléenne placée entre <...> et </...>. */
+bool get_node_boolean_value(xmlXPathContextPtr, const char *, bool *);
+
+/* Obtient une valeur entière placée entre <...> et </...>. */
+bool get_node_long_value(xmlXPathContextPtr, const char *, long *);
+
/* Obtient la valeur d'une propriété d'un élément. */
char *qck_get_node_prop_value(xmlNodePtr, const char *);