From 8ffab45698b8bcfb7c861e9bdc9f8e2a279c1183 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 15 Apr 2011 15:31:47 +0200 Subject: export rtnl_link_add() and rtnl_link_build_add_request() --- include/netlink/route/link.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 + * Copyright (c) 2003-2011 Thomas Graf */ #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 **); -- cgit v1.2.1