1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
6 #include "bus-object.h"
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
);
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
);
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
);
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
);