summaryrefslogtreecommitdiff
path: root/src/home/user-record-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-02 23:11:59 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-25 18:28:44 +0100
commitd357b80d331ebed709b7a9d71e014c319ba5bd79 (patch)
tree8b063226969c9f982f8d7baff2b849c67c8568ae /src/home/user-record-util.h
parent21505c937ce3bcb90aae85366a262462ec8fb6b2 (diff)
downloadsystemd-d357b80d331ebed709b7a9d71e014c319ba5bd79.tar.gz
homed: add automatic grow/shrink ("rebalancing")
Diffstat (limited to 'src/home/user-record-util.h')
-rw-r--r--src/home/user-record-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/home/user-record-util.h b/src/home/user-record-util.h
index 74f4a0eaab..508e2bdb8d 100644
--- a/src/home/user-record-util.h
+++ b/src/home/user-record-util.h
@@ -60,3 +60,6 @@ int user_record_bad_authentication(UserRecord *h);
int user_record_ratelimit(UserRecord *h);
int user_record_is_supported(UserRecord *hr, sd_bus_error *error);
+
+bool user_record_shall_rebalance(UserRecord *h);
+int user_record_set_rebalance_weight(UserRecord *h, uint64_t weight);