summaryrefslogtreecommitdiff
path: root/plugins/yaml/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/yaml/node.h')
-rw-r--r--plugins/yaml/node.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/plugins/yaml/node.h b/plugins/yaml/node.h
index e1526d2..f472da7 100644
--- a/plugins/yaml/node.h
+++ b/plugins/yaml/node.h
@@ -1,6 +1,6 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * node.h - prototypes pour une ligne de contenu Yaml
+ * node.h - prototypes pour une définition de noeud Yaml
*
* Copyright (C) 2019 Cyrille Bagard
*
@@ -54,26 +54,14 @@ typedef struct _GYamlNodeClass GYamlNodeClass;
/* Indique le type défini pour un noeud d'arborescence Yaml. */
GType g_yaml_node_get_type(void);
-/* Construit un noeud d'arborescence Yaml. */
-GYamlNode *g_yaml_node_new(GYamlLine *);
-
/* Fournit la ligne principale associée à un noeud. */
GYamlLine *g_yaml_node_get_yaml_line(const GYamlNode *);
-/* Attache une collection de noeuds Yaml à un noeud. */
-void g_yaml_node_set_collection(GYamlNode *, GYamlCollection *);
-
-/* Fournit une éventuelle collection rattachée à un noeud. */
-GYamlCollection *g_yaml_node_get_collection(const GYamlNode *);
-
-/* Recherche les noeuds correspondant à un chemin. */
-void _g_yaml_node_find_by_path(GYamlNode *, const char *, GYamlNode ***, size_t *);
-
/* Recherche les noeuds correspondant à un chemin. */
-void g_yaml_node_find_by_path(GYamlNode *, const char *, GYamlNode ***, size_t *);
+void g_yaml_node_find_by_path(GYamlNode *, const char *, bool, GYamlNode ***, size_t *);
/* Recherche l'unique noeud correspondant à un chemin. */
-GYamlNode *g_yaml_node_find_one_by_path(GYamlNode *, const char *);
+GYamlNode *g_yaml_node_find_one_by_path(GYamlNode *, const char *, bool);