hide ec_node structure
[protos/libecoli.git] / include / ecoli_node_many.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
3  */
4
5 /**
6  * @defgroup nodes Nodes
7  * @{
8  */
9
10 #ifndef ECOLI_NODE_MANY_
11 #define ECOLI_NODE_MANY_
12
13 /*
14  * if min == max == 0, there is no limit
15  */
16 struct ec_node *ec_node_many(const char *id, struct ec_node *child,
17         unsigned int min, unsigned int max);
18
19 int
20 ec_node_many_set_params(struct ec_node *gen_node, struct ec_node *child,
21         unsigned int min, unsigned int max);
22
23 #endif
24
25 /** @} */