add meson support
[protos/libecoli.git] / include / ecoli_node_many.h
diff --git a/include/ecoli_node_many.h b/include/ecoli_node_many.h
new file mode 100644 (file)
index 0000000..0a50fd7
--- /dev/null
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
+ */
+
+#ifndef ECOLI_NODE_MANY_
+#define ECOLI_NODE_MANY_
+
+/*
+ * if min == max == 0, there is no limit
+ */
+struct ec_node *ec_node_many(const char *id, struct ec_node *child,
+       unsigned int min, unsigned int max);
+
+int
+ec_node_many_set_params(struct ec_node *gen_node, struct ec_node *child,
+       unsigned int min, unsigned int max);
+
+#endif