summaryrefslogtreecommitdiffstats
path: root/include/libnftables/chain.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnftables/chain.h')
-rw-r--r--include/libnftables/chain.h2
1 files changed, 2 insertions, 0 deletions
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 <stdint.h>
+#include <stdbool.h>
#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);