]> git.ipfire.org Git - thirdparty/nftables.git/commit
datatype: rename "dtype_clone()" to datatype_clone()
authorThomas Haller <thaller@redhat.com>
Fri, 8 Sep 2023 17:34:47 +0000 (19:34 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 8 Sep 2023 18:11:44 +0000 (20:11 +0200)
commitbd063341a552c5e79cffa26e8b7a06fcdbfcd96c
tree3c009a2c751db2cc1b17f8f41b922306a75d238a
parent5722eda4eec170fe26bf274cb550c875f5b94a0c
datatype: rename "dtype_clone()" to datatype_clone()

The struct is called "datatype" and related functions have the fitting
"datatype_" prefix. Rename.

Also rename the internal "dtype_alloc()" to "datatype_alloc()".

This is a follow up to commit 01a13882bb59 ('src: add reference counter
for dynamic datatypes'), which started adding "datatype_*()" functions.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
include/datatype.h
src/datatype.c
src/evaluate.c
src/payload.c