Libecoli
0.11.7
Extensible COmmand LIne library
Toggle main menu visibility
Loading...
Searching...
No Matches
yaml.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
3
*/
4
11
12
#pragma once
13
14
#include <stdio.h>
15
16
struct
ec_node
;
17
27
struct
ec_node
*
ec_yaml_import
(
const
char
*filename);
28
44
int
ec_yaml_export
(FILE *out,
const
struct
ec_node
*node);
45
ec_node
struct ec_node * ec_node(const char *typename, const char *id)
Create a new node from its type name.
ec_yaml_import
struct ec_node * ec_yaml_import(const char *filename)
Parse a YAML file and build an ec_node tree from it.
ec_yaml_export
int ec_yaml_export(FILE *out, const struct ec_node *node)
Export an ec_node tree to a YAML formatted stream.
ecoli
yaml.h
Generated by
1.17.0