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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expr_ops.h b/src/expr_ops.h
index 18edfd1..d8a0b36 100644
--- a/src/expr_ops.h
+++ b/src/expr_ops.h
@@ -14,6 +14,8 @@ struct nft_rule_expr;
#endif
struct expr_ops {
+ struct list_head head;
+
char *name;
size_t alloc_len;
int max_attr;
@@ -25,6 +27,7 @@ struct expr_ops {
int (*xml_parse)(struct nft_rule_expr *e, mxml_node_t *tree);
};
+void nft_expr_ops_register(struct expr_ops *ops);
struct expr_ops *nft_expr_ops_lookup(const char *name);
#endif