X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-user.h;h=f237d2a6b97f7e3c5d768278286ce2b88ef23e55;hb=22fdeadcc06e95fe41ac4de872ec245c0887547f;hp=8d5f119e66f6c198a6f7d7b4abdfb675c01f2594;hpb=f00c31213a2e521680c2381ef231f05e30c874a7;p=elogind.git diff --git a/src/login/logind-user.h b/src/login/logind-user.h index 8d5f119e6..f237d2a6b 100644 --- a/src/login/logind-user.h +++ b/src/login/logind-user.h @@ -61,7 +61,7 @@ struct User { bool in_gc_queue:1; bool started:1; - bool closing:1; + bool stopping:1; LIST_HEAD(Session, sessions); LIST_FIELDS(User, gc_queue); @@ -72,7 +72,7 @@ void user_free(User *u); bool user_check_gc(User *u, bool drop_not_started); void user_add_to_gc_queue(User *u); int user_start(User *u); -int user_stop(User *u); +int user_stop(User *u, bool force); int user_finalize(User *u); UserState user_get_state(User *u); int user_get_idle_hint(User *u, dual_timestamp *t);