Libecoli  0.10.1
Extensible COmmand LIne library
node_many.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
3  */
4 
10 #pragma once
11 
12 /*
13  * if min == max == 0, there is no limit
14  */
15 struct ec_node *
16 ec_node_many(const char *id, struct ec_node *child, unsigned int min, unsigned int max);
17 
18 int ec_node_many_set_params(
19  struct ec_node *gen_node,
20  struct ec_node *child,
21  unsigned int min,
22  unsigned int max
23 );
24 
struct ec_node * ec_node(const char *typename, const char *id)