X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fhome%2Fhomed-home.h;h=97879940df201a8937cbe40e8d22d5ff7421f06c;hb=9796a9fbad5bae4d66bb40d848f6245d1ee327d8;hp=c75b06722c6256cd200dd638c6820491514116fb;hpb=d58f31793a622c5c5db73aabbb5fd0657eca74d0;p=thirdparty%2Fsystemd.git diff --git a/src/home/homed-home.h b/src/home/homed-home.h index c75b06722c6..97879940df2 100644 --- a/src/home/homed-home.h +++ b/src/home/homed-home.h @@ -13,6 +13,7 @@ typedef enum HomeState { HOME_UNFIXATED, /* home exists, but local record does not */ HOME_ABSENT, /* local record exists, but home does not */ HOME_INACTIVE, /* record and home exist, but is not logged in */ + HOME_DIRTY, /* like HOME_INACTIVE, but the home directory wasn't cleanly deactivated */ HOME_FIXATING, /* generating local record from home */ HOME_FIXATING_FOR_ACTIVATION, /* fixating in order to activate soon */ HOME_FIXATING_FOR_ACQUIRE, /* fixating because Acquire() was called */ @@ -100,7 +101,7 @@ struct Home { /* Stores the raw, plaintext passwords, but only for short periods of time */ UserRecord *secret; - /* When we create a home and that fails, we should possibly unregister the record altogether + /* When we create a home area and that fails, we should possibly unregister the record altogether * again, which is remembered in this boolean. */ bool unregister_on_failure; @@ -164,5 +165,7 @@ int home_auto_login(Home *h, char ***ret_seats); int home_set_current_message(Home *h, sd_bus_message *m); +int home_wait_for_worker(Home *h); + const char *home_state_to_string(HomeState state); HomeState home_state_from_string(const char *s);