summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libnftables/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/expr.h b/include/libnftables/expr.h
index b7d408b..02f38d0 100644
--- a/include/libnftables/expr.h
+++ b/include/libnftables/expr.h
@@ -31,6 +31,8 @@ uint32_t nft_rule_expr_get_u32(const struct nft_rule_expr *expr, uint16_t type);
uint64_t nft_rule_expr_get_u64(const struct nft_rule_expr *expr, uint16_t type);
const char *nft_rule_expr_get_str(const struct nft_rule_expr *expr, uint16_t type);
+struct nlmsghdr;
+
void nft_rule_expr_build_payload(struct nlmsghdr *nlh, struct nft_rule_expr *expr);
int nft_rule_expr_snprintf(char *buf, size_t buflen, struct nft_rule_expr *expr, uint32_t type, uint32_t flags);