summaryrefslogtreecommitdiffstats
path: root/include/libmnl
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-04-05 18:06:04 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-04-05 18:06:04 +0200
commit3ece3d60f41b65470ec5ce6c9a0b830e32a84422 (patch)
treec4c110ccb2b6de6232a436f49c3a042fe97b3711 /include/libmnl
parent73661922bc3b7ebf1225d8273147ab4a87757008 (diff)
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.h2
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,