summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-22 12:13:04 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-11-22 12:13:04 (GMT)
commite52a09c5078364f0a645f407c797e68a2c1d5f04 (patch)
tree41ec65416103c790722d9e616cff4dbe087aaace /include
parent6545206187c97136d69c5a456257cafa104667bc (diff)
downloadlibnl-e52a09c5078364f0a645f407c797e68a2c1d5f04.zip
libnl-e52a09c5078364f0a645f407c797e68a2c1d5f04.tar.gz
libnl-e52a09c5078364f0a645f407c797e68a2c1d5f04.tar.bz2
nl: rename nlmsg_msg_size() to nlmsg_size(), nlmsg_len() -> nlmsg_datalen()
The old symbols are left around for compatibility.
Diffstat (limited to 'include')
-rw-r--r--include/netlink/msg.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/netlink/msg.h b/include/netlink/msg.h
index e331f42..12b2061 100644
--- a/include/netlink/msg.h
+++ b/include/netlink/msg.h
@@ -44,15 +44,13 @@ struct nl_msg;
struct nl_tree;
struct ucred;
-/* size calculations */
-extern int nlmsg_msg_size(int);
-extern int nlmsg_total_size(int);
-extern int nlmsg_padlen(int);
-
-/* payload access */
-extern void * nlmsg_data(const struct nlmsghdr *);
-extern int nlmsg_len(const struct nlmsghdr *);
-extern void * nlmsg_tail(const struct nlmsghdr *);
+extern int nlmsg_size(int);
+extern int nlmsg_total_size(int);
+extern int nlmsg_padlen(int);
+
+extern void * nlmsg_data(const struct nlmsghdr *);
+extern int nlmsg_datalen(const struct nlmsghdr *);
+extern void * nlmsg_tail(const struct nlmsghdr *);
/* attribute access */
extern struct nlattr * nlmsg_attrdata(const struct nlmsghdr *, int);