1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2017, Olivier MATZ <zer0@droids-corp.org>
6 * @defgroup nodes Nodes
10 #ifndef ECOLI_NODE_DYNAMIC_
11 #define ECOLI_NODE_DYNAMIC_
16 /* callback invoked by parse() or complete() to build the dynamic node
17 * the behavior of the node can depend on what is already parsed */
18 typedef struct ec_node *(*ec_node_dynamic_build_t)(
19 struct ec_parse *state, void *opaque);
21 struct ec_node *ec_node_dynamic(const char *id, ec_node_dynamic_build_t build,