summaryrefslogtreecommitdiffstats
path: root/src/expr_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr_ops.h')
-rw-r--r--src/expr_ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr_ops.h b/src/expr_ops.h
index d8a0b36..78413fc 100644
--- a/src/expr_ops.h
+++ b/src/expr_ops.h
@@ -30,4 +30,6 @@ struct expr_ops {
void nft_expr_ops_register(struct expr_ops *ops);
struct expr_ops *nft_expr_ops_lookup(const char *name);
+#define nft_expr_data(ops) (void *)ops->data
+
#endif