X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind-user.h;h=cffac3544725f87ead21f257bc04f1a73f077fa9;hp=93e5fd934a0ad40ae886c8780aeadac07b4bacc6;hb=0604381b9dbef4cc498b5a77311e1da99c1430b8;hpb=f1a8e221ecacea23883df57951e291a910463948 diff --git a/src/login/logind-user.h b/src/login/logind-user.h index 93e5fd934..cffac3544 100644 --- a/src/login/logind-user.h +++ b/src/login/logind-user.h @@ -30,11 +30,11 @@ typedef struct User User; #include "logind-session.h" typedef enum UserState { - USER_OFFLINE, - USER_LINGERING, - USER_ONLINE, - USER_ACTIVE, - USER_CLOSING, + 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;