diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-11-03 22:56:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-11-03 22:56:52 (GMT) |
commit | 459b345d69532825f21bdcd3e4f92009b0a046dc (patch) | |
tree | e0bc3d9089f0b5452e77be0f5d37fc0522f78c4a /plugins/yaml/tree.h | |
parent | 33b5dc9af0404eabeb0e60245ab1ca1dc3713a17 (diff) |
Handled sequences with the Yaml reader in an improved way.
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 *); |