diff options
Diffstat (limited to 'include/rule.h')
-rw-r--r-- | include/rule.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/rule.h b/include/rule.h index 89a6da68..e2a5c87b 100644 --- a/include/rule.h +++ b/include/rule.h @@ -212,8 +212,7 @@ extern struct rule *rule_lookup(const struct chain *chain, uint64_t handle); * @flags: bitmask of set flags * @gc_int: garbage collection interval * @timeout: default timeout value - * @keytype: key data type - * @keylen: key length + * @key: key expression (data type, length)) * @datatype: mapping data type * @datalen: mapping data len * @objtype: mapping object type @@ -230,8 +229,7 @@ struct set { uint32_t flags; uint32_t gc_int; uint64_t timeout; - const struct datatype *keytype; - unsigned int keylen; + struct expr *key; const struct datatype *datatype; unsigned int datalen; uint32_t objtype; |