summaryrefslogtreecommitdiffstats
path: root/include/libnftables/table.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/table.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/table.h')
-rw-r--r--include/libnftables/table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/table.h b/include/libnftables/table.h
index 66574cf..42a4aa7 100644
--- a/include/libnftables/table.h
+++ b/include/libnftables/table.h
@@ -29,6 +29,8 @@ void nft_table_attr_set_str(struct nft_table *t, uint16_t attr, const char *str)
uint32_t nft_table_attr_get_u32(struct nft_table *t, uint16_t attr);
const char *nft_table_attr_get_str(struct nft_table *t, uint16_t attr);
+struct nlmsghdr;
+
void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table *t);
enum {