diff options
Diffstat (limited to 'src/login/logind-session.h')
-rw-r--r-- | src/login/logind-session.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/login/logind-session.h b/src/login/logind-session.h index f7a9dbc249..aab39b72e3 100644 --- a/src/login/logind-session.h +++ b/src/login/logind-session.h @@ -89,8 +89,10 @@ struct Session { char *scope; char *scope_job; - int vtnr; Seat *seat; + int vtnr; + int vtfd; + sd_event_source *vt_source; pid_t leader; uint32_t audit_id; @@ -162,6 +164,9 @@ SessionClass session_class_from_string(const char *s) _pure_; const char *kill_who_to_string(KillWho k) _const_; KillWho kill_who_from_string(const char *s) _pure_; +void session_mute_vt(Session *s); +void session_restore_vt(Session *s); + bool session_is_controller(Session *s, const char *sender); int session_set_controller(Session *s, const char *sender, bool force); void session_drop_controller(Session *s); |