diff options
Diffstat (limited to 'src/common/xml.h')
-rw-r--r-- | src/common/xml.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/common/xml.h b/src/common/xml.h index 8cb8c0e..60891f7 100644 --- a/src/common/xml.h +++ b/src/common/xml.h @@ -68,9 +68,15 @@ char *get_node_text_value(xmlXPathContextPtr, const char *); /* Obtient la valeur d'une propriété d'un élément. */ char *qck_get_node_prop_value(xmlNodePtr, const char *); +/* Obtient la valeur entière d'une propriété d'un élément. */ +bool qck_get_node_prop_long_value(xmlNodePtr, const char *, long *); + /* Obtient la valeur d'une propriété d'un élément. */ char *get_node_prop_value(xmlXPathContextPtr, const char *, const char *); +/* Obtient la valeur entière d'une propriété d'un élément. */ +bool get_node_prop_long_value(xmlXPathContextPtr, const char *, const char *, long *); + /* Construit un chemin d'accès complet selon le fichier XML. */ char *qck_build_filename_with_doc_url(xmlNodePtr); @@ -133,7 +139,10 @@ bool _add_string_attribute_to_node(xmlNodePtr, const char *, const char *); bool add_string_attribute_to_node(xmlDocPtr, xmlXPathContextPtr, const char *, const char *, const char *); /* Ajoute une propriété à un noeud existant donné. */ -bool add_long_attribute_to_node(xmlNodePtr, const char *, long); +bool _add_long_attribute_to_node(xmlNodePtr, const char *, long); + +/* Ajoute une propriété à un noeud existant donné. */ +bool add_long_attribute_to_node(xmlDocPtr, xmlXPathContextPtr, const char *, const char *, long); |