From 7bfe1e9cb0a63ecaa13ef59a37e65698ba3121d8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Aug 2014 02:04:17 +0200 Subject: sd-network: remove client-side dhcp API The networkd should abstract the difference between DHCP supplied and configured data, and hence the DHCP lease concept should not exposed on the client side. Should we want to support arbitrary DHCP fields one day, we can add a new sd_network_get_link_dhcp_field() call or so. --- src/systemd/sd-network.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/systemd') diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index e69679ae5..3e950728c 100644 --- a/src/systemd/sd-network.h +++ b/src/systemd/sd-network.h @@ -26,8 +26,6 @@ #include #include -#include "sd-dhcp-lease.h" - #include "_sd-common.h" /* @@ -73,9 +71,6 @@ int sd_network_get_link_state(int ifindex, char **state); */ int sd_network_get_link_operational_state(int ifindex, char **state); -/* Get DHCPv4 lease from ifindex. */ -int sd_network_get_link_dhcp_lease(int ifindex, sd_dhcp_lease **ret); - /* Indicates whether or not LLMNR should be enabled for the link * Possible levels of support: yes, no, resolve * Possible return codes: -- cgit v1.2.3