diff options
Diffstat (limited to 'src/login/logind-user-dbus.h')
-rw-r--r-- | src/login/logind-user-dbus.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/login/logind-user-dbus.h b/src/login/logind-user-dbus.h new file mode 100644 index 0000000..d2f24ce --- /dev/null +++ b/src/login/logind-user-dbus.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +#include "sd-bus.h" + +#include "logind-user.h" + +extern const BusObjectImplementation user_object; + +char *user_bus_path(User *s); + +int user_send_signal(User *u, bool new_user); +int user_send_changed(User *u, const char *properties, ...) _sentinel_; + +int bus_user_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error); +int bus_user_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error); |