Lines Matching refs:Session
51 static void session_remove_fifo(Session *s);
53 Session* session_new(Manager *m, const char *id) {
54 Session *s;
60 s = new0(Session, 1);
93 void session_free(Session *s) {
151 void session_set_user(Session *s, User *u) {
159 int session_save(Session *s) {
312 int session_load(Session *s) {
471 int session_activate(Session *s) {
508 static int session_start_scope(Session *s) {
523 description = strjoina("Session ", s->id, " of user ", s->user->name, NULL);
554 int session_start(Session *s) {
611 static int session_stop_scope(Session *s, bool force) {
641 int session_stop(Session *s, bool force) {
670 int session_finalize(Session *s) {
720 Session *s = userdata;
729 int session_release(Session *s) {
745 bool session_is_active(Session *s) {
791 int session_get_idle_hint(Session *s, dual_timestamp *t) {
844 void session_set_idle_hint(Session *s, bool b) {
863 Session *s = userdata;
876 int session_create_fifo(Session *s) {
920 static void session_remove_fifo(Session *s) {
932 bool session_check_gc(Session *s, bool drop_not_started) {
955 void session_add_to_gc_queue(Session *s) {
965 SessionState session_get_state(Session *s) {
981 int session_kill(Session *s, KillWho who, int signo) {
990 static int session_open_vt(Session *s) {
1007 int session_prepare_vt(Session *s) {
1063 void session_restore_vt(Session *s) {
1102 void session_leave_vt(Session *s) {
1127 bool session_is_controller(Session *s, const char *sender) {
1133 static void session_release_controller(Session *s, bool notify) {
1156 Session *s = userdata;
1166 int session_set_controller(Session *s, const char *sender, bool force) {
1213 void session_drop_controller(Session *s) {