X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind-session.h;h=2024468333722667924b8c549cf9ca347ba42e25;hp=dffe5a9aa18d19d5ace6d4c1def7d29206fac3a2;hb=e19b8719a54c343372e16b462c27f1e84c987b85;hpb=77435fa5410006a32e176f128871cc402754e4e0 diff --git a/src/login/logind-session.h b/src/login/logind-session.h index dffe5a9aa..202446833 100644 --- a/src/login/logind-session.h +++ b/src/login/logind-session.h @@ -26,7 +26,7 @@ typedef enum KillWho KillWho; #include "list.h" #include "logind-user.h" -#include "login-shared.h" +#include "login-util.h" typedef enum SessionState { SESSION_OPENING, /* Session scope is being created */ @@ -89,8 +89,12 @@ struct Session { char *service; char *desktop; - /* Always NULL. */ + /* always NULL */ char *scope; +/// UNNEEDED (and unsupported) by elogind +#if 0 + char *scope_job; +#endif // 0 Seat *seat; unsigned int vtnr; @@ -117,6 +121,7 @@ struct Session { char *controller; Hashmap *devices; + sd_bus_track *track; LIST_FIELDS(Session, sessions_by_user); LIST_FIELDS(Session, sessions_by_seat);