add ec_node_bypass
[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 #ifndef ECOLI_NODE_MANY_
6 #define ECOLI_NODE_MANY_
7
8 /*
9  * if min == max == 0, there is no limit
10  */
11 struct ec_node *ec_node_many(const char *id, struct ec_node *child,
12         unsigned int min, unsigned int max);
13
14 int
15 ec_node_many_set_params(struct ec_node *gen_node, struct ec_node *child,
16         unsigned int min, unsigned int max);
17
18 #endif