summaryrefslogtreecommitdiff
path: root/src/home/homework-fscrypt.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-13 22:24:24 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-16 14:47:57 +0200
commitaa0a6214e23a3f9a2b1938e56565d94552afde04 (patch)
treee6fad23a5233aadfbae22a9122e34d1ff0993b64 /src/home/homework-fscrypt.h
parent22e5118cdaac95644afe8308df542dc2eb603ee2 (diff)
downloadsystemd-aa0a6214e23a3f9a2b1938e56565d94552afde04.tar.gz
homed: rename home_prepare*() → home_setup*()
These set of functions are constructors for an object called HomeSetup, which has a destructor home_setup_undo(), hence to be reasonably symmetric, let's call it home_setup*() too, instead of using a new verb "prepare" for its name. No actual code changes, just some renaming.
Diffstat (limited to 'src/home/homework-fscrypt.h')
-rw-r--r--src/home/homework-fscrypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-fscrypt.h b/src/home/homework-fscrypt.h
index 50b03993e0..becf4650a4 100644
--- a/src/home/homework-fscrypt.h
+++ b/src/home/homework-fscrypt.h
@@ -4,7 +4,7 @@
#include "homework.h"
#include "user-record.h"
-int home_prepare_fscrypt(UserRecord *h, bool already_activated, PasswordCache *cache, HomeSetup *setup);
+int home_setup_fscrypt(UserRecord *h, bool already_activated, PasswordCache *cache, HomeSetup *setup);
int home_create_fscrypt(UserRecord *h, char **effective_passwords, UserRecord **ret_home);
int home_passwd_fscrypt(UserRecord *h, HomeSetup *setup, PasswordCache *cache, char **effective_passwords);