summaryrefslogtreecommitdiffstats
path: root/include/expr.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-01 20:19:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 19:24:19 +0200
commit760768890e60617acfd144dce875a4a3be14513c (patch)
tree14a3a4f53e81fd9b44c8481e123f2c0ceb6f2bff /include/expr.h
parentb7154e52fc417e927bef0bbfa5db6e7a71f28602 (diff)
src: rename existing functions to use the nftnl_ prefix
So we can use the nft_* prefix anytime soon for our upcoming higher level library. After this patch, the nft_* symbols become an alias of the nftnl_* symbols. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/expr.h')
-rw-r--r--include/expr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/expr.h b/include/expr.h
index a4333c6..26b4a95 100644
--- a/include/expr.h
+++ b/include/expr.h
@@ -3,7 +3,7 @@
struct expr_ops;
-struct nft_rule_expr {
+struct nftnl_rule_expr {
struct list_head head;
uint32_t flags;
struct expr_ops *ops;
@@ -12,8 +12,8 @@ struct nft_rule_expr {
struct nlmsghdr;
-void nft_rule_expr_build_payload(struct nlmsghdr *nlh, struct nft_rule_expr *expr);
-struct nft_rule_expr *nft_rule_expr_parse(struct nlattr *attr);
+void nftnl_rule_expr_build_payload(struct nlmsghdr *nlh, struct nftnl_rule_expr *expr);
+struct nftnl_rule_expr *nftnl_rule_expr_parse(struct nlattr *attr);
#endif