diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-05 18:06:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-05 18:06:04 +0200 |
commit | 3ece3d60f41b65470ec5ce6c9a0b830e32a84422 (patch) | |
tree | c4c110ccb2b6de6232a436f49c3a042fe97b3711 /include/libmnl | |
parent | 73661922bc3b7ebf1225d8273147ab4a87757008 (diff) | |
download | libmnl-3ece3d60f41b65470ec5ce6c9a0b830e32a84422.tar.gz libmnl-3ece3d60f41b65470ec5ce6c9a0b830e32a84422.zip |
rename mnl_attr_type_ok() by mnl_attr_type_valid() for consistency
better to rename this function since its return value is not similar
to other _ok() functions, for consistency.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libmnl')
-rw-r--r-- | include/libmnl/libmnl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index ac488a7..5d05b19 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -86,7 +86,7 @@ extern void mnl_attr_put_str(struct nlmsghdr *nlh, int type, const void *data); extern void mnl_attr_put_str_null(struct nlmsghdr *nlh, int type, const void *data); /* TLV validation */ -extern int mnl_attr_type_ok(const struct nlattr *attr, int maxtype); +extern int mnl_attr_type_valid(const struct nlattr *attr, int maxtype); enum mnl_attr_data_type { MNL_TYPE_UNSPEC, |