summaryrefslogtreecommitdiff
path: root/src/login/logind-user.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 01:10:21 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 01:13:05 +0100
commitcc3773810855956bad92337cee8fa193584ab62e (patch)
treeea8a067a1b879d0ef11bac1dbc99757d8ad7b445 /src/login/logind-user.h
parent6d1bd3b2bbae29dbd3862fdb9af2b472b01c480e (diff)
logind: port logind to libsystemd-bus
Diffstat (limited to 'src/login/logind-user.h')
-rw-r--r--src/login/logind-user.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/login/logind-user.h b/src/login/logind-user.h
index b9171d345..de7ba6d57 100644
--- a/src/login/logind-user.h
+++ b/src/login/logind-user.h
@@ -69,7 +69,7 @@ struct User {
User* user_new(Manager *m, uid_t uid, gid_t gid, const char *name);
void user_free(User *u);
-int user_check_gc(User *u, bool drop_not_started);
+bool user_check_gc(User *u, bool drop_not_started);
void user_add_to_gc_queue(User *u);
int user_start(User *u);
int user_stop(User *u);
@@ -80,12 +80,13 @@ int user_save(User *u);
int user_load(User *u);
int user_kill(User *u, int signo);
+extern const sd_bus_vtable user_vtable[];
+int user_node_enumerator(sd_bus *bus, const char *path, char ***nodes, void *userdata);
+int user_object_find(sd_bus *bus, const char *path, const char *interface, void **found, void *userdata);
char *user_bus_path(User *s);
-extern const DBusObjectPathVTable bus_user_vtable;
-
int user_send_signal(User *u, bool new_user);
-int user_send_changed(User *u, const char *properties);
+int user_send_changed(User *u, const char *properties, ...) _sentinel_;
const char* user_state_to_string(UserState s) _const_;
UserState user_state_from_string(const char *s) _pure_;