summaryrefslogtreecommitdiffstats
path: root/src/home/homework-luks.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-luks.h
parentpo: add a false positive to POTFILES.skip (diff)
downloadsystemd-aa0a6214e23a3f9a2b1938e56565d94552afde04.tar.xz
systemd-aa0a6214e23a3f9a2b1938e56565d94552afde04.zip
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-luks.h')
-rw-r--r--src/home/homework-luks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework-luks.h b/src/home/homework-luks.h
index eac8f0761b..770aa552e0 100644
--- a/src/home/homework-luks.h
+++ b/src/home/homework-luks.h
@@ -5,7 +5,7 @@
#include "homework.h"
#include "user-record.h"
-int home_prepare_luks(UserRecord *h, bool already_activated, const char *force_image_path, PasswordCache *cache, HomeSetup *setup, UserRecord **ret_luks_home);
+int home_setup_luks(UserRecord *h, bool already_activated, const char *force_image_path, PasswordCache *cache, HomeSetup *setup, UserRecord **ret_luks_home);
int home_activate_luks(UserRecord *h, PasswordCache *cache, UserRecord **ret_home);
int home_deactivate_luks(UserRecord *h);