X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-dhcp-client.h;h=937ed86e8d216f8d912fa348b93cf81d052a82a8;hb=127b55d5a49e8e534e12107fc5d5a684c390d7aa;hp=e387d54046d7e2697eed4ce875d1a09d5f6b1e8e;hpb=1346b1f0388f4100bb3c2a2bb23bc881769c020c;p=elogind.git diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h index e387d5404..937ed86e8 100644 --- a/src/systemd/sd-dhcp-client.h +++ b/src/systemd/sd-dhcp-client.h @@ -54,8 +54,9 @@ int sd_dhcp_client_get_address(sd_dhcp_client *client, struct in_addr *addr); int sd_dhcp_client_get_netmask(sd_dhcp_client *client, struct in_addr *addr); int sd_dhcp_client_prefixlen(const struct in_addr *addr); int sd_dhcp_client_get_router(sd_dhcp_client *client, struct in_addr *addr); -int sd_dhcp_client_get_dns(sd_dhcp_client *client, struct in_addr ***addr); +int sd_dhcp_client_get_dns(sd_dhcp_client *client, struct in_addr **addr, size_t *addr_size); int sd_dhcp_client_get_mtu(sd_dhcp_client *client, uint16_t *mtu); +int sd_dhcp_client_get_domainname(sd_dhcp_client *client, const char **domainname); int sd_dhcp_client_get_hostname(sd_dhcp_client *client, const char **hostname); int sd_dhcp_client_stop(sd_dhcp_client *client);