1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
5 #ifndef ECOLI_NODE_INT_
6 #define ECOLI_NODE_INT_
10 #include <ecoli_node.h>
12 /* ec_node("int", ...) can be used too
13 * default is no limit, base 10 */
15 struct ec_node *ec_node_int(const char *id, int64_t min,
16 int64_t max, unsigned int base);
18 int ec_node_int_getval(const struct ec_node *node, const char *str,
23 struct ec_node *ec_node_uint(const char *id, uint64_t min,
24 uint64_t max, unsigned int base);
26 int ec_node_uint_getval(const struct ec_node *node, const char *str,