diff options
Diffstat (limited to 'plugins/yaml/node-int.h')
| -rw-r--r-- | plugins/yaml/node-int.h | 20 | 
1 files changed, 7 insertions, 13 deletions
| diff --git a/plugins/yaml/node-int.h b/plugins/yaml/node-int.h index a389f61..cd87950 100644 --- a/plugins/yaml/node-int.h +++ b/plugins/yaml/node-int.h @@ -1,8 +1,8 @@  /* Chrysalide - Outil d'analyse de fichiers binaires - * node-int.h - prototypes internes pour la définition d'un noeud Yaml + * node-int.h - prototypes internes pour la définition d'un noeud YAML   * - * Copyright (C) 2019-2020 Cyrille Bagard + * Copyright (C) 2019-2023 Cyrille Bagard   *   *  This file is part of Chrysalide.   * @@ -29,32 +29,26 @@ -/* Recherche les noeuds correspondant à un chemin. */ -typedef void (* find_yaml_node_fc) (const GYamlNode *, const char *, bool, GYamlNode ***, size_t *); +/* Recherche le premier noeud correspondant à un chemin. */ +typedef GYamlNode * (* find_first_yaml_node_fc) (GYamlNode *, const char *); -/* Noeud d'une arborescence au format Yaml (instance) */ +/* Noeud d'une arborescence au format YAML (instance) */  struct _GYamlNode  {      GObject parent;                         /* A laisser en premier        */ -    GYamlLine *line;                        /* Line Yaml d'origine         */ -  }; -/* Noeud d'une arborescence au format Yaml (classe) */ +/* Noeud d'une arborescence au format YAML (classe) */  struct _GYamlNodeClass  {      GObjectClass parent;                    /* A laisser en premier        */ -    find_yaml_node_fc find;                 /* Recherche par chemin        */ +    find_first_yaml_node_fc find;           /* Recherche par chemin        */  }; -/* Recherche les noeuds correspondant à un chemin. */ -void _g_yaml_node_find_by_path(const GYamlNode *, const char *, bool, GYamlNode ***, size_t *); - -  #endif  /* PLUGINS_YAML_NODE_INT_H */ | 
