Libecoli 0.4.0
Extensible COmmand LIne library
 
Loading...
Searching...
No Matches
YAML import/export

Functions

struct ec_nodeec_yaml_import (const char *filename)
 

Detailed Description

Interface to import/export ecoli data structures in YAML.

Function Documentation

◆ ec_yaml_import()

struct ec_node * ec_yaml_import ( const char * filename)

Parse a YAML file and build an ec_node tree from it.

Parameters
filenameThe path to the file to be parsed.
Returns
The ec_node tree on success, or NULL on error (errno is set). The returned node must be freed by the caller with ec_node_free().