1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include "sd-bus.h"
5 
6 #include "logind-user.h"
7 
8 extern const BusObjectImplementation user_object;
9 
10 char *user_bus_path(User *s);
11 
12 int user_send_signal(User *u, bool new_user);
13 int user_send_changed(User *u, const char *properties, ...) _sentinel_;
14 
15 int bus_user_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error);
16 int bus_user_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error);
17