summaryrefslogtreecommitdiffstats
path: root/include/libnftables/set.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-10-27 21:50:35 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2013-10-27 22:03:01 +0100
commitd8aec16c2b73a3f7b5183ccbe25d0522bf2f4f3c (patch)
tree4088f35bc4a929223c9703d7ba61ed44613cbe1e /include/libnftables/set.h
parentfe59236952e037029c484b3f2ee75c658df90a9c (diff)
include: fix missing struct nlmsghdr without definition
The definition of this structure belongs to the scope of linux/netlink.h. Based on patch from Jan Engelhardt. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/set.h')
-rw-r--r--include/libnftables/set.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/set.h b/include/libnftables/set.h
index e377826..14a6327 100644
--- a/include/libnftables/set.h
+++ b/include/libnftables/set.h
@@ -30,6 +30,8 @@ const void *nft_set_attr_get(struct nft_set *s, uint16_t attr);
const char *nft_set_attr_get_str(struct nft_set *s, uint16_t attr);
uint32_t nft_set_attr_get_u32(struct nft_set *s, uint16_t attr);
+struct nlmsghdr;
+
struct nlmsghdr *nft_set_nlmsg_build_hdr(char *buf, uint16_t cmd, uint16_t family, uint16_t type, uint32_t seq);
void nft_set_nlmsg_build_payload(struct nlmsghdr *nlh, struct nft_set *s);
int nft_set_nlmsg_parse(const struct nlmsghdr *nlh, struct nft_set *s);