]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
95fc17bf | 2 | #pragma once |
052740e2 LP |
3 | |
4 | #include "sd-bus.h" | |
5 | ||
c664cf56 | 6 | #include "bus-object.h" |
6a7e98aa ZJS |
7 | |
8 | extern const BusObjectImplementation log_control_object; | |
9 | static inline int bus_log_control_api_register(sd_bus *bus) { | |
10 | return bus_add_implementation(bus, &log_control_object, NULL); | |
11 | } | |
052740e2 LP |
12 | |
13 | int bus_property_get_log_level(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); | |
14 | int bus_property_set_log_level(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *userdata, sd_bus_error *error); | |
15 | ||
16 | int bus_property_get_log_target(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); | |
17 | int bus_property_set_log_target(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); | |
18 | ||
19 | int bus_property_get_syslog_identifier(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); |