summaryrefslogtreecommitdiffstats
path: root/include/libnftables/table.h
diff options
context:
space:
mode:
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 8a4778f..9445879 100644
--- a/include/libnftables/table.h
+++ b/include/libnftables/table.h
@@ -2,6 +2,7 @@
#define _TABLE_H_
#include <stdint.h>
+#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
@@ -18,6 +19,7 @@ enum {
NFT_TABLE_ATTR_FLAGS,
};
+bool nft_table_attr_is_set(struct nft_table *t, uint16_t attr);
void nft_table_attr_unset(struct nft_table *t, uint16_t attr);
void nft_table_attr_set(struct nft_table *t, uint16_t attr, const void *data);
const void *nft_table_attr_get(struct nft_table *t, uint16_t attr);