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 */
/* 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;
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);