From e0f0f01c249ce659947fb8ca592da3c7062b7fa6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 17 Jun 2013 00:39:38 +0200 Subject: src: add nft_*_attr_is_set Signed-off-by: Pablo Neira Ayuso --- include/libnftables/chain.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libnftables/chain.h') diff --git a/include/libnftables/chain.h b/include/libnftables/chain.h index 313c26a..29f7bc7 100644 --- a/include/libnftables/chain.h +++ b/include/libnftables/chain.h @@ -2,6 +2,7 @@ #define _CHAIN_H_ #include +#include #ifdef __cplusplus extern "C" { @@ -26,6 +27,7 @@ enum { NFT_CHAIN_ATTR_TYPE, }; +bool nft_chain_attr_is_set(struct nft_chain *c, uint16_t attr); void nft_chain_attr_unset(struct nft_chain *c, uint16_t attr); void nft_chain_attr_set(struct nft_chain *t, uint16_t attr, const void *data); void nft_chain_attr_set_u32(struct nft_chain *t, uint16_t attr, uint32_t data); -- cgit v1.2.3