summaryrefslogtreecommitdiffstats
path: root/src/home/homework.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/homework.h')
-rw-r--r--src/home/homework.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/home/homework.h b/src/home/homework.h
index 1fa5a1e37a..08d97b8261 100644
--- a/src/home/homework.h
+++ b/src/home/homework.h
@@ -37,6 +37,8 @@ typedef struct HomeSetup {
uint64_t partition_offset;
uint64_t partition_size;
+
+ char *mount_suffix; /* The directory to use as home dir is this path below /run/systemd/user-home-mount */
} HomeSetup;
typedef struct PasswordCache {
@@ -66,6 +68,9 @@ static inline bool password_cache_contains(const PasswordCache *cache, const cha
/* Various flags for the operation of setting up a home directory */
typedef enum HomeSetupFlags {
HOME_SETUP_ALREADY_ACTIVATED = 1 << 0, /* Open an already activated home, rather than activate it afresh */
+
+ /* CIFS backend: */
+ HOME_SETUP_CIFS_MKDIR = 1 << 1, /* Create CIFS subdir when missing */
} HomeSetupFlags;
int home_setup_done(HomeSetup *setup);