summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-04-15 15:31:47 +0200
committerThomas Graf <tgraf@suug.ch>2011-04-15 15:31:47 +0200
commit8ffab45698b8bcfb7c861e9bdc9f8e2a279c1183 (patch)
tree1bbdd6936bc2ed8746634c7c2bdc604cbb272097
parent5a6610190a56c9788b2ba982ae60c93022c6cde1 (diff)
downloadlibnl-8ffab45698b8bcfb7c861e9bdc9f8e2a279c1183.tar.gz
export rtnl_link_add() and rtnl_link_build_add_request()
-rw-r--r--include/netlink/route/link.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/netlink/route/link.h b/include/netlink/route/link.h
index 3790c09..0dddaf7 100644
--- a/include/netlink/route/link.h
+++ b/include/netlink/route/link.h
@@ -6,7 +6,7 @@
* License as published by the Free Software Foundation version 2.1
* of the License.
*
- * Copyright (c) 2003-2010 Thomas Graf <tgraf@suug.ch>
+ * Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch>
*/
#ifndef NETLINK_LINK_H_
@@ -96,6 +96,9 @@ extern struct rtnl_link *rtnl_link_get(struct nl_cache *, int);
extern struct rtnl_link *rtnl_link_get_by_name(struct nl_cache *, const char *);
+extern int rtnl_link_build_add_request(struct rtnl_link *, int,
+ struct nl_msg **);
+extern int rtnl_link_add(struct nl_sock *, struct rtnl_link *, int);
extern int rtnl_link_build_change_request(struct rtnl_link *,
struct rtnl_link *, int,
struct nl_msg **);