X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind-session.h;h=ee931013dd9cbdc01e76779bbe0508c3da8a56d8;hp=f7a9dbc24932c77dff1724e26fc38a7afa8f528c;hb=ec202eae8e84a4c99f054f771cb832046cb8769f;hpb=f00c31213a2e521680c2381ef231f05e30c874a7 diff --git a/src/login/logind-session.h b/src/login/logind-session.h index f7a9dbc24..ee931013d 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; + unsigned int vtnr; + int vtfd; + sd_event_source *vt_source; pid_t leader; uint32_t audit_id; @@ -105,7 +107,6 @@ struct Session { bool in_gc_queue:1; bool started:1; - bool closing:1; sd_bus_message *create_message; @@ -162,6 +163,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);