summaryrefslogtreecommitdiff
path: root/plugins/yaml/collection.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-04-26 19:58:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-04-26 19:58:45 (GMT)
commita1ff7646ce6f829dd192e2e2246def2ea583e93b (patch)
tree092c83cebf8e711ac2da851a3f3c2cbdfb52aeac /plugins/yaml/collection.h
parentf06602ac36b4ad7974d836aad76ed236a7a0c942 (diff)
Provide access to the first node of a collection.
Diffstat (limited to 'plugins/yaml/collection.h')
-rw-r--r--plugins/yaml/collection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/yaml/collection.h b/plugins/yaml/collection.h
index 4d74d29..4bf0f2d 100644
--- a/plugins/yaml/collection.h
+++ b/plugins/yaml/collection.h
@@ -63,6 +63,9 @@ void g_yaml_collection_add_node(GYamlCollection *, GYamlNode *);
/* Fournit la liste des noeuds intégrés dans une collection. */
GYamlNode **g_yaml_collection_get_nodes(const GYamlCollection *, size_t *);
+/* Fournit le premier noeud intégré dans une collection. */
+GYamlNode *g_yaml_collection_get_first_node(const GYamlCollection *);
+
#endif /* PLUGINS_YAML_COLLECTION_H */