X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-network.h;h=30e920db327fcea4ca62fbd0aa697fe5569ff04c;hb=a2ba62c719224a4b47751623ca5e8b0333f49721;hp=0eaefdc7b181b35967c88ae8e3dbd65ff4404c04;hpb=b45d9e86e41c453e0b57f2f8316bef06dee42e5a;p=elogind.git diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index 0eaefdc7b..30e920db3 100644 --- a/src/systemd/sd-network.h +++ b/src/systemd/sd-network.h @@ -87,16 +87,16 @@ int sd_network_dhcp_use_dns(unsigned index); int sd_network_dhcp_use_ntp(unsigned index); /* Get IPv4 DNS entries statically configured for the link */ -int sd_network_get_dns(unsigned index, struct in_addr **addr, size_t *addr_size); +int sd_network_get_dns(unsigned index, struct in_addr **addr); /* Get IPv4 NTP entries statically configured for the link */ -int sd_network_get_ntp(unsigned index, struct in_addr **addr, size_t *addr_size); +int sd_network_get_ntp(unsigned index, struct in_addr **addr); /* Get IPv6 DNS entries statically configured for the link */ -int sd_network_get_dns6(unsigned index, struct in6_addr **addr, size_t *addr_size); +int sd_network_get_dns6(unsigned index, struct in6_addr **addr); /* Get IPv6 NTP entries statically configured for the link */ -int sd_network_get_ntp6(unsigned index, struct in6_addr **addr, size_t *addr_size); +int sd_network_get_ntp6(unsigned index, struct in6_addr **addr); /* Get all network interfaces' indices, and store them in *indices. Returns * the number of indices. If indices is NULL, only returns the number of indices. */