diff options
author | Phil Sutter <phil@nwl.cc> | 2017-03-10 18:13:49 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-03-10 19:01:21 +0100 |
commit | 9fd9baba43c8ee17f944a1157b77a8e47cb9ba41 (patch) | |
tree | c2f48d5e8c279eb07ab2797ba53de007c644557c /include/datatype.h | |
parent | 100d3ec82ba5886533f5880e2059682318eefab9 (diff) |
Introduce boolean datatype and boolean expression
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
-rw-r--r-- | include/datatype.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |