Lines Matching defs:Session

22 typedef struct Session Session;
30 SESSION_OPENING, /* Session scope is being created */
67 struct Session {
120 LIST_FIELDS(Session, sessions_by_user);
121 LIST_FIELDS(Session, sessions_by_seat);
123 LIST_FIELDS(Session, gc_queue);
126 Session *session_new(Manager *m, const char *id);
127 void session_free(Session *s);
128 void session_set_user(Session *s, User *u);
129 bool session_check_gc(Session *s, bool drop_not_started);
130 void session_add_to_gc_queue(Session *s);
131 int session_activate(Session *s);
132 bool session_is_active(Session *s);
133 int session_get_idle_hint(Session *s, dual_timestamp *t);
134 void session_set_idle_hint(Session *s, bool b);
135 int session_create_fifo(Session *s);
136 int session_start(Session *s);
137 int session_stop(Session *s, bool force);
138 int session_finalize(Session *s);
139 int session_release(Session *s);
140 int session_save(Session *s);
141 int session_load(Session *s);
142 int session_kill(Session *s, KillWho who, int signo);
144 SessionState session_get_state(Session *u);
149 char *session_bus_path(Session *s);
151 int session_send_signal(Session *s, bool new_session);
152 int session_send_changed(Session *s, const char *properties, ...) _sentinel_;
153 int session_send_lock(Session *s, bool lock);
156 int session_send_create_reply(Session *s, sd_bus_error *error);
170 int session_prepare_vt(Session *s);
171 void session_restore_vt(Session *s);
172 void session_leave_vt(Session *s);
174 bool session_is_controller(Session *s, const char *sender);
175 int session_set_controller(Session *s, const char *sender, bool force);
176 void session_drop_controller(Session *s);