From a331eca90d25a1bc519a5a3a53d72a982cedb029 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 17 Jun 2019 14:01:56 +0200 Subject: netlink: remove netlink_list_table() Remove this wrapper, call netlink_list_rules() instead. Signed-off-by: Pablo Neira Ayuso --- include/netlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/netlink.h') diff --git a/include/netlink.h b/include/netlink.h index 0c08b1ab..279723f3 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -104,6 +104,7 @@ extern struct expr *netlink_alloc_data(const struct location *loc, const struct nft_data_delinearize *nld, enum nft_registers dreg); +extern int netlink_list_rules(struct netlink_ctx *ctx, const struct handle *h); extern void netlink_linearize_rule(struct netlink_ctx *ctx, struct nftnl_rule *nlr, const struct rule *rule); @@ -115,7 +116,6 @@ extern struct chain *netlink_delinearize_chain(struct netlink_ctx *ctx, const struct nftnl_chain *nlc); extern int netlink_list_tables(struct netlink_ctx *ctx, const struct handle *h); -extern int netlink_list_table(struct netlink_ctx *ctx, const struct handle *h); extern struct table *netlink_delinearize_table(struct netlink_ctx *ctx, const struct nftnl_table *nlt); -- cgit v1.2.3