diff options
| author | Michael Biebl <biebl@debian.org> | 2014-07-06 02:16:10 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-07-06 02:16:10 +0200 |
| commit | 33491bc4279481db8ae47213e34a6d695a0e8830 (patch) | |
| tree | 097d2b0fdff3fae6885381ae5e57a182cd8cbbba /src/nm-netlink-compat.h | |
| parent | 59c3714a494c3b3765657c0551ad82842d98a7d2 (diff) | |
Imported Upstream version 0.9.10.0 upstream/0.9.10.0
Diffstat (limited to 'src/nm-netlink-compat.h')
| -rw-r--r-- | src/nm-netlink-compat.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/nm-netlink-compat.h b/src/nm-netlink-compat.h deleted file mode 100644 index a844e9f2..00000000 --- a/src/nm-netlink-compat.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ -/* NetworkManager -- Network link manager - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Copyright (C) 2011 Caixa Magica Software. - * Copyright (C) 2011 - 2012 Red Hat, Inc. - */ - -#ifndef NM_NETLINK_COMPAT_H -#define NM_NETLINK_COMPAT_H - -#include <netlink/route/route.h> - -/* libnl-1 API compatibility for libnl-3 */ -int rtnl_route_get_oif(struct rtnl_route *); -int rtnl_route_set_oif(struct rtnl_route *, int); -int rtnl_route_set_gateway(struct rtnl_route *, struct nl_addr *); -int rtnl_route_get_dst_len(struct rtnl_route *); -struct nl_addr * rtnl_route_get_gateway(struct rtnl_route *); - -#endif /* NM_NETLINK_COMPAT_H */ |