summaryrefslogtreecommitdiffstats
path: root/include/libnftables/table.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-05-16 18:34:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-05-16 18:34:47 +0200
commit3bcf3bae07405e3463f111edf21bf5d1facf9cad (patch)
treef2d9fb5d593bc6a35564d2d43aec04fe33ad68d2 /include/libnftables/table.h
parent1e0d8f7a1ab5a4eed242901af0a9eff645807a55 (diff)
table: add nft_table_attr_[set|table]_str
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 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);