From 9fd9baba43c8ee17f944a1157b77a8e47cb9ba41 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 10 Mar 2017 18:13:49 +0100 Subject: Introduce boolean datatype and boolean expression Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- include/datatype.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/datatype.h') diff --git a/include/datatype.h b/include/datatype.h index b78d76f7..e614b96e 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -82,6 +82,7 @@ enum datatypes { TYPE_DSCP, TYPE_ECN, TYPE_FIB_ADDR, + TYPE_BOOLEAN, __TYPE_MAX }; #define TYPE_MAX (__TYPE_MAX - 1) @@ -233,6 +234,7 @@ extern const struct datatype icmp_code_type; extern const struct datatype icmpv6_code_type; extern const struct datatype icmpx_code_type; extern const struct datatype time_type; +extern const struct datatype boolean_type; extern const struct datatype *concat_type_alloc(uint32_t type); extern void concat_type_destroy(const struct datatype *dtype); -- cgit v1.2.3