summaryrefslogtreecommitdiff
path: root/plugins/yaml/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/yaml/tree.h')
-rw-r--r--plugins/yaml/tree.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/yaml/tree.h b/plugins/yaml/tree.h
index d152b7e..bfe034a 100644
--- a/plugins/yaml/tree.h
+++ b/plugins/yaml/tree.h
@@ -59,7 +59,10 @@ GYamlTree *g_yaml_tree_new(GYamlLine **, size_t);
GYamlNode *g_yaml_tree_get_root(const GYamlTree *);
/* Recherche les noeuds correspondant à un chemin. */
-void g_yaml_tree_find_by_path(const GYamlTree *, const char *, GYamlNode ***, size_t *);
+void g_yaml_tree_find_by_path(const GYamlTree *, const char *, bool, GYamlNode ***, size_t *);
+
+/* Recherche l'unique noeud correspondant à un chemin. */
+GYamlNode *g_yaml_tree_find_one_by_path(GYamlTree *, const char *, bool);