summaryrefslogtreecommitdiff
path: root/plugins/yaml/reader.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-02-04 16:36:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-02-04 16:36:10 (GMT)
commite85f35454bf94b7414dd9d2f5e6609601951293c (patch)
treef8cf3afe5b2ed34949878552b663d4b037e16238 /plugins/yaml/reader.h
parentdb3b204dd7a71b2f74a4e69b2159a96e3ab66614 (diff)
Provide constructor to load Yaml contents without external files.
Diffstat (limited to 'plugins/yaml/reader.h')
-rw-r--r--plugins/yaml/reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/yaml/reader.h b/plugins/yaml/reader.h
index 3e5ce48..51bd7e2 100644
--- a/plugins/yaml/reader.h
+++ b/plugins/yaml/reader.h
@@ -53,10 +53,10 @@ typedef struct _GYamlReaderClass GYamlReaderClass;
GType g_yaml_reader_get_type(void);
/* Crée un lecteur pour contenu au format Yaml. */
-GYamlReader *g_yaml_reader_new_from_content(const char *, size_t);
+GYamlReader *g_yaml_reader_new_from_text(const char *);
/* Crée un lecteur pour contenu au format Yaml. */
-GYamlReader *g_yaml_reader_new_from_path(const char *);
+GYamlReader *g_yaml_reader_new_from_file(const char *);
/* Fournit la liste des lignes lues depuis un contenu Yaml. */
GYamlLine **g_yaml_reader_get_lines(const GYamlReader *, size_t *);