diff options
author | Thomas Graf <tgr@deb.localdomain> | 2008-01-30 12:14:38 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@deb.localdomain> | 2008-01-30 12:14:38 (GMT) |
commit | 3607dbfa54e7ca775a89078f64bdcb150ea9306b (patch) | |
tree | ad48e3e80a2b904e4274e9d51faa7bc777bb674f /include/netlink/data.h | |
parent | 2e6ded94f453ed725381b1fae5dcaa6c7fcfb9b8 (diff) | |
download | libnl-3607dbfa54e7ca775a89078f64bdcb150ea9306b.zip libnl-3607dbfa54e7ca775a89078f64bdcb150ea9306b.tar.gz libnl-3607dbfa54e7ca775a89078f64bdcb150ea9306b.tar.bz2 |
Abstract data allocation based on netlink attribute
Diffstat (limited to 'include/netlink/data.h')
-rw-r--r-- | include/netlink/data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/data.h b/include/netlink/data.h index bb28d13..a518a24 100644 --- a/include/netlink/data.h +++ b/include/netlink/data.h @@ -22,6 +22,7 @@ struct nl_data; /* General */ extern struct nl_data * nl_data_alloc(void *, size_t); +extern struct nl_data * nl_data_alloc_from_attr(struct nlattr *); extern struct nl_data * nl_data_clone(struct nl_data *); extern int nl_data_append(struct nl_data *, void *, size_t); extern void nl_data_free(struct nl_data *); |