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 c50650f..55096f8 100644
--- a/include/libnftables/table.h
+++ b/include/libnftables/table.h
@@ -22,7 +22,9 @@ 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);
void nft_table_attr_set_u32(struct nft_table *t, uint16_t attr, uint32_t data);
+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);
void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table *t);