diff options
Diffstat (limited to 'plugins/yaml/tree.h')
-rw-r--r-- | plugins/yaml/tree.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/yaml/tree.h b/plugins/yaml/tree.h index 469199d..d152b7e 100644 --- a/plugins/yaml/tree.h +++ b/plugins/yaml/tree.h @@ -53,16 +53,13 @@ typedef struct _GYamlTreeClass GYamlTreeClass; GType g_yaml_tree_get_type(void); /* Construit une arborescence à partir de lignes Yaml. */ -GYamlTree *g_yaml_tree_new(size_t, GYamlLine **, size_t); +GYamlTree *g_yaml_tree_new(GYamlLine **, size_t); -/* Fournit la taille de l'indentation nomilae d'un arbre Yaml. */ -size_t g_yaml_tree_get_indent(const GYamlTree *); +/* Fournit le noeud constituant la racine d'arborescence Yaml. */ +GYamlNode *g_yaml_tree_get_root(const GYamlTree *); -/* Fournit la liste des premiers noeuds de l'arborescence Yaml. */ -GYamlNode **g_yaml_tree_get_root_nodes(const GYamlTree *, size_t *); - -/* Recherche le noeud correspondant à un chemin. */ -GYamlNode *g_yaml_tree_find_node_by_path(const GYamlTree *, const char *); +/* Recherche les noeuds correspondant à un chemin. */ +void g_yaml_tree_find_by_path(const GYamlTree *, const char *, GYamlNode ***, size_t *); |