summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-12-16 13:42:21 +0100
committerFlorian Westphal <fw@strlen.de>2019-12-16 17:06:55 +0100
commit9d65f388c42eaf387a0ae91587c28a29c8582f46 (patch)
treefe03b7e88f5017e00940a73563cdd34ed82b188c /include
parentbf5726c5afde540bb3fede21745d127b24ce427b (diff)
expr: add expr_ops_by_type()
Fetch expression operation from the expression type. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
-rw-r--r--include/expression.h1
1 files changed, 1 insertions, 0 deletions
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