summaryrefslogtreecommitdiff
path: root/src/libshared/local-addresses.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-27 17:36:31 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-27 17:36:31 -0400
commitea373df773e0e8184a4b3f8ffff3bb43f307cde9 (patch)
tree7dcee1eb1024ddbd8c8454856a260d4a11096cb1 /src/libshared/local-addresses.h
parent66318acf57eb377ea9a34cf7cef9be64b236dd8e (diff)
parent308f7aaa3910b27e3443e0391fd6895535894bb8 (diff)
Merge branch 'lukeshu/postmove' into lukeshu/master
# Conflicts: # src/libsystemd/src/Makefile
Diffstat (limited to 'src/libshared/local-addresses.h')
-rw-r--r--src/libshared/local-addresses.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/libshared/local-addresses.h b/src/libshared/local-addresses.h
deleted file mode 100644
index 1ddc50ace5..0000000000
--- a/src/libshared/local-addresses.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-/***
- This file is part of systemd.
-
- Copyright 2008-2011 Lennart Poettering
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
-
- systemd 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with systemd; If not, see <http://www.gnu.org/licenses/>.
-***/
-
-
-#include <systemd/sd-netlink.h>
-
-#include "in-addr-util.h"
-
-struct local_address {
- int family, ifindex;
- unsigned char scope;
- uint32_t metric;
- union in_addr_union address;
-};
-
-int local_addresses(sd_netlink *rtnl, int ifindex, int af, struct local_address **ret);
-
-int local_gateways(sd_netlink *rtnl, int ifindex, int af, struct local_address **ret);