diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-10-13 23:24:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-10-13 23:24:57 (GMT) |
commit | f439711a77e0719e7f1dcf4b5c5511157986c918 (patch) | |
tree | cac0cf37be2676fcf2dc958f9d9fd2fadea20653 /src/common/xml.h | |
parent | 986125d4c2d8b049017b6d0770f16b9058076165 (diff) |
Retrieved the current snapshot identifier from servers.
Diffstat (limited to 'src/common/xml.h')
-rw-r--r-- | src/common/xml.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/xml.h b/src/common/xml.h index ed009c6..5ae7664 100644 --- a/src/common/xml.h +++ b/src/common/xml.h @@ -28,6 +28,7 @@ #include <glib.h> #include <stdbool.h> +#include <stdint.h> #include <libxml/tree.h> #include <libxml/xmlwriter.h> #include <libxml/xpath.h> @@ -79,12 +80,18 @@ 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 entière d'une propriété d'un élément. */ +bool qck_get_node_prop_uint64_value(xmlNodePtr, const char *, uint64_t *); + /* 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 *); +/* Obtient la valeur entière d'une propriété d'un élément. */ +bool get_node_prop_uint64_value(xmlXPathContextPtr, const char *, const char *, uint64_t *); + /* Construit un chemin d'accès complet selon le fichier XML. */ char *qck_build_filename_with_doc_url(xmlNodePtr); @@ -158,6 +165,12 @@ 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); +/* Ajoute une propriété à un noeud existant donné. */ +bool _add_uint64_attribute_to_node(xmlNodePtr, const char *, uint64_t); + +/* Ajoute une propriété à un noeud existant donné. */ +bool add_uint64_attribute_to_node(xmlDocPtr, xmlXPathContextPtr, const char *, const char *, uint64_t); + #endif /* _XML_H */ |