Lines Matching refs:User
22 typedef struct User User;
31 USER_ONLINE, /* User logged in */
32 USER_ACTIVE, /* User logged in and has a session in the fg */
33 USER_CLOSING, /* User logged out, but processes still remain and lingering is not enabled */
38 struct User {
60 LIST_FIELDS(User, gc_queue);
63 int user_new(User **out, Manager *m, uid_t uid, gid_t gid, const char *name);
64 User *user_free(User *u);
66 DEFINE_TRIVIAL_CLEANUP_FUNC(User *, user_free);
68 bool user_check_gc(User *u, bool drop_not_started);
69 void user_add_to_gc_queue(User *u);
70 int user_start(User *u);
71 int user_stop(User *u, bool force);
72 int user_finalize(User *u);
73 UserState user_get_state(User *u);
74 int user_get_idle_hint(User *u, dual_timestamp *t);
75 int user_save(User *u);
76 int user_load(User *u);
77 int user_kill(User *u, int signo);
78 int user_check_linger_file(User *u);
79 void user_elect_display(User *u);
84 char *user_bus_path(User *s);
86 int user_send_signal(User *u, bool new_user);
87 int user_send_changed(User *u, const char *properties, ...) _sentinel_;