summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-08-22 17:03:45 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-23 20:50:31 +0200
commit1ecfaa2a9f5191823a3c3cd19b760fcb69f7d38d (patch)
tree681f01b3aad1ced116a812aa8f06ee430063a0f1 /include
parentb8d4cf6560385786d5b7824a85efc42d9bb41ed6 (diff)
src: mnl: make nft_mnl_talk() public
As we are going to use the function nft_mnl_talk() from the incoming nftnl_osf.c, we make it public. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/mnl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mnl.h b/include/mnl.h
index cb131bbc..36109c7a 100644
--- a/include/mnl.h
+++ b/include/mnl.h
@@ -92,4 +92,8 @@ int mnl_nft_event_listener(struct mnl_socket *nf_sock, unsigned int debug_mask,
int (*cb)(const struct nlmsghdr *nlh, void *data),
void *cb_data);
+int nft_mnl_talk(struct netlink_ctx *ctx, const void *data, unsigned int len,
+ int (*cb)(const struct nlmsghdr *nlh, void *data),
+ void *cb_data);
+
#endif /* _NFTABLES_MNL_H_ */