path: root/include/expr_ops.h
diff options
authorPablo Neira Ayuso <>2018-10-09 00:03:28 +0200
committerPablo Neira Ayuso <>2018-10-15 14:04:27 +0200
commit80077787f8f21da1efd8dc27a4c5767ab47a1df6 (patch)
tree01d9b399a1aad23d7ea1d1e1daa0ad98bec69e0a /include/expr_ops.h
parentaaf20ad0dc22d2ebcad1b2c43288e984f0efe2c3 (diff)
src: remove json support
We have better json support in libnftables these days. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/expr_ops.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/include/expr_ops.h b/include/expr_ops.h
index e639390..00548b3 100644
--- a/include/expr_ops.h
+++ b/include/expr_ops.h
@@ -19,8 +19,6 @@ struct expr_ops {
int (*parse)(struct nftnl_expr *e, struct nlattr *attr);
void (*build)(struct nlmsghdr *nlh, const struct nftnl_expr *e);
int (*snprintf)(char *buf, size_t len, uint32_t type, uint32_t flags, const struct nftnl_expr *e);
- int (*json_parse)(struct nftnl_expr *e, json_t *data,
- struct nftnl_parse_err *err);
struct expr_ops *nftnl_expr_ops_lookup(const char *name);