From 760768890e60617acfd144dce875a4a3be14513c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 1 Sep 2015 20:19:56 +0200 Subject: 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 --- include/data_reg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/data_reg.h') diff --git a/include/data_reg.h b/include/data_reg.h index e0fdd10..0f2ae9a 100644 --- a/include/data_reg.h +++ b/include/data_reg.h @@ -12,7 +12,7 @@ enum { DATA_CHAIN, }; -union nft_data_reg { +union nftnl_data_reg { struct { uint32_t val[NFT_DATA_VALUE_MAXLEN / sizeof(uint32_t)]; uint32_t len; @@ -23,11 +23,11 @@ union nft_data_reg { }; }; -int nft_data_reg_snprintf(char *buf, size_t size, union nft_data_reg *reg, +int nftnl_data_reg_snprintf(char *buf, size_t size, union nftnl_data_reg *reg, uint32_t output_format, uint32_t flags, int reg_type); struct nlattr; -int nft_parse_data(union nft_data_reg *data, struct nlattr *attr, int *type); -void nft_free_verdict(union nft_data_reg *data); +int nftnl_parse_data(union nftnl_data_reg *data, struct nlattr *attr, int *type); +void nftnl_free_verdict(union nftnl_data_reg *data); #endif -- cgit v1.2.3