src/login/logind-seat-dbus.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include "logind-forward.h" |
| 5 | |
| 6 | extern const BusObjectImplementation seat_object; |
| 7 | |
| 8 | char* seat_bus_path(Seat *s); |
| 9 | |
| 10 | int seat_send_signal(Seat *s, bool new_seat); |
| 11 | int seat_send_changed_strv(Seat *s, char **properties); |
| 12 | #define seat_send_changed(s, ...) seat_send_changed_strv(s, STRV_MAKE(__VA_ARGS__)) |
| 13 | |
| 14 | int bus_seat_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error); |