From 9d65f388c42eaf387a0ae91587c28a29c8582f46 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 16 Dec 2019 13:42:21 +0100 Subject: expr: add expr_ops_by_type() Fetch expression operation from the expression type. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Florian Westphal --- include/expression.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/expression.h') diff --git a/include/expression.h b/include/expression.h index 717b6755..d502fc2a 100644 --- a/include/expression.h +++ b/include/expression.h @@ -169,6 +169,7 @@ struct expr_ops { }; const struct expr_ops *expr_ops(const struct expr *e); +const struct expr_ops *expr_ops_by_type(enum expr_types etype); /** * enum expr_flags -- cgit v1.2.3