diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-07-21 14:45:01 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-07-21 14:45:01 (GMT) |
commit | 16d38a49d167983cc21067f17c84b4f07121a00d (patch) | |
tree | 54b024ce6eaa58059bd763770f7baf322a603d31 /include | |
parent | 49d29e9c2d06a3402cc197c8f916e891354324d1 (diff) | |
download | libnl-16d38a49d167983cc21067f17c84b4f07121a00d.zip libnl-16d38a49d167983cc21067f17c84b4f07121a00d.tar.gz libnl-16d38a49d167983cc21067f17c84b4f07121a00d.tar.bz2 |
Use 'link type' instead of 'link info type'
The term 'link type' is much more easier to understand than 'link info type'
rtnl_link_set/get_info_type() left around for backwards compatibility
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/netlink/route/link.h b/include/netlink/route/link.h index 0dddaf7..d7d9cd3 100644 --- a/include/netlink/route/link.h +++ b/include/netlink/route/link.h @@ -187,8 +187,11 @@ extern uint64_t rtnl_link_get_stat(struct rtnl_link *, int); extern int rtnl_link_set_stat(struct rtnl_link *, const unsigned int, const uint64_t); -extern int rtnl_link_set_info_type(struct rtnl_link *, const char *); -extern char * rtnl_link_get_info_type(struct rtnl_link *); +extern int rtnl_link_set_type(struct rtnl_link *, const char *); +extern char * rtnl_link_get_type(struct rtnl_link *); + +extern int rtnl_link_set_info_type(struct rtnl_link *, const char *) __attribute__((deprecated)); +extern char * rtnl_link_get_info_type(struct rtnl_link *) __attribute__((deprecated)); #ifdef __cplusplus } |