summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-12 02:04:17 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-12 02:04:17 +0200
commit7bfe1e9cb0a63ecaa13ef59a37e65698ba3121d8 (patch)
tree2a0f0c5a2dac4b3159bb70c1d91d3a620d8527c1 /src/systemd
parentee8c45689526ca973407cbb77bce7b96a062c40b (diff)
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.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-network.h5
1 files changed, 0 insertions, 5 deletions
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 <sys/types.h>
#include <inttypes.h>
-#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: