]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/home/homed-home.h
homed: add helpers for checking reference status of homes
[thirdparty/systemd.git] / src / home / homed-home.h
index 0f314aad93c9fcf572bb361d5072f99835fe078c..1226c0c6ba4d6105aea5eb1ce318b90f5d73b7fd 100644 (file)
@@ -197,6 +197,8 @@ int home_unregister(Home *h, sd_bus_error *error);
 int home_lock(Home *h, sd_bus_error *error);
 int home_unlock(Home *h, UserRecord *secret, sd_bus_error *error);
 
+bool home_is_referenced(Home *h);
+bool home_shall_suspend(Home *h);
 HomeState home_get_state(Home *h);
 
 int home_get_disk_status(Home *h, uint64_t *ret_disk_size,uint64_t *ret_disk_usage, uint64_t *ret_disk_free, uint64_t *ret_disk_ceiling, uint64_t *ret_disk_floor, statfs_f_type_t *ret_fstype, mode_t *ret_access_mode);