Debian Codegraph @

src/shared/bus-log-control-api.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "shared-forward.h"
5
6 extern const BusObjectImplementation log_control_object;
7
8 int bus_log_control_api_register(sd_bus *bus);
9
10 int bus_property_get_log_level(
11 sd_bus *bus,
12 const char *path,
13 const char *interface,
14 const char *property,
15 sd_bus_message *reply,
16 void *userdata,
17 sd_bus_error *reterr_error);
18 int bus_property_set_log_level(
19 sd_bus *bus,
20 const char *path,
21 const char *interface,
22 const char *property,
23 sd_bus_message *value,
24 void *userdata,
25 sd_bus_error *reterr_error);
26
27 int bus_property_get_log_target(
28 sd_bus *bus,
29 const char *path,
30 const char *interface,
31 const char *property,
32 sd_bus_message *reply,
33 void *userdata,
34 sd_bus_error *reterr_error);
35 int bus_property_set_log_target(
36 sd_bus *bus,
37 const char *path,
38 const char *interface,
39 const char *property,
40 sd_bus_message *value,
41 void *userdata,
42 sd_bus_error *reterr_error);
43
44 int bus_property_get_syslog_identifier(
45 sd_bus *bus,
46 const char *path,
47 const char *interface,
48 const char *property,
49 sd_bus_message *reply,
50 void *userdata,
51 sd_bus_error *reterr_error);