1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "sd-bus.h" 5 6 #include "in-addr-util.h" 7 #include "socket-netlink.h" 8 9 int bus_message_read_ifindex(sd_bus_message *message, sd_bus_error *error, int *ret); 10 int bus_message_read_family(sd_bus_message *message, sd_bus_error *error, int *ret); 11 int bus_message_read_in_addr_auto(sd_bus_message *message, sd_bus_error *error, int *ret_family, union in_addr_union *ret_addr); 12 13 int bus_message_read_dns_servers( 14 sd_bus_message *message, 15 sd_bus_error *error, 16 bool extended, 17 struct in_addr_full ***ret_dns, 18 size_t *ret_n_dns); 19