diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-04 16:29:58 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-04-04 16:29:58 +0200 |
commit | 8bc402318be9f09b70cdb61d81799e90d8a64e7b (patch) | |
tree | 6eebf08f463f15d87c6a151b4cc43969588a3b70 /include/libmnl | |
parent | bd00b928e678b3ede5dbc5abc933539fe5cc31e6 (diff) | |
download | libmnl-8bc402318be9f09b70cdb61d81799e90d8a64e7b.tar.gz libmnl-8bc402318be9f09b70cdb61d81799e90d8a64e7b.zip |
rename mnl_attr_type_invalid() by mnl_attr_type_ok()
And include the prototype in libmnl.h, since it was missing
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, 2 insertions, 0 deletions
diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index efdae74..ac488a7 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -86,6 +86,8 @@ 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); + enum mnl_attr_data_type { MNL_TYPE_UNSPEC, MNL_TYPE_U8, |