X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-dhcp6-client.h;fp=src%2Fsystemd%2Fsd-dhcp6-client.h;h=92ea8b88322b53108987fc88de70f8144f33ad67;hb=ea3b3a75abb3f8b853f7da454b9b8e258a120eea;hp=72267f908ca3caaf54b18185c900df1f2e0a4d2a;hpb=631bbe71298ec892f77f44f94feb612646fe6853;p=elogind.git diff --git a/src/systemd/sd-dhcp6-client.h b/src/systemd/sd-dhcp6-client.h index 72267f908..92ea8b883 100644 --- a/src/systemd/sd-dhcp6-client.h +++ b/src/systemd/sd-dhcp6-client.h @@ -26,6 +26,8 @@ #include "sd-event.h" +#include "sd-dhcp6-lease.h" + enum { DHCP6_EVENT_STOP = 0, DHCP6_EVENT_RESEND_EXPIRE = 10, @@ -43,6 +45,8 @@ int sd_dhcp6_client_set_index(sd_dhcp6_client *client, int interface_index); int sd_dhcp6_client_set_mac(sd_dhcp6_client *client, const struct ether_addr *mac_addr); +int sd_dhcp6_client_get_lease(sd_dhcp6_client *client, sd_dhcp6_lease **ret); + int sd_dhcp6_client_stop(sd_dhcp6_client *client); int sd_dhcp6_client_start(sd_dhcp6_client *client); int sd_dhcp6_client_attach_event(sd_dhcp6_client *client, sd_event *event,