diff options
author | Thomas Graf <tgr@plip.localdomain> | 2008-10-14 17:26:44 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2008-10-14 17:26:44 (GMT) |
commit | 23ee46ef7115c2e311c36e43a833e6c3deada18a (patch) | |
tree | 60793068d05c482737787baf4619449741a2a23b /include/netlink/msg.h | |
parent | 5702d4c1b97616f5212da31db01a2f3c79c15b7c (diff) | |
download | libnl-23ee46ef7115c2e311c36e43a833e6c3deada18a.zip libnl-23ee46ef7115c2e311c36e43a833e6c3deada18a.tar.gz libnl-23ee46ef7115c2e311c36e43a833e6c3deada18a.tar.bz2 |
Replace NL_KEEP code with proper message reference counting
Adds reference counting to netlink messages so callbacks
can hold on to a message without using the broken keep
message flag.
Diffstat (limited to 'include/netlink/msg.h')
-rw-r--r-- | include/netlink/msg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/msg.h b/include/netlink/msg.h index 1cb1305..e331f42 100644 --- a/include/netlink/msg.h +++ b/include/netlink/msg.h @@ -81,6 +81,7 @@ extern int nlmsg_expand(struct nl_msg *, size_t); extern struct nlmsghdr * nlmsg_put(struct nl_msg *, uint32_t, uint32_t, int, int, int); extern struct nlmsghdr * nlmsg_hdr(struct nl_msg *); +extern void nlmsg_get(struct nl_msg *); extern void nlmsg_free(struct nl_msg *); /* attribute modification */ |