1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "sd-bus.h" 5 6 #include "bus-util.h" 7 #include "resolved-link.h" 8 9 extern const BusObjectImplementation link_object; 10 11 char *link_bus_path(const Link *link); 12 13 int bus_link_method_set_dns_servers(sd_bus_message *message, void *userdata, sd_bus_error *error); 14 int bus_link_method_set_dns_servers_ex(sd_bus_message *message, void *userdata, sd_bus_error *error); 15 int bus_link_method_set_domains(sd_bus_message *message, void *userdata, sd_bus_error *error); 16 int bus_link_method_set_default_route(sd_bus_message *message, void *userdata, sd_bus_error *error); 17 int bus_link_method_set_llmnr(sd_bus_message *message, void *userdata, sd_bus_error *error); 18 int bus_link_method_set_mdns(sd_bus_message *message, void *userdata, sd_bus_error *error); 19 int bus_link_method_set_dns_over_tls(sd_bus_message *message, void *userdata, sd_bus_error *error); 20 int bus_link_method_set_dnssec(sd_bus_message *message, void *userdata, sd_bus_error *error); 21 int bus_link_method_set_dnssec_negative_trust_anchors(sd_bus_message *message, void *userdata, sd_bus_error *error); 22 int bus_link_method_revert(sd_bus_message *message, void *userdata, sd_bus_error *error); 23