1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
6 * Interface to import/export ecoli data structures in YAML.
9 #ifndef ECOLI_NODE_YAML_
10 #define ECOLI_NODE_YAML_
15 * Parse a YAML file and build an ec_node tree from it.
18 * The path to the file to be parsed.
20 * The ec_node tree on success, or NULL on error (errno is set).
21 * The returned node must be freed by the caller with ec_node_free().
23 struct ec_node *ec_yaml_import(const char *filename);