1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include "bus-object.h"
5 #include "resolved-manager.h"
6 
7 extern const BusObjectImplementation manager_object;
8 
9 int manager_connect_bus(Manager *m);
10 int _manager_send_changed(Manager *manager, const char *property, ...) _sentinel_;
11 #define manager_send_changed(manager, ...) _manager_send_changed(manager, __VA_ARGS__, NULL)
12 int bus_dns_server_append(sd_bus_message *reply, DnsServer *s, bool with_ifindex, bool extended);
13 int bus_property_get_resolve_support(sd_bus *bus, const char *path, const char *interface,
14                                      const char *property, sd_bus_message *reply,
15                                      void *userdata, sd_bus_error *error);
16 
17 void bus_client_log(sd_bus_message *m, const char *what);
18