X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-user.h;h=cffac3544725f87ead21f257bc04f1a73f077fa9;hb=461b1822321d6be0d7fd8be29bf3b4993ebd1b85;hp=78249ac6478a1a728239a9f25c115c2667dbfdaf;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/login/logind-user.h b/src/login/logind-user.h index 78249ac64..cffac3544 100644 --- a/src/login/logind-user.h +++ b/src/login/logind-user.h @@ -30,10 +30,11 @@ typedef struct User User; #include "logind-session.h" typedef enum UserState { - USER_OFFLINE, - USER_LINGERING, - USER_ONLINE, - USER_ACTIVE, + USER_OFFLINE, /* Not logged in at all */ + USER_LINGERING, /* Lingering has been enabled by the admin for this user */ + USER_ONLINE, /* User logged in */ + USER_ACTIVE, /* User logged in and has a session in the fg */ + USER_CLOSING, /* User logged out, but processes still remain and lingering is not enabled */ _USER_STATE_MAX, _USER_STATE_INVALID = -1 } UserState;