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