summaryrefslogtreecommitdiff
path: root/plugins/yaml/node.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-12-21 10:23:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-12-21 10:23:45 (GMT)
commitdb0404d4e6836ae05eb344a6d7f087f0a299f2a9 (patch)
tree9f025abbe6e501dfb701244ea3e2d41eff3efff5 /plugins/yaml/node.c
parent0a759fb5d8935a19c58eb7c8fb21d1f261d4a2d2 (diff)
Adopted new prototypes for searching Yaml nodes.
Diffstat (limited to 'plugins/yaml/node.c')
-rw-r--r--plugins/yaml/node.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/yaml/node.c b/plugins/yaml/node.c
index 9c815d6..d35de9c 100644
--- a/plugins/yaml/node.c
+++ b/plugins/yaml/node.c
@@ -145,7 +145,7 @@ static void g_yaml_node_finalize(GYamlNode *node)
* *
******************************************************************************/
-void _g_yaml_node_find_by_path(GYamlNode *node, const char *path, bool prepare, GYamlNode ***nodes, size_t *count)
+void _g_yaml_node_find_by_path(const GYamlNode *node, const char *path, bool prepare, GYamlNode ***nodes, size_t *count)
{
GYamlNodeClass *class; /* Classe de l'instance */
@@ -172,7 +172,7 @@ void _g_yaml_node_find_by_path(GYamlNode *node, const char *path, bool prepare,
* *
******************************************************************************/
-void g_yaml_node_find_by_path(GYamlNode *node, const char *path, bool prepare, GYamlNode ***nodes, size_t *count)
+void g_yaml_node_find_by_path(const GYamlNode *node, const char *path, bool prepare, GYamlNode ***nodes, size_t *count)
{
*nodes = NULL;
*count = 0;
@@ -196,7 +196,7 @@ void g_yaml_node_find_by_path(GYamlNode *node, const char *path, bool prepare, G
* *
******************************************************************************/
-GYamlNode *g_yaml_node_find_one_by_path(GYamlNode *node, const char *path, bool prepare)
+GYamlNode *g_yaml_node_find_one_by_path(const GYamlNode *node, const char *path, bool prepare)
{
GYamlNode *result; /* Trouvaille unique à renvoyer*/
GYamlNode **nodes; /* Liste de noeuds trouvés */